This message was discovered on microsoft.public.dotnet.framework.remoting.
Responses highlighted in red are from those people who are likely to be able to contribute good, authoratitive information to this discussion. They include Microsoft employees, MVP's and others who IMHO contribute well to these kinds of discussions.
| Henke |
Hi! I read in MSDN that an object could be marshaled by value just be mark it [Serializable]. When I do this and tries to invoke a method on the object I get this exception:
An unhandled exception of type 'System.Runtime.Remoting.RemotingException' occurred in mscorlib.dll Additional information: Trying to create a proxy to an unbound type.
If I derive the class from MarshalByRefObject everything works fine. I don't do any changes in my configuration files.
Can some one please tell what's wrong here? /Henke
|
|
| |
| |
| Raghavendra T V |
Hi Henke,
From the error you posted its quite difficult to figure out the exact error. may be you can post the piece of code that is crashing the application.
Anyways here are the list of common remoting errors.
Common Remoting Errors. 1.You Register the channel with a specific port and forget to unregister it once the use of it is over. 2.Trying to connect to wrong port. 3.By default Remoting Takes the remoting channel name as TCP (if you use TCP Channel) and you are trying to use the same name for channel again. in your code.
Hope this helps you.
Thanks Raghavendra
"Henke" <Click here to reveal e-mail address> wrote in message news:uEGYpq$Click here to reveal e-mail address... [Original message clipped]
|
|
| |
| | |
|
|
|
|
|