zoukankan      html  css  js  c++  java
  • Tips for BizTalk PartyResolution Demo

      When you learn the BizTalk orchestration sample PartyResolution @Microsoft BizTalk Server 2010\SDK\Samples\Orchestrations\PartyResolution. There will be some problem prevent you keep on going, I listed some of the issues I met and hope can help my friends.

      1.There was a failure executing the send pipeline: "Microsoft.Samples.BizTalk.ProjectSchema.MimePartyResSendPipeline, ProjectSchema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=6d43edeb58dfd209" Source: "MIME/SMIME encoder" Send Port: "SP_SendPOToSupplier" URI: "C:\Program Files (x86)\Microsoft BizTalk Server 2010\SDK\Samples\Orchestrations\PartyResolution\FileDrop\PurchaseOrdertoSupplier\PurchaseOrder.xml" Reason: Could not validate the trust chain of the signing certificate. The certificate issuing authority may not be a trusted certificate authority.

      RESOLUTION:

      You have to import the CA into the trusted Root Certification of the computer.

      2.There was a failure executing the send pipeline: "Microsoft.Samples.BizTalk.ProjectSchema.MimePartyResSendPipeline, ProjectSchema, Version=1.0.0.0,     Culture=neutral, PublicKeyToken=6d43edeb58dfd209" Source: "MIME/SMIME encoder" Send Port: "SP_SendPOToSupplier" URI: "C:\Program Files (x86)\Microsoft BizTalk Server 2010\SDK\Samples\Orchestrations\PartyResolution\FileDrop\PurchaseOrdertoSupplier\PurchaseOrder.xml" Reason: The MIME encoder failed to sign the message because the certificate has private key protection turned on or the private key does not exist.

    Please disable private key protection to allow BizTalk to use a certificate for signing.

      RESOLUTION:

      As the error information told, you have to disable the private key protection. delete the private certification you have imported to your personal account certificates. Re-import the .pfx certification with the "Enable strong private key protection." option unselected.

      3.There was a failure executing the send pipeline: "Microsoft.Samples.BizTalk.ProjectSchema.MimePartyResSendPipeline, ProjectSchema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=6d43edeb58dfd209" Source: "MIME/SMIME encoder" Send Port: "SP_SendPOToSupplier" URI: "C:\Program Files (x86)\Microsoft BizTalk Server 2010\SDK\Samples\Orchestrations\PartyResolution\FileDrop\PurchaseOrdertoSupplier\PurchaseOrder.xml" Reason: The revocation status is unknown for the certificate used to sign the message. This might be because the certificate authority is offline.

      RESOLUTION:

      This is mainly because BizTalk server doesn't know the revocation status of the private certificate is unknow. you have to import the latest delta CRL(Certificate Revocation List) into the trusted Root Certification of the computer.

      4.Destination party not found while attempting to send message 'POAckMessage' to (s-1-5-7, OrganizationName).

    Exception type: DestinationPartyNotFoundException Source: Microsoft.XLANGs.BizTalk.Engine Target Site: Void WriteMessageState(Microsoft.BizTalk.Interop.IBTPEPInfoLookup, System.Guid, Microsoft.XLANGs.BaseTypes.XLANGMessage, Microsoft.XLANGs.Core.Segment, System.String, System.String, System.Collections.IList, Boolean, System.Collections.IList)

      CAUSE:The Party Resolution pipeline component resolves the Sender certificate or the security ID (SID) to the correct SourcePartyID. However, the Party Resolution pipeline component marks the OriginatorPID context property of the message as "s-1-5-7". This notation corresponds to Anonymous or Guest.

      This problem occurs if the Authentication Trust mechanism of the pipeline component's BizTalk Server host does not succeed. The Authentication Trust mechanism for a BizTalk Server host cannot succeed if the following conditions is true:
      a) The Server computer are not installed in a Microsoft Active Directory domain environment that is running in Microsoft Windows 2000 native mode or later.
      RESOLUTION:

      For the Authentication Trust mechanism of a BizTalk Server host to work correctly, the following conditions must be true:
      a) The Server computer must be installed in a Microsoft Active Directory domain environment that is running in Microsoft Windows 2000 native mode or later.

      Note:

      If your BTS Server is running as some other account in the AD, you have to import the .pfx certification key into two location:

      a) The current user you logon to the server to operate the BTS administrator console(You can then browse the personal certification key from the Group and the Host property)

      b) The account you BizTalk host instance running with(Be better add the account to the Administrator group of the server, then you can logon use this user and import the .pfx certification into the host instance user's personal folder).

  • 相关阅读:
    promiseall 使用一个ajax就可以调全部数据
    PHP中include和require的区别详解和使用建议
    phpredis中的connect和pconnect的区别
    <a>标签中的href="javascript:;"是什么意思?
    PHP中关于时间,时间戳 时区的设置问题
    javascript 超狠恶毒的禁用 右键 按键 禁用开发者工具 方法
    安装NoSQL数据库类型的redis 和 memcache数据库及其扩展
    XMind思维导图软件
    PHP代码中解决出现中文乱码的问题
    (七)mybatis-plus之generator(ftl模板生成:lombok swagger2 controloer的crud)
  • 原文地址:https://www.cnblogs.com/JasonLiao/p/2535039.html
Copyright © 2011-2022 走看看