Re: BizTalk Server 2006 System.XML Error
- From: brent.cunningham@xxxxxxxxx
- Date: Wed, 22 Aug 2007 21:02:53 -0000
Thanks for your help but I ended up finding the issue. I discovered
that a Microsoft .NET 2.0 Framework update, http://support.microsoft.com/kb/928365,
was causing the issue. Upon removing the update, BizTalk ran again
with no problems. Thanks again.
On Aug 22, 9:44 am, brent.cunning...@xxxxxxxxx wrote:
On Aug 22, 6:03 am, "jeremy"<jboko...@xxxxxxxxxxx> wrote:
Hello-
I am randomly receiving this error when importing and attempting to
start an exported BizTalk MSI file. I have imported the MSI file in a
replicated environment with no problem. However, in this one
particular instance I am receiving the following error. Has anyone
come across it?
FileLoadException exception occurred while the XLANG/s runtime
enlisted a service.
Error message:Could not load file or assembly 'System.Xml\, Version
\=1.0.5000.0\, Culture\=neutral\, PublicKeyToken\=null\, PublicKeyToken
\=null' or one of its dependencies. The given assembly name or
codebase was invalid. (Exception from HRESULT: 0x80131047)
Call stack: at System.Reflection.AssemblyName.nInit(Assembly&
assembly, Boolean forIntrospection, Boolean raiseResolveEvent)
at System.Reflection.Assembly.InternalLoad(String assemblyString,
Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean
forIntrospection)
at System.Reflection.Assembly.ReflectionOnlyLoad(String
assemblyString)
at
Microsoft.BizTalk.XLANGs.BTXEngine.BTXServiceStaticState._loadReferencedAssemblies(Hashtable
h, String asmName, IAssemblyManager asmMgr, IAssemblyCache ac,
Delegate satAssemblyCacheCallback)
at
Microsoft.BizTalk.XLANGs.BTXEngine.BTXServiceStaticState._loadReferencedAssemblies(Hashtable
h, String asmName, IAssemblyManager asmMgr, IAssemblyCache ac,
Delegate satAssemblyCacheCallback)
at
Microsoft.BizTalk.XLANGs.BTXEngine.BTXServiceStaticState._loadReferencedAssemblies(Hashtable
h, String asmName, IAssemblyManager asmMgr, IAssemblyCache ac,
Delegate satAssemblyCacheCallback)
at
Microsoft.BizTalk.XLANGs.BTXEngine.BTXServiceStaticState._loadReferencedAssemblies(Hashtable
h, String asmName, IAssemblyManager asmMgr, IAssemblyCache ac,
Delegate satAssemblyCacheCallback)
at
Microsoft.BizTalk.XLANGs.BTXEngine.BTXServiceStaticState.PersistState(String
mgmtDBServer, String mgmtDBName, String MsgBoxGroupName, String
ApplicationName, String serviceAssembly, String serviceTypeName,
Guid[] PortIDs, Guid[] LrpIDs, Delegate satAssemblyCacheCallback,
ITransaction transaction)
at Microsoft.BizTalk.XLANGs.BTXEngine.BTXService.GoLive(String
configDBServer, String configDBName, String msgBoxGroupName, String
applicationName, String servicePath, String serviceTypeName, Guid[]
portIDs, Guid[] lrpIDs, Delegate satAssemblyCacheCallback,
ITransaction transaction)
Exception type: BTXEnlistmentException
Additional error information:
Could not load file or assembly 'System.Xml\, Version
\=1.0.5000.0\, Culture\=neutral\, PublicKeyToken\=null\, PublicKeyToken
\=null' or one of its dependencies. The given assembly name or
codebase was invalid. (Exception from HRESULT: 0x80131047)
Exception type: FileLoadException
Source: mscorlib
Target Site: Int32 nInit(System.Reflection.Assembly ByRef, Boolean,
Boolean)
The following is a stack trace that identifies the location where the
exception occured
at System.Reflection.AssemblyName.nInit(Assembly& assembly, Boolean
forIntrospection, Boolean raiseResolveEvent)
at System.Reflection.Assembly.InternalLoad(String assemblyString,
Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean
forIntrospection)
at System.Reflection.Assembly.ReflectionOnlyLoad(String
assemblyString)
at
Microsoft.BizTalk.XLANGs.BTXEngine.BTXServiceStaticState._loadReferencedAssemblies(Hashtable
h, String asmName, IAssemblyManager asmMgr, IAssemblyCache ac,
Delegate satAssemblyCacheCallback)
at
Microsoft.BizTalk.XLANGs.BTXEngine.BTXServiceStaticState._loadReferencedAssemblies(Hashtable
h, String asmName, IAssemblyManager asmMgr, IAssemblyCache ac,
Delegate satAssemblyCacheCallback)
at
Microsoft.BizTalk.XLANGs.BTXEngine.BTXServiceStaticState._loadReferencedAssemblies(Hashtable
h, String asmName, IAssemblyManager asmMgr, IAssemblyCache ac,
Delegate satAssemblyCacheCallback)
at
Microsoft.BizTalk.XLANGs.BTXEngine.BTXServiceStaticState._loadReferencedAssemblies(Hashtable
h, String asmName, IAssemblyManager asmMgr, IAssemblyCache ac,
Delegate satAssemblyCacheCallback)
at
Microsoft.BizTalk.XLANGs.BTXEngine.BTXServiceStaticState.PersistState(String
mgmtDBServer, String mgmtDBName, String MsgBoxGroupName, String
ApplicationName, String serviceAssembly, String serviceTypeName,
Guid[] PortIDs, Guid[] LrpIDs, Delegate satAssemblyCacheCallback,
ITransaction transaction)
at Microsoft.BizTalk.XLANGs.BTXEngine.BTXService.GoLive(String
configDBServer, String configDBName, String msgBoxGroupName, String
applicationName, String servicePath, String serviceTypeName, Guid[]
portIDs, Guid[] lrpIDs, Delegate satAssemblyCacheCallback,
ITransaction transaction)
i think your assembly is wrong.
the publicKeyToken appears to be null:
"
Error message:Could not load file or assembly 'System.Xml\, Version
\=1.0.5000.0\, Culture\=neutral\, PublicKeyToken\=null\, PublicKeyToken
\=null' or one of its dependencies. The given assembly name or
codebase was invalid. (Exception from HRESULT: 0x80131047)
"
the publicKeytoken for this assembly is supposed to be "b77a5c561934e089".
try to get the assembly from someone else, re-GAC it and try again.
BizTalk Utilities - Frustration free BizTalk Adaptershttp://www.topxml.com/biztalkutilities
I tried to re-add the assembly to the cache, this still did not solve
my issue. It appears the error is being thrown from within the
Orchestration.dll file. I've gone through a reflector and viewed
every instance of System.XML and they all are properly configured.
Any other ideas would be greatly appreciated.
.
- References:
- BizTalk Server 2006 System.XML Error
- From: brent . cunningham
- RE: BizTalk Server 2006 System.XML Error
- From: jeremy
- Re: BizTalk Server 2006 System.XML Error
- From: brent . cunningham
- BizTalk Server 2006 System.XML Error
- Prev by Date: Re: Execute pipeline in BizTalk Custom Adapter
- Next by Date: Re: Execute pipeline in BizTalk Custom Adapter
- Previous by thread: Re: BizTalk Server 2006 System.XML Error
- Next by thread: Execute pipeline in BizTalk Custom Adapter
- Index(es):
Relevant Pages
|