Click here to Skip to main content
15,881,204 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have added a function named 'UpdateGlobalCommitWithSundialTransactionId(System.String, System.String)' in a project. I call the same function from the Biztalk project. But when running Biztalk I get the following error
 Event Type: ErrorEvent Source: XLANG/sEvent Category: NoneEvent ID: 10034Date: 4/21/2011Time: 8:24:02 PMUser: N/AComputer: ABC-DEV.xyz.comDescription:xlang/s engine event log entry: Uncaught exception (see the 'inner exception' below) has suspended an instance of service 'lmo.Orchestrations.CommitDispatcher(3d0134b5-83b1-1fb7-c6b0-5d6fa4614373)'.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: f1fc7910-cadd-4157-b0bf-7637891f0c18
 Shape name: UpdateGlobalCommitWithSundialIdShapeId: 4e2c55a0-cdfd-46dc-bea5-4ef307c48105
 Exception thrown from: segment 20, progress 2Inner exception: The type initializer for 'lmo.Business.RM.Associator' threw an exception. 
Exception type: TypeInitializationExceptionSource: lmo.BusinessTarget Site: Void UpdateGlobalCommitWithSundialTransactionId(System.String, System.String)The following is a stack trace that identifies the location where the exception occured
 at lmo.Business.RM.Associator.UpdateGlobalCommitWithSundialTransactionId(String sequenceNumber, String transactionId) at lmo.Orchestrations.CommitDispatcher.segment20(StopConditions stopOn) at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s, StopConditions stopCond, Exception& exp)
 Additional error information:
 Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. 
Exception type: ReflectionTypeLoadExceptionSource: mscorlibTarget Site: System.Type[] _GetTypesInternal(System.Threading.StackCrawlMark ByRef)The following is a stack trace that identifies the location where the exception occured
 
at System.Reflection.Module._GetTypesInternal(StackCrawlMark& stackMark) at System.Reflection.Assembly.GetTypes() at System.Data.Metadata.Edm.ObjectItemCollection.AssemblyCacheEntry.LoadTypesFromAssembly(LoadingContext context) at System.Data.Metadata.Edm.ObjectItemCollection.AssemblyCacheEntry.InternalLoadAssemblyFromCache(LoadingContext context) at System.Data.Metadata.Edm.ObjectItemCollection.AssemblyCacheEntry.LoadAssemblyFromCache(Assembly assembly, Boolean loadReferencedAssemblies, Dictionary`2 knownAssemblies, Dictionary`2& typesInLoading, List`1& errors) at System.Data.Metadata.Edm.ObjectItemCollection.LoadAssemblyFromCache(ObjectItemCollection objectItemCollection, Assembly assembly, Boolean loadReferencedAssemblies) at System.Data.Metadata.Edm.ObjectItemCollection.LoadAssemblyForType(Type type) at System.Data.Metadata.Edm.MetadataWorkspace.LoadAssemblyForType(Type type, Assembly callingAssembly) at System.Data.Objects.ObjectContext.CreateQuery[T](String queryString, ObjectParameter[] parameters) at lmo.Business.Entities.RM.RMEntities.get_Party() at lmo.Business.RM.Associator..cctor()
 
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.


I see the following text in the error

Additional error information:
Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

but am unable to find the exact dll which is missing?
Could someone please help me here?
Posted
Updated 21-Apr-11 23:16pm
v2

No. That is waaaay too hideous to read...
 
Share this answer
 
Comments
Sandeep Mewara 22-Apr-11 12:18pm    
Comment from Op:
ok. So the basic problem is that I'm unable to call any method defined in a project from the Biztalk orchestration. (biztalk project). Also there is nothing clear from the error to me as well as it does not specify which file is remaining to be referenced. (its just the Exception type: ReflectionTypeLoadExceptionSource)
OriginalGriff 22-Apr-11 14:24pm    
When it says: "Retrieve the LoaderExceptions property for more information" what more information did it give?
Try debugging your code to narrow down your problem and then post here with some more details - this is too difficult to figure out.
 
Share this answer
 
v2
Comments
Sandeep Mewara 22-Apr-11 12:18pm    
Comment from Op:
ok. So the basic problem is that I'm unable to call any method defined in a project from the Biztalk orchestration. (biztalk project). Also there is nothing clear from the error to me as well as it does not specify which file is remaining to be referenced. (its just the Exception type: ReflectionTypeLoadExceptionSource)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900