询问者
请问 BTSHTTPReceive.dll 返回500内部错误怎么处理

问题
-
按照教程4向http://localhost/HTTPReceive/BTSHTTPReceive.dll?Order post 一个xml文件,这时就会返回“HTTP 500 - 内部服务器错误 ” 这个BTSHTTPReceive.dll应该是个通用接口,请问如何测试这个接口已经处于工作状态?post什么样的xml文件能够得到非错误的返回信息?
全部回复
-
这个是IIS里HTTPReceive没有配置好...请参考如下步骤配置:
1. Click Start, point to Settings, and then click Control Panel.
2. In Control Panel, double-click Administrative Tools.
3. In Administrative Tools, double-click Internet Information Services.
4. In Internet Information Services (IIS) Manager, right-click Web Service Extensions, and then click Add a new Web service extension.
5. In the New Web Service Extension dialog box, do the following.
Use this
To do this
Extension Name
Type the name of the new Web service extension.
Required files
Click Add, and then click Browse. Browse to the <drive>:\Program Files\Microsoft BizTalk Server 2006\HttpReceive directory (or <drive>:\Program Files (x86)\Microsoft BizTalk Server 2006\HttpReceive64 directory on 64 bit machines), select BTSHTTPReceive.dll, click Open, and then click OK.
Note
If you receive an error stating that the file is already required by HWSMessages HTTPReceive, you can cancel this operation because the HTTP receive adapter already exists and was created for Human Workflow Services.
Set extension status to Allowed
Select this check box.
6. Click OK.
7. Right-click Application Pools, point to New, and then click Application pool.
8. In the Add New Application Pool dialog box, in the Application pool ID box, type a name for the application pool, and then click OK.
The new application pool appears in the list of Application Pools.
9. Right-click the new application pool, and then click Properties.
10. In the <Application Pool name> Properties dialog box, on the Identity tab, do the following.
Use this
To do this
Configurable
Select this property.
User name
Type a user name for the BizTalk Isolated Hosts group and the IIS_WPG group.
This user account must have access to the BizTalk Management database, so do not create the application pool to run under the IWAM_<servername> user account, which is the default.
Note
The BizTalk Management database is also referred to as the BizTalk Configuration database.
Password
Type the password for the user.
11. Click OK.
12. Expand the Web Sites node, right-click the Default Web Site node, point to New, and then click Virtual Directory.
13. In the Virtual Directory Creation Wizard, on the Welcome page, click Next.
14. On the Virtual Directory Alias page, in the Alias box, type the alias to associate with the virtual directory, and then click Next.
15. On the Web Site Content Directory page, click Browse.
16. In the Browse For Folder dialog box, navigate to the <drive>:\Program Files\Microsoft BizTalk Server 2006\HttpReceive directory, click OK, and then click Next.
17. On the Access Permissions page, select Read and Execute, clear all other check boxes, and then click Next.
18. On the Completion page, click Finish to close and complete the wizard.
The new virtual directory appears under the list of Default Web Sites in Internet Information Services (IIS) Manager.
19. Right-click the virtual directory, and then click Properties.
20. In the <Virtual Directory> Properties dialog box, on the Virtual Directory tab, do the following.
Use this
To do this
Execute Permissions
Ensure that the property is set to Scripts and Executables.
Application Pool
Select the new application pool created earlier in this procedure.
21. Click OK.
22. On the File menu, click Exit.
-
我看了一下事件日志,这个日志表示那个接口对我的调用有反应,但是报错误:
事件类型: 错误
事件来源: BizTalk Server 2006
事件种类: BizTalk Server 2006
事件 ID: 5719
日期: 2008-9-19
事件: 22:09:39
用户: N/A
计算机: BBB-32LX6G41KKE
描述:
执行接收管道时出错:“Microsoft.BizTalk.DefaultPipelines.XMLReceive, Microsoft.BizTalk.DefaultPipelines, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35”,源:“参与方解析”,接收端口:“OrderProcessReceivePort”,URI:“/HTTPReceive/BTSHTTPReceive.dll?Order”,原因: 出现验证错误。“无法识别与该入站消息相对应的参与方”。有关更多信息,请参阅在 http://go.microsoft.com/fwlink/events.asp 的帮助和支持中心。
现在不明白什么是“源:‘参与方解析’”,怎么才能让这个解析“识别与该入站消息相对应的参与方”,“参与方”是什么意思?
-
检查过了,没发现什么问题,还是提示:
执行接收管道时出错:“Microsoft.BizTalk.DefaultPipelines.XMLReceive, Microsoft.BizTalk.DefaultPipelines, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35”,源:“参与方解析”,接收端口:“OrderProcessReceivePort”,URI:“/HTTPReceive/BTSHTTPReceive.dll?Order”,原因: 出现验证错误。“无法识别与该入站消息相对应的参与方”。
按照教程,post一个xml文件到:http://localhost/HTTPReceive/BTSHTTPReceive.dll?Order,这个参与方应该在什么地方体现?是在这个xml文件中还是在别的什么地方,这个文件应该没有需要变动的地方,除此之外就没有别的可以标识参与方的地方了吗?