Return-Path: X-Original-To: apmail-logging-log4net-user-archive@www.apache.org Delivered-To: apmail-logging-log4net-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D0602C7F1 for ; Thu, 25 Jul 2013 15:01:48 +0000 (UTC) Received: (qmail 96815 invoked by uid 500); 25 Jul 2013 15:01:48 -0000 Delivered-To: apmail-logging-log4net-user-archive@logging.apache.org Received: (qmail 96501 invoked by uid 500); 25 Jul 2013 15:01:43 -0000 Mailing-List: contact log4net-user-help@logging.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Log4NET User" List-Id: Delivered-To: mailing list log4net-user@logging.apache.org Received: (qmail 96491 invoked by uid 99); 25 Jul 2013 15:01:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jul 2013 15:01:43 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [159.125.79.7] (HELO NJMAILGW01.nyx.com) (159.125.79.7) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jul 2013 15:01:38 +0000 X-IronPort-AV: E=Sophos;i="4.89,743,1367985600"; d="scan'208";a="40153983" Received: from unknown (HELO PM1COEXC02V.ad.NYX.com) ([172.18.94.2]) by NJMAILGW01-int.nyx.com with ESMTP; 25 Jul 2013 11:01:17 -0400 From: Joshua Go To: "'log4net-user@logging.apache.org'" Subject: log4net runtime error - Failed to Marshal remoting sink Thread-Topic: log4net runtime error - Failed to Marshal remoting sink Thread-Index: Ac6JRAGORpElA18eRUOp70K2bwBJdQAA8dag Date: Thu, 25 Jul 2013 15:01:16 +0000 Message-ID: <5468FD66B241294CBADB50477E21E8309331E7D3@PM1COEXM01.ad.NYX.com> References: <5468FD66B241294CBADB50477E21E8309331E784@PM1COEXM01.ad.NYX.com> In-Reply-To: <5468FD66B241294CBADB50477E21E8309331E784@PM1COEXM01.ad.NYX.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.18.94.247] Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi, I have a C# 4.0 project using log4net, and I recently tried to create a rem= ote 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.ILoggerRepository)' to access method 'System.Runtime.Remoting.Re= motingServices.Marshal(System.MarshalByRefObject, System.String, System.Typ= e)' failed. at log4net.Plugin.RemoteLoggingServerPlugin.Attach(ILoggerRepos= itory 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-t= o-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 **************************************************** Note: The information contained in this message and any attachment to it i= s privileged, confidential and protected from disclosure. If the reader of= this message is not the intended recipient, or an employee or agent respon= sible for delivering this message to the intended recipient, you are hereby= notified that any dissemination, distribution or copying of this communica= tion is strictly prohibited. If you have received this communication in er= ror, please notify the sender immediately by replying to the message, and p= lease delete it from your system. Thank you. NYSE Euronext.