【问题标题】:Migration issue from 2010 to 20132010 年至 2013 年的迁移问题
【发布时间】:2015-05-11 18:51:03
【问题描述】:

我们已将应用程序从 BizTalk 2010 迁移到 2013 生产。

我们收到以下错误:

xlang/s engine event log entry: Uncaught exception (see the 'inner exception' below) has suspended an instance of service 'BizTalk.SalesForce.Integration.WebServiceServiceClient(9ee6fc07-8b64-e4cc-a2c5-710767d71ff7)'.
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: 113a84a5-d38b-4502-909e-fd3266e2d7aa
Shape name: ConstructMessage_Quote
ShapeId: 45a05a8d-0fa6-4796-8816-5ce659892091
Exception thrown from: segment 1, progress 6
Inner exception: Could not load file or assembly 'Microsoft.EnterpriseSingleSignOn.Interop, Version=9.0.1000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

Exception type: FileNotFoundException
Source: SalesForce.Integration.Login.Helper
Target Site: System.String GetSession()
The following is a stack trace that identifies the location where the exception occured
 at SalesForce.Integration.Login.Helper.ForceToken.GetSession()
 at SalesForce.Integration.Login.Helper.ForceToken.get_SessionId()
 at BizTalk.SalesForce.Integration.WebServiceServiceClient.segment1(StopConditions stopOn)
 at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s, StopConditions stopCond, Exception& exp)

我尝试检查 GAC,Microsoft.EnterpriseSingleSignOn.Interop 程序集存在。

当我尝试检查 SSOMMNSnapIn.dll.config 文件时,它有

 <runtime>
   <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1" appliesTo="v4.0.30319">
      <dependentAssembly>
         <assemblyIdentity name="Microsoft.EnterpriseSingleSignOn.Interop" publicKeyToken="31bf3856ad364e35" culture="neutral" />
         <bindingRedirect oldVersion="5.0.1.0" newVersion="7.0.2300.0"/>
      </dependentAssembly>
   </assemblyBinding>
 </runtime>

即使将新版本更改为 9.0.1000.0,如下所示仍显示相同的错误。

 <bindingRedirect oldVersion="5.0.1.0" newVersion="9.0.1000.0"/>

我该怎么办?

【问题讨论】:

  • 我没有任何使用 SalesForce 的经验,但是您的 SalesForce 助手类是否与此版本的 BizTalk 不兼容?
  • @PieterVandenheede 谢谢,但如果 SalesForce Helper 类不兼容,我现在应该怎么做

标签: biztalk biztalk-2013


【解决方案1】:

看起来错误很简单

内部异常:无法加载文件或程序集 'Microsoft.EnterpriseSingleSignOn.Interop,版本=9.0.1000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' 或其之一 依赖关系。系统找不到指定的文件。

您是否确认在您的盒子中部署了此程序集的这个版本?

更新:

基于此博客: https://arcscent.wordpress.com/2014/11/12/biztalk-sso-application-configuration-setup-issue/

Biz2013 中的 Microsoft.EnterpriseSingleSignOn.Interop 应该是 7.0.2300.0 Biztalk 2013 R2 附带版本 9.0.1000.0。

您是否有可能在旧盒子中安装了适用于 2013 R2 的 SSO 配置应用程序 MMC,因此它具有较新的版本,但在您的新盒子中,您没有安装它。

【讨论】:

    【解决方案2】:

    尝试启用 Fusion 日志并查看发生故障的位置:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion
    Add:
    DWORD ForceLog set value to 1
    DWORD LogFailures set value to 1
    DWORD LogResourceBinds set value to 1
    String LogPath set value to folder for logs (e.g. C:\FusionLog\)
    

    然后使用融合日志查看器查找错误。

    更多细节:

    【讨论】:

      猜你喜欢
      • 2014-09-25
      • 1970-01-01
      • 1970-01-01
      • 2014-02-12
      • 2013-12-27
      • 2014-01-04
      • 2013-01-02
      • 2013-10-05
      • 1970-01-01
      相关资源
      最近更新 更多