Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Tutorial 4: Internal Server Error while executing SubmitOrder.bat

27 views
Skip to first unread message

Erik

unread,
May 25, 2006, 4:25:01 AM5/25/06
to
Hi,

if I run the SubmitOrder.bat in Tutorial 4->Lesson 4->Step 6 I get an (500)
Intenal Server Error and in the Event Log the following Error is logged:

Ereignistyp: Fehler
Ereignisquelle: BizTalk Server 2006
Ereigniskategorie: BizTalk Server 2006
Ereigniskennung: 5719
Datum: 25.05.2006
Zeit: 10:09:47
Benutzer: Nicht zutreffend
Computer: EXP
Beschreibung:
There was a failure executing the receive pipeline:
"Microsoft.BizTalk.DefaultPipelines.XMLReceive,
Microsoft.BizTalk.DefaultPipelines, Version=3.0.1.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35" Source: "Party resolution" Receive Port:
"OrderProcessReceivePort" URI: "/HTTPReceive/BTSHTTPReceive.dll?Order"
Reason: There was an authentication failure. "The party corresponding to the
inbound message cannot be identified".

Any guess what's the problem?

Adrian Hamza [MSFT]

unread,
May 25, 2006, 2:07:12 PM5/25/06
to
Check that the following are true:
- your Isolated Host (in which the HTTP Receive adapter runs) is Trusted
- you have associated a Windows User with the partner/party. Make sure you
specified a user name like this DOMAINNAME\UserName. If you used BAS and
you created a partner, make sure that the "Windows User" property is marked
as Run-time process property. If you created a party directly in BizTalk
MMC Admin, add an alias (Name, Qualifier, Value) = (WindowsUser,
WindowsUser, DOMAINNAME\UserName)
Make sure that the account is the same as the account that you use when
submitting the messages
- your HTTPReceive virtual folder in IIS Manager has "Integrated Windows
Authentication" enabled. Disabling Anonymous Access (from the same page)
might help
- verify that your receive location pipeline (in the receive location
dialog box) is configured so that Resolve Party ->AllowBySID is set to True

This posting is provided "AS IS" with no warranties, and confers no rights.

Adrian Hamza [MSFT]
http://blogs.msdn.com/ahamza/
My blog on BizTalk 2006
Windows SharePoint Services adapter

--------------------
>>Thread-Topic: Tutorial 4: Internal Server Error while executing
SubmitOrder.bat
>>thread-index: AcZ/1Le935sWl32ISDCq8Lv+qzaP1w==
>>X-WBNR-Posting-Host: 84.167.171.102
>>From: =?Utf-8?B?RXJpaw==?= <Er...@discussions.microsoft.com>
>>Subject: Tutorial 4: Internal Server Error while executing SubmitOrder.bat
>>Date: Thu, 25 May 2006 01:25:01 -0700
>>Lines: 23
>>Message-ID: <E5A60EE3-EAEB-469B...@microsoft.com>
>>MIME-Version: 1.0
>>Content-Type: text/plain;
>> charset="Utf-8"
>>Content-Transfer-Encoding: 7bit
>>X-Newsreader: Microsoft CDO for Windows 2000
>>Content-Class: urn:content-classes:message
>>Importance: normal
>>Priority: normal
>>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
>>Newsgroups: microsoft.public.biztalk.general
>>Path: TK2MSFTNGXA01.phx.gbl
>>Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.biztalk.general:37821
>>NNTP-Posting-Host: TK2MSFTNGXA01.phx.gbl 10.40.2.250
>>X-Tomcat-NG: microsoft.public.biztalk.general

Erik

unread,
May 26, 2006, 3:44:02 AM5/26/06
to
Hi Adrian,

thanks for yor Resposne. Unfortunatly nothing worked I still get an internal
server error. Your last advice (-> verify that your receive location pipeline

(in the receive location dialog box) is configured so that Resolve Party

->AllowBySID is set to True) I could not check. I didn't find an option for
the Party Resolution in the properties dialog of the receive location.
I use Bitalk Server 2006 and the Standarrd Receive Pipeline from Biztalk as
told in the Tutorial.

