Visual Basic .NET » .NET Component
Problem with .NET Remoting -- Cristina --


Hi, I hope someone can help me...
I have a problem with serialization and .NET Remoting. I have developed a remote component (using Visual Studio 2005) and I have hosted it in IIS (in a Intranet with anonymous access). This component contains a method that receives in input an object of a class named Persona
(serializable)

Public Function Metodo(ByVal P As Persona) As String

End Function

When I invoke this method passing an istance of this class everything works fine if all the assemblies involved aren't strong-named.
Otherwise I receive this SerializationException:

"Because of protection restrictions, access denied to type Persona"

The inner exception is a SecurityException.

How can I solve this problem?

Thanks

Cristina

[Submit Comment]Home