RE: Security Problem with .NET 1.1 RemotingAppend er
Nicko Cadell <[email protected]> Sun, 16 May 2004 20:07:37 +0100
| Newsgroups | gmane.comp.windows.dotnet.log4net.devel |
|---|---|
| Message-ID | <[email protected]> |
Kai, Microsoft made some changes to remoting between version 1.0 and 1.1. Have a look at http://www.thinktecture.com/Resources/RemotingFAQ/Changes2003.html for more details. Cheers, Nicko > -----Original Message----- > From: Kai Strempel [mailto:[email protected]] > Sent: 12 May 2004 15:02 > To: '[email protected]' > Subject: [Log4net-devel] Security Problem with .NET 1.1 > RemotingAppender > > Hello log4net folks, > > I get an error message when I use the RemotingAppender. > > System.Runtime.Serialization.SerializationException: Because > of security restrictions, the type log4net.spi.LoggingEvent > cannot be accessed. ---> System.Security.SecurityException: > Request failed. > at > System.Security.SecurityRuntime.FrameDescSetHelper(FrameSecuri > tyDescriptor secDesc, PermissionSet demandSet, PermissionSet& > alteredDemandSet) > at > System.Runtime.Serialization.FormatterServices.nativeGetSafeUn > initializedObject(RuntimeType type) > at > System.Runtime.Serialization.FormatterServices.GetSafeUninitia > lizedObject(Type type) > --- End of inner exception stack trace --- > > Can anybody help me regarded this problem. I switched a > complex server application from .NET 1.0 to .NET 1.1 and > changed the log4net assembly to .NET 1.1. > > Thanks > -Kai > ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click