My server is not in an Domain and I'm runnnig the server with a local user
account. So I user just the user name in the Partner Profile (without a
domain). The rest is configured as you said.
Any other idea?
Is it possible that there are any problems with the 'Isolated Host'. I've
also problems with the Tutorial 3 which uses the 'Isolated Host' as well?
Unfortunatly there are no error messages. The orchestration just
dehydrates....

Erik

Adrian Hamza [MSFT]

unread,
May 26, 2006, 1:25:20 PM5/26/06
to
Try using MACHINENAME\UserName.
In your case the Isolated Host is the host that must be Trusted.
For configuring the receive pipeline, on the receive location configuration
dialog box, to the right of the pipeline selection drop-down box there's a
button "..." that you can push to configure the pipeline.

This posting is provided "AS IS" with no warranties, and confers no rights.

Adrian Hamza [MSFT]
http://blogs.msdn.com/ahamza/
My blog on BizTalk 2006
Windows SharePoint Services adapter

--------------------
>>Thread-Topic: Tutorial 4: Internal Server Error while executing
SubmitOrder.

>>thread-index: AcaAmChOQCRzSSxoQqm2sxnHUrTb3Q==
>>X-WBNR-Posting-Host: 84.167.176.226
>>From: =?Utf-8?B?RXJpaw==?= <Er...@discussions.microsoft.com>
>>References: <E5A60EE3-EAEB-469B...@microsoft.com>
<PzQ7NYCg...@TK2MSFTNGXA01.phx.gbl>
>>Subject: RE: Tutorial 4: Internal Server Error while executing
SubmitOrder.
>>Date: Fri, 26 May 2006 00:44:02 -0700
>>Lines: 99
>>Message-ID: <9D6AFB35-1DBF-43B9...@microsoft.com>


>>MIME-Version: 1.0
>>Content-Type: text/plain;
>> charset="Utf-8"
>>Content-Transfer-Encoding: 7bit
>>X-Newsreader: Microsoft CDO for Windows 2000
>>Content-Class: urn:content-classes:message
>>Importance: normal
>>Priority: normal
>>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
>>Newsgroups: microsoft.public.biztalk.general
>>Path: TK2MSFTNGXA01.phx.gbl

>>Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.biztalk.general:37858

KWEZZIE1

unread,
Jul 17, 2006, 12:38:01 PM7/17/06
to
I am trying to test my biztalk tutorial 4 and I get this error when I run
SubmitOrder.bat:

Post C:\Tutorial\Lessons\BAS\messages\POrderSample.xml...
The remote server returned an error: <500> Internal Server Error.

What could be the problem. I have gone through the tutorials agail and
everything seems to be fine. What am I doing wrong? I really need help.
Thanks.

Adrian Hamza [MSFT]

unread,
Jul 17, 2006, 3:17:54 PM7/17/06
to
Look in the Application Event Log for more detailed error messages. That
should help you/me figure out what the problem is.

This posting is provided "AS IS" with no warranties, and confers no rights.

Adrian Hamza [MSFT]
http://blogs.msdn.com/ahamza/
My blog on BizTalk 2006
Windows SharePoint Services adapter

--------------------
>>Thread-Topic: Tutorial 4: Internal Server Error while executing
SubmitOrder.

>>thread-index: Acapv16yvyzEjvN6TNK5S07XSEU3KQ==
>>X-WBNR-Posting-Host: 213.236.92.250
>>From: =?Utf-8?B?S1dFWlpJRTE=?= <KWEZ...@discussions.microsoft.com>
>>References: <E5A60EE3-EAEB-469B...@microsoft.com>
<PzQ7NYCg...@TK2MSFTNGXA01.phx.gbl>
<9D6AFB35-1DBF-43B9...@microsoft.com>
<#1vPelOg...@TK2MSFTNGXA01.phx.gbl>


>>Subject: RE: Tutorial 4: Internal Server Error while executing
SubmitOrder.

>>Date: Mon, 17 Jul 2006 09:38:01 -0700
>>Lines: 173
>>Message-ID: <65759E25-9DCB-4C9E...@microsoft.com>


