BizTalk RosettaNet 开发笔记

RNIF BAM Tracking Error

解决办法:

503: Service Unavailable

解决办法:IIS 应用程序池运行账户用户名或密码错误,用户名不能是domainusername格式,直接使用username

public initiator terminated on time out to receive a signal for the async action message

解决办法:只安装Certification Authority Web Enrollment

访问CA-web站点,出现500错误
HTTP Error 500.19 – Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
解决办法:Application Pool改为 .NET v2.0

解决办法:重新打开BTARN管理控制台

Error 1 It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. C:Program Files (x86)Microsoft BizTalk 2013 R2 Accelerator for RosettaNetSDKLOBWebApplicationWeb.config
创建 WebApplication 而不是虚拟目录

**"http://localhost:80/BTARNApp/RNIFSend.aspx" Reason: The revocation status is unknown for the certificate used to sign the message. This might be because the certificate authority is offline. **
CA CRL 不能被访问,
解决办法:使用自搭建的证书服务器时禁用CRL检查,需要关闭发送端口CONTOSO.Async,CONTOSO.Sync,接收位置:Async_Http_Receive,Sync_Http_Receive等涉及到整个流程上的接收和发送管道。交易的两台服务器都需要设置

CRL路径查看

Net Information: 0 : [6912] SecureChannel#66166301 - Remote certificate has errors:
DateTime=2017-02-13T01:49:17.6796872Z
System.Net Information: 0 : [6912] SecureChannel#66166301 - Certificate name mismatch.
DateTime=2017-02-13T01:49:17.6796872Z
System.Net Information: 0 : [6912] SecureChannel#66166301 - Remote certificate was verified as invalid by the user.
DateTime=2017-02-13T01:49:17.6796872Z
System.Net Error: 0 : [6912] Exception in HttpWebRequest#17653682:: - The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel..

远程服务器需要使用IIS 服务器证书不能使用CA证书,注意查看远程指是的哪台服务器

**Failed to get an active Trading Partner Agreement between parties **
解决方案:激活agreement

Unable to locate an authorized TPA for this message. Details: PIP Code=3A7, PIP Version=V02.00.00, PIP InstanceId=3A7_Test2, Source Partner=554433221, Dest Partner=112233444, MessageType=Action, MessageSignatureHash=31DECFC0DD5275BA0235C656D2DF7A50CACED2F0.
Responser 的Home Role 错误

Responder Role specified does not match the PIP specification. code specified does not match the PIP specification for Initiator_Service. code specified does not match the PIP specification for Responder_Service.
服务名称写错了,只有Buyer 和Seller

原文地址:https://www.cnblogs.com/cbcye/p/BizTalk-kai-fa-bi-ji.html