BTS2010 BTSHttpReceive.dll Error 500

Hello,

I'm in the problem for two days now. Couldn't find anything useful on the web.

I have a BTS 2010 installed on a Windows Server 2008 R2 x64. I've set a Receive Location to HTTP and set up an IIS Application pointing to C:\Program Files (x86)\Microsoft BizTalk Server 2010\HttpReceive64

I'm getting a HTTP 500 Error each time. The App Pool used is BAMAppPool which is under Administrator privilege. IIS Handler Mappings is keyed for BTSHttpReceive.dll. 

BTS Receive Location is enabled and I'm getting the following error in the application logs:

The Messaging Engine failed to register the adapter for "HTTP" for the receive location "/HTTPInterface/BTSHTTPReceive.dll". Please verify that the receive location exists, and that the isolated adapter runs under an account that has access to the BizTalk databases.

 

The BizTalk HTTP receive adapter failed to initialize itself. Possible reasons:

 1) Receive location URL is not created/configured correctly.

 2) Receive location is not enabled.

 3) HTTP receive adapter is not running under a user that has access to management and message databases.

 4) Isolated host instance is not created for HTTP Receive adapter.

 

 

I have enabled Tracing in IIS, but can't see anything useful. Please see below for summary:

 

No.↓     Severity    Event    Module Name    

143. view trace Warning -MODULE_SET_RESPONSE_ERROR_STATUS 

ModuleName IsapiModule 

Notification 128 

HttpStatus 500 

HttpReason Internal Server Error 

HttpSubStatus 0 

ErrorCode 0 

ConfigExceptionInfo  

Notification EXECUTE_REQUEST_HANDLER 

ErrorCode The operation completed successfully. (0x0) 

 IsapiModule 

Kindly advise. I'm running out of ideas. Thanks in advance. Joe

July 13th, 2011 9:28am

Hi Joe,

Have you set all needed permissions as described in this post http://social.msdn.microsoft.com/Forums/en/biztalkr2adapters/thread/20ea5954-4ca8-40ca-b043-2e6c3d3ae105

 

Free Windows Admin Tool Kit Click here and download it now
July 13th, 2011 10:20am

Thanks Chris.

I'm using IIS 7

1.  AppPool is running under Administrator. So it has privilege.

2. BTSHTTPReceive.dll is in ISAPI and CGI Restrictions allowed list.

3. Permissions are set according to your link. But I'm still getting HTTP Error 500.

I'm using Windows 2008 R2 SP1 x64. Would SP1 cause any issue ?

 

July 13th, 2011 10:42am

Which BTSHTTPReceive.DLL are you using the one in HTTPReceive or HTTPReceive64?

Is the app pool set to run in 32 bit or 64 bit mode?  Look under the advanced setting for the app pool, is enable 32-bit applications set to true or false?

What type of data are you posting xml or flatfile? What pipeline is setup on the receive location?

Free Windows Admin Tool Kit Click here and download it now
July 13th, 2011 10:51am

See this post on how to use HttpReceive on 64-bit machine with IIS 7.0 and make sure you are following all the steps as mentioned.
July 13th, 2011 12:15pm

Hi Joe,

Try HTTP Sample from MSDN as guidance. You can find on BizTalk installation on your machine (<install folder>:\Program Files(x86)\BizTalk Server 2010\SDK\Samples\AdapterUsage\HTTPRequestResponse or HTTPSolicitResponse. I have written post about how set up this in x64 environment

HTH

Regards,

Steef-Jan Wiggers
MVP & MCTS BizTalk Server 2010
http://soa-thoughts.blogspot.com/
If this answers your question please mark it accor

Free Windows Admin Tool Kit Click here and download it now
July 13th, 2011 1:19pm

Make sure to run your application pool ( BAMAppPool ) as the identity account that your application is set to run as in BizTalk, running it as Administrator might seem like a short term debug, approach but it will cause you more problems down the road.

July 13th, 2011 9:17pm

This post helped me to resolve this issue. I have set the Enable 32bit for both BTARNAppPool & BTARNHttpReceiveAppPool  Application pools and the Message was sent successfully without any errors. I could see two messages generated in the MessagesToLOB table with MessageCategory values of AsyncAckSignal (25) and AsyncAction (10).

Thanks a bunch!

Free Windows Admin Tool Kit Click here and download it now
June 26th, 2013 10:47pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics