Groups | Blog | Home
all groups > dotnet remoting > july 2003 >

dotnet remoting : Security Exception with .NET remoting 1.1



chrislewis NO[at]SPAM etsolutions.com
7/31/2003 3:11:22 PM
Hi,

I am having exactly the same problem as a previous poster (Damien), but my
assembly is not strong named.

I have copied the text from Damien's post, changing as appropriate for my
problem:

I have have a framework v1.1 ASP.NET application calling remoting
objects hosted in windows service using the TCP formatter.

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.

Any help much appreciated.

Chris

chrislewis NO[at]SPAM etsolutions.com
7/31/2003 4:05:59 PM
I think I have solved (or at least skirted around) this problem for the time
being.

In the server config file, I added the following:

<channels>

<channel port="13104" ref="tcp">

<serverProviders>

<formatter ref="binary" typeFilterLevel="Full"/>

</serverProviders>

</channel>

</channels>

which has fixed the problem...though I don't know enough about how this
affects the security of my deployed app??

Chris


"chrislewis@etsolutions.com" <chrislewis@etnospamsolutions.com> wrote in
message news:3f29238b$0$46010$65c69314@mercury.nildram.net...
[quoted text, click to view]

Ice
8/5/2003 10:26:35 AM
setting the typeFilterLevel to "full".

you gave it full trust.

ice
"chrislewis@etsolutions.com" <chrislewis@etnospamsolutions.com> wrote in
message news:3f293059$0$46004$65c69314@mercury.nildram.net...
[quoted text, click to view]

AddThis Social Bookmark Button