Security Problem with .NET 1.1 RemotingAppender
Kai Strempel <[email protected]> Wed, 12 May 2004 16:02:30 +0200
| Newsgroups | gmane.comp.windows.dotnet.log4net.devel |
|---|---|
| Message-ID | <[email protected]_nt> |
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C43829.C434B660 Content-Type: text/plain; charset="iso-8859-1" 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(FrameSecurityDescriptor secDesc, PermissionSet demandSet, PermissionSet& alteredDemandSet) at System.Runtime.Serialization.FormatterServices.nativeGetSafeUninitializedObj ect(RuntimeType type) at System.Runtime.Serialization.FormatterServices.GetSafeUninitializedObject(Ty pe 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 ------_=_NextPart_001_01C43829.C434B660 Content-Type: text/html; charset="iso-8859-1" <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=370495713-12052004><FONT face=Arial size=2>Hello log4net folks,</FONT></SPAN></DIV> <DIV><SPAN class=370495713-12052004><FONT face=Arial size=2></FONT></SPAN> </DIV> <DIV><SPAN class=370495713-12052004><FONT face=Arial size=2>I get an error message when I use the RemotingAppender.</FONT></SPAN></DIV> <DIV><SPAN class=370495713-12052004><FONT face=Arial size=2></FONT></SPAN> </DIV> <DIV><SPAN class=370495713-12052004><FONT face=Arial size=2>System.Runtime.Serialization.SerializationException: Because of security restrictions, the type log4net.spi.LoggingEvent cannot be accessed. ---> System.Security.SecurityException: Request failed.<BR> at System.Security.SecurityRuntime.FrameDescSetHelper(FrameSecurityDescriptor secDesc, PermissionSet demandSet, PermissionSet& alteredDemandSet)<BR> at System.Runtime.Serialization.FormatterServices.nativeGetSafeUninitializedObject(RuntimeType type)<BR> at System.Runtime.Serialization.FormatterServices.GetSafeUninitializedObject(Type type)<BR> --- End of inner exception stack trace ---</FONT></SPAN></DIV> <DIV><SPAN class=370495713-12052004><FONT face=Arial size=2></FONT></SPAN> </DIV> <DIV><SPAN class=370495713-12052004><FONT face=Arial size=2>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.</FONT></SPAN></DIV> <DIV><SPAN class=370495713-12052004><FONT face=Arial size=2></FONT></SPAN> </DIV> <DIV><SPAN class=370495713-12052004><FONT face=Arial size=2>Thanks</FONT></SPAN></DIV> <DIV><SPAN class=370495713-12052004><FONT face=Arial size=2>-Kai</FONT></SPAN></DIV></BODY></HTML> ------_=_NextPart_001_01C43829.C434B660-- ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3