[BTS] Exception type: FileNotFoundException
日志名称: Application
来源: XLANG/s
日期: 2012/11/16 10:35:25
事件 ID: 10030
任务类别: 无
级别: 错误
关键字: 经典
用户: 暂缺
计算机: AppTestSrv.AppCenter.xz
描述:
xlang/s engine event log entry: Uncaught exception (see the 'inner exception' below) has suspended an instance of service 'CCD.SAP.Synchronization.CostCenter.Process(6591b13a-55fb-bed2-9878-65b1fa910136)'.
The service instance will remain suspended until administratively resumed or terminated.
If resumed the instance will continue from its last persisted state and may re-throw the same unexpected exception.
InstanceId: f506c6fa-755d-4577-9ce4-0a492bcfbdfc
Shape name: Construct Insert Request
ShapeId: 97b588de-7a39-481d-9792-e08bd262159e
Exception thrown from: segment 2, progress 28
Inner exception: Error encountered while executing the transform CCD.SAP.Synchronization.CostCenter.X_GetDetailResponse_2_InsertCostCenterTempRequest. Error:Unable to create the transform..
Exception type: XTransformationFailureException
Source: Microsoft.XLANGs.Engine
Target Site: Void ApplyTransform(System.Type, System.Object[], System.Object[])
The following is a stack trace that identifies the location where the exception occured
在 Microsoft.XLANGs.Core.Service.ApplyTransform(Type mapRef, Object[] outParams, Object[] inParams)
在 CCD.SAP.Synchronization.CostCenter.Process.segment2(StopConditions stopOn)
在 Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s, StopConditions stopCond, Exception& exp)
Additional error information:
未能加载文件或程序集“CCD.SAP.Utility, Version=1.0.3920.33798, Culture=neutral, PublicKeyToken=484fdc2044ba3012”或它的某一个依赖项。系统找不到指定的文件。
Exception type: FileNotFoundException
Source: mscorlib
Target Site: System.Reflection.RuntimeAssembly _nLoad(System.Reflection.AssemblyName, System.String, System.Security.Policy.Evidence, System.Reflection.RuntimeAssembly, System.Threading.StackCrawlMark ByRef, Boolean, Boolean, Boolean)
The following is a stack trace that identifies the location where the exception occured
在 System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
在 System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
在 System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection, Boolean suppressSecurityChecks)
在 System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
在 System.Reflection.Assembly.Load(String assemblyString)
在 Microsoft.XLANGs.BaseTypes.TransformBase.get_TransformArgs()
在 Microsoft.XLANGs.RuntimeTypes.TransformMetaData..ctor(Type transformBaseType)
在 Microsoft.XLANGs.RuntimeTypes.TransformMetaData._creator(Type t)
在 Microsoft.XLANGs.RuntimeTypes.MetadataCache._slowFor(Type t)
在 Microsoft.XLANGs.RuntimeTypes.MetadataCache.For(Type t)
在 Microsoft.XLANGs.RuntimeTypes.TransformMetaData.For(Type t)
在 Microsoft.XLANGs.Core.Service.ApplyTransform(Type mapRef, Object[] outParams, Object[] inParams)
事件 Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="XLANG/s" />
<EventID Qualifiers="0">10030</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2012-11-16T02:35:25.000000000Z" />
<EventRecordID>56839</EventRecordID>
<Channel>Application</Channel>
<Computer>AppTestSrv.AppCenter.xz</Computer>
<Security />
</System>
<EventData>
<Data>xlang/s engine event log entry: Uncaught exception (see the 'inner exception' below) has suspended an instance of service 'CCD.SAP.Synchronization.CostCenter.Process(6591b13a-55fb-bed2-9878-65b1fa910136)'.
The service instance will remain suspended until administratively resumed or terminated.
If resumed the instance will continue from its last persisted state and may re-throw the same unexpected exception.
InstanceId: f506c6fa-755d-4577-9ce4-0a492bcfbdfc
Shape name: Construct Insert Request
ShapeId: 97b588de-7a39-481d-9792-e08bd262159e
Exception thrown from: segment 2, progress 28
Inner exception: Error encountered while executing the transform CCD.SAP.Synchronization.CostCenter.X_GetDetailResponse_2_InsertCostCenterTempRequest. Error:Unable to create the transform..
Exception type: XTransformationFailureException
Source: Microsoft.XLANGs.Engine
Target Site: Void ApplyTransform(System.Type, System.Object[], System.Object[])
The following is a stack trace that identifies the location where the exception occured
在 Microsoft.XLANGs.Core.Service.ApplyTransform(Type mapRef, Object[] outParams, Object[] inParams)
在 CCD.SAP.Synchronization.CostCenter.Process.segment2(StopConditions stopOn)
在 Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s, StopConditions stopCond, Exception& exp)
Additional error information:
未能加载文件或程序集“CCD.SAP.Utility, Version=1.0.3920.33798, Culture=neutral, PublicKeyToken=484fdc2044ba3012”或它的某一个依赖项。系统找不到指定的文件。
Exception type: FileNotFoundException
Source: mscorlib
Target Site: System.Reflection.RuntimeAssembly _nLoad(System.Reflection.AssemblyName, System.String, System.Security.Policy.Evidence, System.Reflection.RuntimeAssembly, System.Threading.StackCrawlMark ByRef, Boolean, Boolean, Boolean)
The following is a stack trace that identifies the location where the exception occured
在 System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
在 System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
在 System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection, Boolean suppressSecurityChecks)
在 System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
在 System.Reflection.Assembly.Load(String assemblyString)
在 Microsoft.XLANGs.BaseTypes.TransformBase.get_TransformArgs()
在 Microsoft.XLANGs.RuntimeTypes.TransformMetaData..ctor(Type transformBaseType)
在 Microsoft.XLANGs.RuntimeTypes.TransformMetaData._creator(Type t)
在 Microsoft.XLANGs.RuntimeTypes.MetadataCache._slowFor(Type t)
在 Microsoft.XLANGs.RuntimeTypes.MetadataCache.For(Type t)
在 Microsoft.XLANGs.RuntimeTypes.TransformMetaData.For(Type t)
在 Microsoft.XLANGs.Core.Service.ApplyTransform(Type mapRef, Object[] outParams, Object[] inParams)
</Data>
</EventData>
</Event>
Reason: It's really the dll is mission. Becase BizTalk will use the newest version dll in GAC.
Solution: 1.Redeploy the dll to GAC or add resources in BizTalk. 2.Restart the host instance. 3. Done