logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominik Psenner" <dpsen...@gmail.com>
Subject AW: log4net runtime error - Failed to Marshal remoting sink
Date Thu, 08 Aug 2013 06:41:00 GMT
I'm glad we were able to help you.

 

We're trying hard to get 1.2.12 baked as soon as we can. Anyway I want to
encourage you to try your use case with log4net built from the current
sources just to be sure it will be fixed with 1.2.12. We could fix whatever
does not work with the release after 1.2.12, but - according to the current
log4net release statistics - it may take several months until that happens.
;-)

 

Cheers

 

Von: Joshua Go [mailto:JGo@nyx.com] 
Gesendet: Mittwoch, 7. August 2013 16:47
An: 'Log4NET User'
Betreff: RE: log4net runtime error - Failed to Marshal remoting sink

 

Thanks for the links Dominik. Stefan B also said LOG4NET-318 is related to
this, and should be fixed after 1.2.11.

 

When I get a chance, I will try the 1.2.12 version.

 

From: Dominik Psenner [mailto:dpsenner@gmail.com] 
Sent: Wednesday, August 07, 2013 10:39 AM
To: 'Log4NET User'
Subject: AW: log4net runtime error - Failed to Marshal remoting sink

 

This is most probably related to this:

 

 <http://msdn.microsoft.com/en-us/library/dd233102.aspx>
http://msdn.microsoft.com/en-us/library/dd233102.aspx

 

Known as:

 

 <http://issues.apache.org/jira/browse/LOG4NET-347>
http://issues.apache.org/jira/browse/LOG4NET-347

 

And fixed since revision:

 

1446054 

 

Which is due for the release of 1.2.12. If you want to give it a shot, feel
free to build log4net from svn.

 

Cheers

 

Von: Joshua Go [mailto:JGo@nyx.com] 
Gesendet: Mittwoch, 7. August 2013 16:05
An: Log4NET User; 'Guanrao Chen'
Betreff: RE: log4net runtime error - Failed to Marshal remoting sink

 

We were using the latest release that was available for download at
http://nuget.org and http://logging.apache.org/log4net/download_log4net.cgi,
which is 1.2.11.

 

From: Guanrao Chen [mailto:guanrao@yahoo.com] 
Sent: Tuesday, August 06, 2013 4:48 PM
To: Log4NET User
Subject: Re: log4net runtime error - Failed to Marshal remoting sink

 

Were u using the latest version? Try the latest ..

 


Thanks,
Guanrao

http://www.foundyo.com <http://www.foundyo.com/>   where fun and easy
friend-making happens

 

  _____  

From: Joshua Go <JGo@nyx.com <mailto:JGo@nyx.com> >
To: "'log4net-user@logging.apache.org'" <log4net-user@logging.apache.org
<mailto:log4net-user@logging.apache.org> > 
Sent: Thursday, July 25, 2013 11:01 AM
Subject: log4net runtime error - Failed to Marshal remoting sink


Hi,

I have a C# 4.0 project using log4net, and I recently tried to create a
remote logging server. It works with 1.2.10.0, but when I switch to 1.2.11.0
I get an ERROR at runtime.

log4net:ERROR Failed to Marshal remoting sink
System.MethodAccessException: 
Attempt by method
'log4net.Plugin.RemoteLoggingServerPlugin.Attach(log4net.Repository.ILoggerR
epository)' to access method
'System.Runtime.Remoting.RemotingServices.Marshal(System.MarshalByRefObject,
System.String, System.Type)' failed. at
log4net.Plugin.RemoteLoggingServerPlugin.Attach(ILoggerRepository
repository)

I found one post on Stackoverflow with the exact problem, but no solution.
http://stackoverflow.com/questions/16914357/upgrade-log4net-from-1-2-10-0-to
-1-2-11-0-on-net-framework-4-0-security

Is this a bug or a security configuration that I missed?
Any help would be greatly appreciated.


Thanks,
Josh
Please consider the environment before printing this email.

Visit our website at http://www.nyse.com <http://www.nyse.com/> 

****************************************************

Note:  The information contained in this message and any attachment to it is
privileged, confidential and protected from disclosure.  If the reader of
this message is not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, you are
hereby notified that any dissemination, distribution or copying of this
communication is strictly prohibited.  If you have received this
communication in error, please notify the sender immediately by replying to
the message, and please delete it from your system.  Thank you.  NYSE
Euronext.

  _____  

Please consider the environment before printing this email.

Visit our website at http://www.nyse.com 
****************************************************************************
* 
Note: The information contained in this message and any attachment to it is
privileged, confidential and protected from disclosure. If the reader of
this message is not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, you are
hereby notified that any dissemination, distribution or copying of this
communication is strictly prohibited. If you have received this
communication in error, please notify the sender immediately by replying to
the message, and please delete it from your system. Thank you. NYSE
Euronext. 

  _____  

Please consider the environment before printing this email.

Visit our website at http://www.nyse.com 
****************************************************************************
* 
Note: The information contained in this message and any attachment to it is
privileged, confidential and protected from disclosure. If the reader of
this message is not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, you are
hereby notified that any dissemination, distribution or copying of this
communication is strictly prohibited. If you have received this
communication in error, please notify the sender immediately by replying to
the message, and please delete it from your system. Thank you. NYSE
Euronext. 


Mime
View raw message