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

你可能感兴趣的:(demo)