>>MIME-Version: 1.0
>>Content-Type: text/plain;
>> charset="Utf-8"
>>Content-Transfer-Encoding: 7bit
>>X-Newsreader: Microsoft CDO for Windows 2000
>>Content-Class: urn:content-classes:message
>>Importance: normal
>>Priority: normal
>>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
>>Newsgroups: microsoft.public.biztalk.general
>>Path: TK2MSFTNGXA01.phx.gbl

>>Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.biztalk.general:39178

KWEZZIE1

unread,
Jul 17, 2006, 3:33:02 PM7/17/06
to
Thanks for getting back to me so quickly. I really do appreciate it. I am
getting 2 different errors in event logs.

a) BizTalk server:

There was a failure executing the receive pipeline:
"Microsoft.BizTalk.DefaultPipelines.XMLReceive,
Microsoft.BizTalk.DefaultPipelines, Version=3.0.1.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35" Source: "Party resolution" Receive Port:
"OrderProcessReceivePort" URI: "/HTTPReceive/BTSHTTPReceive.dll?Order"
Reason: There was an authentication failure. "The party corresponding to the
inbound message cannot be identified".

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.


b) .net Runtime:

The description for Event ID ( 0 ) in Source ( .NET Runtime ) cannot be
found. The local computer may not have the necessary registry information or
message DLL files to display messages from a remote computer. You may be able
to use the /AUXSOURCE= flag to retrieve this description; see Help and
Support for details. The following information is part of the event: Unable
to open shim database version registry key - v2.0.50727.00000.

Hope you can save my LIFE.

Regards.

Adrian Hamza [MSFT]

unread,
Jul 17, 2006, 8:04:31 PM7/17/06
to
Check that the following are true:
- your Isolated Host (in which the HTTP Receive adapter runs) is Trusted
- you have associated a Windows User with the partner/party. Make sure you
specified a user name like this DOMAINNAME\UserName. If you used BAS and
you created a partner, make sure that the "Windows User" property is marked
as Run-time process property. If you created a party directly in BizTalk
MMC Admin, add an alias (Name, Qualifier, Value) = (WindowsUser,
WindowsUser, DOMAINNAME\UserName)
Make sure that the account is the same as the account that you use when
submitting the messages
- your HTTPReceive virtual folder in IIS Manager has "Integrated Windows
Authentication" enabled. Disabling Anonymous Access (from the same page)
might help
- verify that your receive location pipeline (in the receive location
dialog box) is configured so that Resolve Party ->AllowBySID is set to True

This posting is provided "AS IS" with no warranties, and confers no rights.

Adrian Hamza [MSFT]
http://blogs.msdn.com/ahamza/
My blog on BizTalk 2006
Windows SharePoint Services adapter

--------------------
>>Thread-Topic: Tutorial 4: Internal Server Error while executing
SubmitOrder.

>>thread-index: Acap19GQiZb/6eRFR6asrW0A8RQ5Uw==


>>X-WBNR-Posting-Host: 213.236.92.250
>>From: =?Utf-8?B?S1dFWlpJRTE=?= <KWEZ...@discussions.microsoft.com>
>>References: <E5A60EE3-EAEB-469B...@microsoft.com>
<PzQ7NYCg...@TK2MSFTNGXA01.phx.gbl>
<9D6AFB35-1DBF-43B9...@microsoft.com>
<#1vPelOg...@TK2MSFTNGXA01.phx.gbl>

<65759E25-9DCB-4C9E...@microsoft.com>
<ZdWp5Wdq...@TK2MSFTNGXA01.phx.gbl>


>>Subject: RE: Tutorial 4: Internal Server Error while executing
SubmitOrder.

>>Date: Mon, 17 Jul 2006 12:33:02 -0700
>>Lines: 268
>>Message-ID: <877A251D-C9BC-435B...@microsoft.com>


