You may receive a "Cannot find assembly" error message when you deploy a BizTalk Server 2004 orchestration as a Web service (896570)
The information in this article applies to:
- Microsoft BizTalk Server 2004 Standard Edition
- Microsoft BizTalk Server 2004 Developer Edition
- Microsoft BizTalk Server 2004 Enterprise Edition
- Microsoft BizTalk Server 2004 Partner Edition
SYMPTOMSWhen you deploy a Microsoft BizTalk Server 2004 orchestration as a Web service by using the BizTalk Web Services Publishing Wizard, you may receive the following error message: Cannot find assembly You may receive this error message when you try to call one of the exposed Web service methods. CAUSEThis problem occurs when a custom exception occurs and must be serialized. Microsoft ASP.NET cannot serialize the custom exception because ASP.NET cannot load the Microsoft.BizTalk.WebServices.ServerProxy.dll assembly from the global assembly cache.
Note When you deploy a BizTalk Server 2004 orchestration as a Web service, the signed Microsoft.BizTalk.WebServices.ServerProxy.dll assembly is copied in the ASP.NET .\bin folder. ASP.NET does not support signed assemblies that are located in the .\bin folder.RESOLUTIONTo resolve this problem, put the Microsoft.BizTalk.WebServices.ServerProxy.dll assembly in the global assembly cache. To do this, follow these steps: - Click Start, click Run, type cmd in the Open box, and then click OK.
- At the command prompt, type the following command line, and then press ENTER:
gacutil /i "%ProgramFiles%\Microsoft BizTalk Server 2004\Microsoft.BizTalk.WebServices.ServerProxy.dll" - Type exit, and then press ENTER to close the Command Prompt window.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
| Modification Type: | Minor | Last Reviewed: | 8/14/2006 |
|---|
| Keywords: | kbbiztalk2004-2006swept kbnofix kbtshoot kbprb KB896570 kbAudDeveloper kbAudITPRO |
|---|
|