S
swartzbill2000
Hello,
I am trying to build and run the Remoting Sample from MSDN. Everything
compiles. The Listener appears to run. The Client throws this
RemotingException:
A first chance exception of type
'System.Runtime.Remoting.RemotingException' occurred in mscorlib.dll
RemotingException.Message
Cannot load type 'RemotableType, RemotableType'.
RemotingException.StackTrace
Server stack trace:
at
System.Runtime.Remoting.RemotingConfigHandler.RemotingConfigInfo.LoadType(String
typeName, String assemblyName)
at
System.Runtime.Remoting.RemotingConfigHandler.RemotingConfigInfo.GetServerTypeForUri(String
URI)
at
System.Runtime.Remoting.RemotingConfigHandler.GetServerTypeForUri(String
URI)
at
System.Runtime.Remoting.RemotingServices.GetServerTypeForUri(String
URI)
at
System.Runtime.Remoting.Channels.SoapServerFormatterSink.ProcessMessage(IServerChannelSinkStack
sinkStack, IMessage requestMsg, ITransportHeaders requestHeaders,
Stream requestStream, IMessage& responseMsg, ITransportHeaders&
responseHeaders, Stream& responseStream)
Exception rethrown at [0]:
at
System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
reqMsg, IMessage retMsg)
at
System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
msgData, Int32 type)
at RemotableType.RemotableType.StringMethod()
at Client.Client.Form1_Load(Object sender, EventArgs e) in
C:\Documents and Settings\Owner\My Documents\Visual Studio
2005\Projects\RhsRemotingTest\Client\Client\Client.vb:line 13
Any ideas?
Bill
I am trying to build and run the Remoting Sample from MSDN. Everything
compiles. The Listener appears to run. The Client throws this
RemotingException:
A first chance exception of type
'System.Runtime.Remoting.RemotingException' occurred in mscorlib.dll
RemotingException.Message
Cannot load type 'RemotableType, RemotableType'.
RemotingException.StackTrace
Server stack trace:
at
System.Runtime.Remoting.RemotingConfigHandler.RemotingConfigInfo.LoadType(String
typeName, String assemblyName)
at
System.Runtime.Remoting.RemotingConfigHandler.RemotingConfigInfo.GetServerTypeForUri(String
URI)
at
System.Runtime.Remoting.RemotingConfigHandler.GetServerTypeForUri(String
URI)
at
System.Runtime.Remoting.RemotingServices.GetServerTypeForUri(String
URI)
at
System.Runtime.Remoting.Channels.SoapServerFormatterSink.ProcessMessage(IServerChannelSinkStack
sinkStack, IMessage requestMsg, ITransportHeaders requestHeaders,
Stream requestStream, IMessage& responseMsg, ITransportHeaders&
responseHeaders, Stream& responseStream)
Exception rethrown at [0]:
at
System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
reqMsg, IMessage retMsg)
at
System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
msgData, Int32 type)
at RemotableType.RemotableType.StringMethod()
at Client.Client.Form1_Load(Object sender, EventArgs e) in
C:\Documents and Settings\Owner\My Documents\Visual Studio
2005\Projects\RhsRemotingTest\Client\Client\Client.vb:line 13
Any ideas?
Bill