Hi,
I have have a framework v1.1 ASP.NET application calling remoting
objects hosted in windows service using the TCP formatter. When the
assemblies are not strong named, there is no problem, it is only when
I strong name all assemblies with the same key that the problem
arrises.
The message "System.Security.SecurityException: Request Failed." is
displayed. For development, both IIS and the remoting service
application are on the same machine. More specifically, I am able to
instantiate the remoting objects and call methods that do not pass
objects as parameters. When passing an object as the parammeter either
as a serializable or marshal by ref object, the exception is raised.
I've tried creating a code group with fulltrust, with the membership
condition being the strong name of the assemblies, but it seems to
have no effect.
Does anyone know what the cause of my problem could be?
Thanks,
Damien
chrislewis@etsolutions.com - 31 Jul 2003 16:10 GMT
Damien, try adding the typeFilterLevel="Full" in the config file of your
server components:
<channels>
<channel port="13104" ref="tcp">
<serverProviders>
<formatter ref="binary" typeFilterLevel="Full"/>
</serverProviders>
</channel>
</channels>
Worked for me.
Chris
> Hi,
>
[quoted text clipped - 19 lines]
> Thanks,
> Damien