Article ID: 910295 - Last Review: August 28, 2007 - Revision: 2.2 You cannot call an orchestration that is exposed as a Web service on a server that is running BizTalk Server 2006 or BizTalk Server 2004On This PageSYMPTOMSOn a server that is running Microsoft BizTalk Server 2006 or Microsoft BizTalk Server 2004, you cannot call an orchestration that is exposed as a Web service. The orchestration is not invoked in the Health and Activity Tracking (HAT) tool. Additionally, you may experience one or more of the following symptoms: Symptom 1The following error messages are logged in the Application event log on the server that is running BizTalk Server 2006 or BizTalk Server 2004:The Messaging Engine failed to register the adapter for "SOAP" for the receive location "/VirtualDirectory/Name.asmx". Please verify that the receive location is valid, and that the isolated adapter runs under an account that has access to the BizTalk databases.
An attempt to connect to "BizTalkMgmtDb" SQL Server database on server "Server" failed with error: "Cannot open database requested in login 'BizTalkMgmtDb'. Login fails.". Symptom 2On a remote server that is running BizTalk Server 2006 or BizTalk Server 2004, the following error message is logged in the Application event log when you call the orchestration that is exposed as a Web service:The "SOAP" adapter is suspending an outbound message going to destination
URL:"<http://VirtualDirectory/Name.asmx>".
Details: "Server was unable to process request. --> File or assembly name FileName.dll, or one of its dependencies, was not found.".
SoapException: Internal SOAP Processing Failure Symptom 3The following error message is logged in the Application event log on the server on which the Web service is exposed:There was a failure executing the receive pipeline:
"Microsoft.BizTalk.DefaultPipelines.XMLReceive" Source:
"Microsoft.BizTalk.Messaging" Receive Location:
"/VirtualDirectory/Name.asmx" Reason: Specified cast is not valid. CAUSEThese issues occur because of the following causes: Symptom 1This issue occurs because the application pool identity that is used by the application pool for the exposed Web service is not a member of the BizTalk Isolated Host Users group.Note The BizTalk Isolated Host Users group must have permissions on the BizTalkMgmtDb database. The BizTalk Isolated Host Users group is granted permissions on the BizTalkMgmtDb database when you install BizTalk Server 2006 or BizTalk Server 2004. Symptom 2This issue occurs because the application pool identity for the exposed Web service does not have the correct read/write permissions. The application pool identity must have permissions to the %systemroot%\Temp folder on the server that runs BizTalk Server 2006 or BizTalk Server 2004 and exposes the Web service.Web service (.asmx) files are just-in-time (JIT) compiled to create DLLs in the %systemroot%\Temp folder. If the application pool identity does not have permissions to this folder, these DLLs are not created. These DLLs have random eight-character file names. Therefore, the assembly name in the error message changes every time that you call the orchestration. Symptom 3This issue occurs because the Web service proxy is not published correctly.RESOLUTIONTo resolve these issues, use one of the following methods. Symptom 1To resolve this issue, configure the application pool identity for the Web service to use a user account that is a member of the BizTalk Isolated Host Users group. To do this on a Microsoft Windows Server 2003-based computer, follow these steps:
Symptom 2To resolve this issue, verify that the application pool identity security account has read/write permissions to the %systemroot%\Temp folder on the server that runs BizTalk Server 2006 or BizTalk Server 2004 and exposes the Web service.Symptom 3To resolve this issue, use the BizTalk Web Service Publishing Wizard to republish the Web service proxy.MORE INFORMATIONFor more information about how to enable Web services in Microsoft Windows 2000 and in Microsoft Windows XP, visit the following Microsoft Developer Network (MSDN) Web site: http://msdn2.microsoft.com/en-us/library/ms946959.aspx
(http://msdn2.microsoft.com/en-us/library/ms946959.aspx)
For more information about how to debug orchestrations that are published as Web services, visit the following MSDN Web site:http://msdn2.microsoft.com/en-us/library/ms935219.aspx
(http://msdn2.microsoft.com/en-us/library/ms935219.aspx)
REFERENCES
For more information about issues that can occur when a .NET client consumes a Web service through an HTTP proxy server, click the following article number to view the article in the Microsoft Knowledge Base:
318140
(http://support.microsoft.com/kb/318140/
)
Error on .NET client that consumes a Web service through an HTTP proxy server
APPLIES TO
| Article Translations
|

Back to the top
