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).

  • 相关阅读:
    php 字符串查找
    php缓存与加速分析与汇总
    oracle 时间问题
    mysql数据迁移
    浅谈千万级PV/IP规模高性能高并发网站架构
    对memcache分布式的一点理解
    美国程序员将工作廉价外包给中国公司遭解雇
    16个Linux服务器监控命令
    在yii中使用memcache
    Windows电脑快捷健大全
  • 原文地址:https://www.cnblogs.com/JasonLiao/p/2535039.html
Copyright © 2011-2022 走看看