Re: Strong Name vs Serializable vs Remoting
From: Ken Kolda (ken.kolda_at_elliemae-nospamplease.com)
Date: 01/14/05
- Next message: Chris Yager: "Re: Strong Name vs Serializable vs Remoting"
- Previous message: Ken Kolda: "Re: Windows Service to Windows Service Remoting"
- In reply to: Chris Yager: "Strong Name vs Serializable vs Remoting"
- Next in thread: Chris Yager: "Re: Strong Name vs Serializable vs Remoting"
- Reply: Chris Yager: "Re: Strong Name vs Serializable vs Remoting"
- Reply: Chris Yager: "Re: Strong Name vs Serializable vs Remoting"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 14 Jan 2005 08:16:47 -0800
Here's an article from MSDN that might help clarify how this all works:
http://msdn.microsoft.com/library/en-us/dndotnet/html/versremote.asp
That said, I'm not sure why the strong name should give you a security
problem unless your app is running in a context that has lowered permissions
and the object you're attempting to serialize has some sort of code access
permission set on it. Can you post the exact content of the exception your
getting (message + stack trace)?
Ken
"Chris Yager" <chris.yager@gldsolutions.com> wrote in message
news:Ouoo0Fd%23EHA.2452@TK2MSFTNGP14.phx.gbl...
> What is the relationship between a serializable object, strongly named
> assemblies, and remoting?
>
> This is a post that goes hand in hand with a previous post with the
subject
> "Can't Serialize [Serializable] object to server".
>
> I have stumbled onto something... When adding remoting to the
architecture
> of my solution (this was a requirement - not an afterthough!) I had
already
> strongly named a few assemblies. One of these required serialization to
the
> server as a parameter on a remote object method call.
>
> With a strong name applied to my serializable library, serialization fails
> with the "can't serialize due to security problems" exception. When I
> recompile the assembly without a strong name, the exception goes away and
> everything works OK.
>
> My problem here is that I need to strongly name an assembly in the
reference
> chain on the server and I cannot reference a non-strong named assembly.
>
> I can continue on my quest for the solution I'm developing but any insight
> here would be greatly appreciated!
>
> -chris
>
>
- Next message: Chris Yager: "Re: Strong Name vs Serializable vs Remoting"
- Previous message: Ken Kolda: "Re: Windows Service to Windows Service Remoting"
- In reply to: Chris Yager: "Strong Name vs Serializable vs Remoting"
- Next in thread: Chris Yager: "Re: Strong Name vs Serializable vs Remoting"
- Reply: Chris Yager: "Re: Strong Name vs Serializable vs Remoting"
- Reply: Chris Yager: "Re: Strong Name vs Serializable vs Remoting"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|