>>MIME-Version: 1.0
>>Content-Type: text/plain;
>> charset="Utf-8"
>>Content-Transfer-Encoding: 7bit
>>X-Newsreader: Microsoft CDO for Windows 2000
>>Content-Class: urn:content-classes:message
>>Importance: normal
>>Priority: normal
>>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
>>Newsgroups: microsoft.public.biztalk.general
>>Path: TK2MSFTNGXA01.phx.gbl

>>Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.biztalk.general:39192

KWEZZIE1

unread,
Jul 18, 2006, 6:37:02 AM7/18/06
to
Thanks a lot for the information. Disabling the anonymous access did the
trick. but now, when I go to to the BAS site and click on inbox in the
partner profile page, there are no messages. Any ideas?

Thanks a lot.

Adrian Hamza [MSFT]

unread,
Jul 18, 2006, 1:22:48 PM7/18/06
to
I wouldn't do that on a production system. Did you submit new messages and
they didn't show up in Inbox? What errors do you get in the Application
Event Log?

This posting is provided "AS IS" with no warranties, and confers no rights.

Adrian Hamza [MSFT]
http://blogs.msdn.com/ahamza/
My blog on BizTalk 2006
Windows SharePoint Services adapter

--------------------
>>Thread-Topic: Tutorial 4: Internal Server Error while executing
SubmitOrder.

>>thread-index: AcaqVhrrkuhR9iSsQnyRXTbi5ELkfA==


>>X-WBNR-Posting-Host: 213.236.92.250
>>From: =?Utf-8?B?S1dFWlpJRTE=?= <KWEZ...@discussions.microsoft.com>
>>References: <E5A60EE3-EAEB-469B...@microsoft.com>
<PzQ7NYCg...@TK2MSFTNGXA01.phx.gbl>
<9D6AFB35-1DBF-43B9...@microsoft.com>
<#1vPelOg...@TK2MSFTNGXA01.phx.gbl>
<65759E25-9DCB-4C9E...@microsoft.com>
<ZdWp5Wdq...@TK2MSFTNGXA01.phx.gbl>

<877A251D-C9BC-435B...@microsoft.com>
<RqBhA3fq...@TK2MSFTNGXA01.phx.gbl>


>>Subject: RE: Tutorial 4: Internal Server Error while executing
SubmitOrder.

>>Date: Tue, 18 Jul 2006 03:37:02 -0700
>>Lines: 308
>>Message-ID: <70519ACC-F283-4B56...@microsoft.com>


>>MIME-Version: 1.0
>>Content-Type: text/plain;
>> charset="Utf-8"
>>Content-Transfer-Encoding: 7bit
>>X-Newsreader: Microsoft CDO for Windows 2000
>>Content-Class: urn:content-classes:message
>>Importance: normal
>>Priority: normal
>>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
>>Newsgroups: microsoft.public.biztalk.general
>>Path: TK2MSFTNGXA01.phx.gbl

>>Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.biztalk.general:39212

KWEZZIE1

unread,
Jul 19, 2006, 5:15:01 AM7/19/06
to
Thanks so much for getting back to me. You are really trying so hard to help
me and I appreciate that a lot.

You stated it will not be advisable to disable anonymous access in a
production environment. Well, supposing this tutorial was a live environment,
what will be the best option?

I get 2 particular errors when it comes to testing the application. There is
no messages sent to the inbox.

a)
Exception from HRESULT: 0xC0C01665

Exception type: COMException
Source: Microsoft.XLANGs.BizTalk.Engine
Target Site: Void PostToSendPort(System.Guid ByRef,
Microsoft.BizTalk.Agent.Interop.IBTMessageBatch,
Microsoft.BizTalk.Agent.Interop.IBTMessage, System.String, System.String,
Microsoft.BizTalk.Interop.IBTMMessageList ByRef)
The following is a stack trace that identifies the location where the
exception occured

at Microsoft.BizTalk.Interop.IBTPEPInfoLookup.PostToSendPort(Guid&
sendPortID, IBTMessageBatch batch, IBTMessage msg, String operationName,
String url, IBTMMessageList& dlMsgList)
at
Microsoft.BizTalk.XLANGs.BTXEngine.BTXXlangStore.WriteMessageState(IBTPEPInfoLookup
pepLookup, Guid portId, XLANGMessage msg, Segment seg, String opname, String
url, IList promoteProps, Boolean track, IList toPromote)

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.

