none
Biztalk2010 -- Orchestration调用DLL出现错误 -- FileNotFoundException exception occurred while the XLANG/s runtime enlisted a service RRS feed

  • 问题

  • 我们准备升级到Biztalk2010,操作系统: Win2008R2 64位,期间在程序测试过程中,发现如下错误。

    DLL已经用C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools\gacutil.exe发布到GAC,

    EDIPDM002_InORDERS_Mapping_BIZ和EDIPDM002_Mapping_DLL都在C:\Windows\Microsoft.NET\assembly\GAC_MSIL。

    请问,该如何解决?

    多谢

    Could not enlist orchestration 'EDIPDM002_InORDERS_Mapping_BIZ.ORC_InORDERS_Mapping,EDIPDM002_InORDERS_Mapping_BIZ, Version=4.0.0.0, Culture=neutral, PublicKeyToken=1d564a4c70507725'. Could not enlist orchestration 'EDIPDM002_InORDERS_Mapping_BIZ.ORC_InORDERS_Mapping,EDIPDM002_InORDERS_Mapping_BIZ, Version=4.0.0.0, Culture=neutral, PublicKeyToken=1d564a4c70507725'. FileNotFoundException exception occurred while the XLANG/s runtime enlisted a service.
    Error message:Could not load file or assembly 'EDIPDM002_Mapping_DLL, Version=4.0.4916.34703, Culture=neutral, PublicKeyToken=1d564a4c70507725' or one of its dependencies. The system cannot find the file specified.
    Call stack:   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
       at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
       at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection, Boolean suppressSecurityChecks)
       at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
       at System.Reflection.Assembly.Load(String assemblyString)
       at Microsoft.BizTalk.XLANGs.BTXEngine.OrchestrationMetadata.LoadReferencedAssembly(String assemblyName, Delegate satAssemblyCacheCallback)
       at Microsoft.BizTalk.XLANGs.BTXEngine.OrchestrationMetadata..ctor(String assemblyName, String orchTypeName, 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.EnlistAppDomainHelper..ctor(String configDBServer, String configDBName, String msgBoxGroupName, String applicationName, String servicePath, String serviceTypeName, Guid[] portIDs, Guid[] lrpIDs, Delegate satAssemblyCacheCallback, ITransaction transaction)
            
    Could not load file or assembly 'EDIPDM002_Mapping_DLL, Version=4.0.4916.34703, Culture=neutral, PublicKeyToken=1d564a4c70507725' or one of its dependencies. The system cannot find the file specified. (Microsoft.BizTalk.ExplorerOM)

    For help, click: http://go.microsoft.com/fwlink/?LinkId=47400&ProdName=Microsoft+BizTalk+Server+2010&ProdVer=3.9.469.0&EvtSrc=Microsoft.BizTalk.ExplorerOM.Resources&EvtID=IDS_ERR_SERVICE_ENLIST

    ------------------------------
    BUTTONS:

    OK
    ------------------------------

    2013年6月21日 1:10

全部回复

    1. 注册GAC后是否重启了主机实例。
    2. 在你部署的Application下,查看Resource节点中是否存在你注册的DLL文件。
    2013年7月17日 9:40