BtsHttpReceive 500 Internal Server Error Biztalk 2004
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server General > BtsHttpReceive 500 Internal Server Error Biztalk 2004




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    BtsHttpReceive 500 Internal Server Error Biztalk 2004  
Neal Walters


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-27-04 11:07 PM

1.  My first question is:  Do the instructions in the latest doc refresh
actually work for how to set up an HTTP/Receive adapter?  I followed the
instructions today with 4 people watching me; and still getting error:

500 Internal Server Error

2.  Application Log shows two errors and one warning:


Event Type:	Error
Event Source:	BizTalk Server 2004
Event Category:	BizTalk Server 2004
Event ID:	5734
Date:		8/26/2004
Time:		1:21:10 PM
User:		N/A
Computer:	TOSHIBA
Description:
The Messaging Engine failed to register the adapter for "BizTalk HTTP
Receiver" for the receive location "/Diamond/BTSHTTPReceive.dll". Please
verify that the receive location is valid, and that the isolated adapter run
s
under an account that has access to the BizTalk databases.


Event Type:	Warning
Event Source:	BizTalk Server 2004
Event Category:	BizTalk Server 2004
Event ID:	5740
Date:		8/26/2004
Time:		1:27:03 PM
User:		N/A
Computer:	TOSHIBA
Description:
The adapter "BizTalk HTTP Receiver" raised an error message. Details
"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. ".

Event Type:	Error
Event Source:	BizTalk Server 2004
Event Category:	BizTalk Server 2004
Event ID:	5734
Date:		8/26/2004
Time:		1:27:03 PM
User:		N/A
Computer:	TOSHIBA
Description:
The Messaging Engine failed to register the adapter for "BizTalk HTTP
Receiver" for the receive location "/Diamond/BTSHTTPReceive.dll". Please
verify that the receive location is valid, and that the isolated adapter run
s
under an account that has access to the BizTalk databases.

3.  I have tried both a one way and two-way port, and yes it is enabled.

4.  We also noted that we were get an IWAM_mycomputername security error
because creating the virtual directory with medium/high security also create
s
a COM-Plus application called IIS-{Default Web Site//Root/Mysite} and t
his
site had a default user of IWAM_mycomputername. We changed this.

4B) for our security, we created a userid called BiztalkHttpReceive and
added it to groups: administrator, Biztalk Server Adminstrator, Biztalk
Isolated Host.  We set IIS and COM+ to all run under this userid.

5.  To test the whole procedure we are running the following VB/Script -
could our bug be here?


set xmlHttp = CreateObject("MSXML2.xmlHttp")
set doc = CreateObject("MSXML2.DOMDocument")

