BUG: A Client That Is Linked with the Soapsuds Proxy DLL Throws a Remoting Exception at Run Time (828987)
The information in this article applies to:
- Microsoft .NET Framework 1.1
SYMPTOMS When a client is linked with the proxy DLL that the Soapsuds tool (Soapsuds.exe) generates, the client throws a remoting exception at
run time. You may receive an error message that is similar to the
following error message: Unhandled Exception: System.Runtime.Remoting.RemotingException:
Permission denied for activating type soap:TestClass,
http://schemas.microsoft.com/clr/nsassem/EchoExeTest/ServerExe%2C%20Version%3D0.0.0.0%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Dnull.
Server stack trace: at
System.Runtime.Remoting.Activation.ActivationListener.Activate(IConstructionCallMessage
ctorMsg) at
System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(MethodBase
mb, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext,
Object[]& outArgs) at
System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage
msg, Int32 methodPtr, Boolean fExecuteInContext) WORKAROUNDTo work around this problem by linking the client, follow
these steps:
- Run the Remoting Server application, and then generate the
proxy by using the following command:
soapsuds -url:<ServerUrl?wsdl> -oa:serverexe.dll - Run the remoting server.
- Generate the proxy code by using the following command:
soapsuds -url:<ServerUrl?wsdl> -gc - Open the .cs file that Soapsuds.exe generates,
remove the SoapType attribute from the class, and then build the proxy.
- Link the proxy to the client, and then run
Soapsuds.exe.
Note If the remoting server is not running, Soapsuds.exe generates an
error and does not generate the proxy code.
STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are
listed at the beginning of this article.
REFERENCESFor more information about Soapsuds.exe, visit the
following Microsoft Developer Network(MSDN) Web site:
Modification Type: | Major | Last Reviewed: | 11/18/2003 |
---|
Keywords: | kbProxyDev kbCOMInterop kbRemoting kbbug KB828987 kbAudDeveloper |
---|
|