b)


The description for Event ID ( 0 ) in Source ( .NET Runtime ) cannot be
found. The local computer may not have the necessary registry information or
message DLL files to display messages from a remote computer. You may be able
to use the /AUXSOURCE= flag to retrieve this description; see Help and
Support for details. The following information is part of the event: Unable
to open shim database version registry key - v2.0.50727.00000.

Just a note: I am getting some errors with BAM within the SQL database in
the event logs. Could this be the cause? Please help me resolve this issue
once and for all.

Adrian Hamza [MSFT]

unread,
Jul 19, 2006, 1:26:39 PM7/19/06
to
I'm sorry, I think I replied to the wrong message last time, I wanted to
reply to a different thread on COM+ security and disabling authorization
not anonymous access.
Disabling the Anonymous Access on the HTTP virtual folder on a production
system is fine, and in fact it's a excellent idea. You don't want anyone to
be able to submit messages to the HTTP Receive location.

I would post a new message here with the new error that you get. I haven't
seen that before so I don't know what the problem is.

This posting is provided "AS IS" with no warranties, and confers no rights.

Adrian Hamza [MSFT]
http://blogs.msdn.com/ahamza/
My blog on BizTalk 2006
Windows SharePoint Services adapter

--------------------
>>Thread-Topic: Tutorial 4: Internal Server Error while executing
SubmitOrder.

>>thread-index: AcarE9Btq0rS1+orTtuhw8unoRSKyw==


>>X-WBNR-Posting-Host: 213.236.92.250
>>From: =?Utf-8?B?S1dFWlpJRTE=?= <KWEZ...@discussions.microsoft.com>
>>References: <E5A60EE3-EAEB-469B...@microsoft.com>
<PzQ7NYCg...@TK2MSFTNGXA01.phx.gbl>
<9D6AFB35-1DBF-43B9...@microsoft.com>
<#1vPelOg...@TK2MSFTNGXA01.phx.gbl>
<65759E25-9DCB-4C9E...@microsoft.com>
<ZdWp5Wdq...@TK2MSFTNGXA01.phx.gbl>
<877A251D-C9BC-435B...@microsoft.com>
<RqBhA3fq...@TK2MSFTNGXA01.phx.gbl>

<70519ACC-F283-4B56...@microsoft.com>
<h7nNP7oq...@TK2MSFTNGXA01.phx.gbl>


>>Subject: RE: Tutorial 4: Internal Server Error while executing
SubmitOrder.

>>Date: Wed, 19 Jul 2006 02:15:01 -0700
>>Lines: 349
>>Message-ID: <BE434FC4-0BED-4446...@microsoft.com>


>>MIME-Version: 1.0
>>Content-Type: text/plain;
>> charset="Utf-8"
>>Content-Transfer-Encoding: 7bit
>>X-Newsreader: Microsoft CDO for Windows 2000
>>Content-Class: urn:content-classes:message
>>Importance: normal
>>Priority: normal
>>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
>>Newsgroups: microsoft.public.biztalk.general
>>Path: TK2MSFTNGXA01.phx.gbl

>>Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.biztalk.general:39252


>>NNTP-Posting-Host: TK2MSFTNGXA01.phx.gbl 10.40.2.250
>>X-Tomcat-NG: microsoft.public.biztalk.general
>>

nittany.ken92

unread,
Jul 28, 2006, 8:31:08 AM7/28/06
to

I didn't see anyone else answer this part of your question, so let me
put my 2 cents in.

I was getting this error too, and after a lot of web searching I found
out that it's simply a permissions issue. Go to "Administrative Tools
--> Services". Find the service labeled "Enterprise Single Sign-On
Service", and check to see which account is running the service. This
account needs to have access to the following Registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\policy\AppPatch

I assigned the account "Read" permission and the error went away.
However, I have heard that other people needed to give this account
"Full Control". Try "Read" first and see how it works.

0 new messages