Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Remoting / July 2003

Tip: Looking for answers? Try searching our database.

SecurityException with Strong Named Assembly under TCP Remoting

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Damien - 31 Jul 2003 00:42 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.