' Validate the document using the MSXML parser.
doc.load (" c:\diamond\samples\Small_EasyPOInstance1
.xml")

If doc.parseError.errorCode Then
' Do something with the error.
Wscript.Echo "Parse Error"
else
WScript.Echo doc.xml
End If

' Post the template.
'on error resume next
xmlHttp.Open "POST", "http://localhost/Diamond/BTSHTTPReceive.dll", False
xmlHttp.setRequestHeader "Content-type", "application/xml"
xmlHttp.send doc.xml

' Retrieve the results.
WScript.Echo " ResponseText=" & xmlHttp.responseText & _
" Status=" & xmlHttp.status & _
" text=" & xmlHttp.statusText




Thanks a million,

Neal Walters
http://Biztalk-Training.com - Free Biztalk Tutorials












[ Post a follow-up to this message ]



    RE: BtsHttpReceive 500 Internal Server Error Biztalk 2004  
Stefan


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-27-04 11:07 PM

I believe you are missing the query string at the end of the URL (like
"http://localhost/Diamond/BTSHTTPReceive.dll?myReceiveLocation") this is
mandatory so you can use multiple receive locations on the same virtual
directory. You need to modify your receive location and the sending program
to include an identical query string.

Cheers

Stefan

P.S.

I always use the WFetch (GUI) or TinyGet (Command Line) utility to test my
BizTalk Applications. They are both part of the IIS 6 resource kit.


"Neal Walters" wrote:

> 1.  My first question is:  Do the instructions in the latest doc refresh
> actually work for how to set up an HTTP/Receive adapter?  I followed the
> instructions today with 4 people watching me; and still getting error:
>
>    500 Internal Server Error
>
> 2.  Application Log shows two errors and one warning:
>
>
> Event Type:	Error
> Event Source:	BizTalk Server 2004
> Event Category:	BizTalk Server 2004
> Event ID:	5734
> Date:		8/26/2004
> Time:		1:21:10 PM
> User:		N/A
> Computer:	TOSHIBA
> Description:
> The Messaging Engine failed to register the adapter for "BizTalk HTTP
> Receiver" for the receive location "/Diamond/BTSHTTPReceive.dll". Please
> verify that the receive location is valid, and that the isolated adapter r
uns
> under an account that has access to the BizTalk databases.
>
>
> Event Type:	Warning
> Event Source:	BizTalk Server 2004
> Event Category:	BizTalk Server 2004
> Event ID:	5740
> Date:		8/26/2004
> Time:		1:27:03 PM
> User:		N/A
> Computer:	TOSHIBA
> Description:
> The adapter "BizTalk HTTP Receiver" raised an error message. Details
> "BizTalk HTTP receive adapter failed to initialize itself. Possible reason
s:
>  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. ".
>
> Event Type:	Error
> Event Source:	BizTalk Server 2004
> Event Category:	BizTalk Server 2004
> Event ID:	5734
> Date:		8/26/2004
> Time:		1:27:03 PM
> User:		N/A
> Computer:	TOSHIBA
> Description:
> The Messaging Engine failed to register the adapter for "BizTalk HTTP
> Receiver" for the receive location "/Diamond/BTSHTTPReceive.dll". Please
> verify that the receive location is valid, and that the isolated adapter r
uns
> under an account that has access to the BizTalk databases.
>
> 3.  I have tried both a one way and two-way port, and yes it is enabled.
>
> 4.  We also noted that we were get an IWAM_mycomputername security error
> because creating the virtual directory with medium/high security also crea
tes
> a COM-Plus application called IIS-{Default Web Site//Root/Mysite} and
 this
> site had a default user of IWAM_mycomputername. We changed this.
>
> 4B) for our security, we created a userid called BiztalkHttpReceive and
> added it to groups: administrator, Biztalk Server Adminstrator, Biztalk
> Isolated Host.  We set IIS and COM+ to all run under this userid.
>
> 5.  To test the whole procedure we are running the following VB/Script -
> could our bug be here?
>
>
> set xmlHttp = CreateObject("MSXML2.xmlHttp")
>   set doc = CreateObject("MSXML2.DOMDocument")
>
>    ' Validate the document using the MSXML parser.
>   doc.load (" c:\diamond\samples\Small_EasyPOInstance1
.xml")
>
>   If doc.parseError.errorCode Then
> ' Do something with the error.
>       Wscript.Echo "Parse Error"
>   else
>       WScript.Echo doc.xml
>   End If
>
>    ' Post the template.
> 'on error resume next
>   xmlHttp.Open "POST", "http://localhost/Diamond/BTSHTTPReceive.dll", Fals
e
>   xmlHttp.setRequestHeader "Content-type", "application/xml"
>   xmlHttp.send doc.xml
>
>    ' Retrieve the results.
>    WScript.Echo " ResponseText=" & xmlHttp.responseText & _
>                 " Status=" & xmlHttp.status & _
>                " text=" & xmlHttp.statusText
>
>
>
>
> Thanks a million,
>
> Neal Walters
> http://Biztalk-Training.com - Free Biztalk Tutorials
>
>
>
>
>
>
>





[ Post a follow-up to this message ]



    Re: BtsHttpReceive 500 Internal Server Error Biztalk 2004  
Andy Morrison


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-27-04 11:07 PM

I had a similar problem earlier this week with this adapter.  I used
Filemon to track down the issue.  In my case I had to give the account
running the host instance for my Http Adapter Read & Execute and Read
rights on the system32\mfc42.dll !!

I'd run Filemon when you send the request in and then look for DENIED
entries related to your host instance account.

One more thing, I think the content type should be text\xml.

Andy
http://www.magenic.com


Neal Walters <NealWalters@discussions.microsoft.com> wrote in message news:<14957325-5D8D-4B
E2-B3EC-7D4855C06872@microsoft.com>...
> 1.  My first question is:  Do the instructions in the latest doc refresh
> actually work for how to set up an HTTP/Receive adapter?  I followed the
> instructions today with 4 people watching me; and still getting error:
>
>    500 Internal Server Error
>
> 2.  Application Log shows two errors and one warning:
>
>
> Event Type:	Error
> Event Source:	BizTalk Server 2004
> Event Category:	BizTalk Server 2004
> Event ID:	5734
> Date:		8/26/2004
> Time:		1:21:10 PM
> User:		N/A
> Computer:	TOSHIBA
> Description:
> The Messaging Engine failed to register the adapter for "BizTalk HTTP
> Receiver" for the receive location "/Diamond/BTSHTTPReceive.dll". Please
> verify that the receive location is valid, and that the isolated adapter r
uns
> under an account that has access to the BizTalk databases.
>
>
> Event Type:	Warning
> Event Source:	BizTalk Server 2004
> Event Category:	BizTalk Server 2004
> Event ID:	5740
> Date:		8/26/2004
> Time:		1:27:03 PM
> User:		N/A
> Computer:	TOSHIBA
> Description:
> The adapter "BizTalk HTTP Receiver" raised an error message. Details
> "BizTalk HTTP receive adapter failed to initialize itself. Possible reason
s:
>  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. ".
>
> Event Type:	Error
> Event Source:	BizTalk Server 2004
> Event Category:	BizTalk Server 2004
> Event ID:	5734
> Date:		8/26/2004
> Time:		1:27:03 PM
> User:		N/A
> Computer:	TOSHIBA
> Description:
> The Messaging Engine failed to register the adapter for "BizTalk HTTP
> Receiver" for the receive location "/Diamond/BTSHTTPReceive.dll". Please
> verify that the receive location is valid, and that the isolated adapter r
uns
> under an account that has access to the BizTalk databases.
>
> 3.  I have tried both a one way and two-way port, and yes it is enabled.
>
> 4.  We also noted that we were get an IWAM_mycomputername security error
> because creating the virtual directory with medium/high security also crea
tes
> a COM-Plus application called IIS-{Default Web Site//Root/Mysite} and
 this
> site had a default user of IWAM_mycomputername. We changed this.
>
> 4B) for our security, we created a userid called BiztalkHttpReceive and
> added it to groups: administrator, Biztalk Server Adminstrator, Biztalk
> Isolated Host.  We set IIS and COM+ to all run under this userid.
>
> 5.  To test the whole procedure we are running the following VB/Script -
> could our bug be here?
>
>
> set xmlHttp = CreateObject("MSXML2.xmlHttp")
>   set doc = CreateObject("MSXML2.DOMDocument")
>
>    ' Validate the document using the MSXML parser.
>   doc.load (" c:\diamond\samples\Small_EasyPOInstance1
.xml")
>
>   If doc.parseError.errorCode Then
> ' Do something with the error.
>       Wscript.Echo "Parse Error"
>   else
>       WScript.Echo doc.xml
>   End If
>
>    ' Post the template.
> 'on error resume next
>   xmlHttp.Open "POST", "http://localhost/Diamond/BTSHTTPReceive.dll", Fals
e
>   xmlHttp.setRequestHeader "Content-type", "application/xml"
>   xmlHttp.send doc.xml
>
>    ' Retrieve the results.
>    WScript.Echo " ResponseText=" & xmlHttp.responseText & _
>                 " Status=" & xmlHttp.status & _
>                " text=" & xmlHttp.statusText
>
>
>
>
> Thanks a million,
>
> Neal Walters
> http://Biztalk-Training.com - Free Biztalk Tutorials





[ Post a follow-up to this message ]



    RE: BtsHttpReceive 500 Internal Server Error Biztalk 2004  
Neal Walters


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-02-04 11:19 PM

FINALLY working.

1) FileMon - very cool utility - but it returned no security errors.

2) Should I be using a one way or two way Receive Port?  Does it matter?

3) My only problem is I'm not 100% sure what I fixed.  I think it was the
following:


I have a one-way port configured as follows:
/Diamond/BTSHTTPReceive.dll?diamondpo1

I think before I had entered the following here:
/locahost/Diamond/BTSHTTPReceive.dll?diamondpo1



I changed my VB/Script (that posts the test xml message) as follows:

xmlHttp.Open "POST",
"http://localhost/Diamond/BTSHTTPReceive.dll?diamondpo1", false

This is one of those cases that there are way too many permutations and not
enough feedback other than 500 server error.

4) BIG QUESTION - Why NOT put the localhost in the URL?  Couldn't you point
the HTTP Receive Location to another server other than the one you are on?

Thanks again,
Neal Walters
http://Biztalk-Training.com






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:35 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register