Sounds like this problem: http://support.microsoft.com/default.aspx?scid=kb;en-us;329065
More information on why this occurs: http://blogs.msdn.com/junfeng/archive/2004/04/09/110278.aspx Nicko > -----Original Message----- > From: Kamoski, Mark [mailto:[EMAIL PROTECTED] > Sent: 26 January 2005 16:30 > To: 'Log4NET User' > Subject: Parser Error Message: Access is denied: 'log4net' > > > All-- > > Please help. > > Has anyone see this error? > > The situation is this. > > We have log4net set to log to the EventLog. > > We have created the necessary EventLogSource on the machine. > > The log4net component is writing messages to the EventLog. > > However... > > Sometimes the following happens... > > We run our application in VisualStudio in Debug mode. > > The application crashes hard, at the application-level and/or > at the database-level. > > We force a stop to the application. > > We are back at the VisualStudio IDE and the application is > not running. > > We start the application again in Debug mode. > > We get the error message below. > > So... > > What do you think? > > Do you have any ideas? > > > Please advise. > > Thank you. > > --Mark > > > > > > > > -----Original Message----- > > From: Roy, Swapan > > Sent: Wednesday, January 26, 2005 08:23 > > To: Kamoski, Mark > > Subject: log4net error > > > > > > > > Server Error in '/DLSLOD' Application. > > > > Configuration Error > > Description: An error occurred during the processing of a > > configuration > file required to service this request. Please review the > specific error details below and modify your configuration > file appropriately. > > > > Parser Error Message: Access is denied: 'log4net'. > > > > Source Error: > > Line 196: <add assembly="System.EnterpriseServices, > Version=1.0.5000.0, Culture=neutral, > PublicKeyToken=b03f5f7f11d50a3a"/> Line > 197: <add assembly="System.Web.Mobile, Version=1.0.5000.0, > Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/> Line 198: <add > assembly="*"/> Line 199: </assemblies> Line 200: </compilation> > > > > Source File: > c:\winnt\microsoft.net\framework\v1.1.4322\Config\machine.conf > ig Line: > 198 > > > > Assembly Load Trace: The following information can be helpful to > > determine > why the assembly 'log4net' could not be loaded. > > === Pre-bind state information === LOG: DisplayName = log4net > > (Partial) > LOG: Appbase = > file:///C:/VSSWAP3/wadprojects/DLS/DLSLOD_02/DLSLOD_01/DLSLOD > LOG: Initial PrivatePath = bin Calling assembly : (Unknown). === LOG: > Policy not being applied to reference at this time (private, > custom, partial, or location-based assembly bind). LOG: > Post-policy reference: > log4net LOG: Attempting download of new URL > file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary > ASP.NET Files/dlslod/dfffd689/862cdab4/log4net.DLL. LOG: > Attempting download of new URL > file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary > ASP.NET Files/dlslod/dfffd689/862cdab4/log4net/log4net.DLL. > LOG: Attempting download of new URL > file:///C:/VSSWAP3/wadprojects/DLS/DLSLOD_02/DLSLOD_01/DLSLOD/ > bin/log4net.DL > L. LOG: Publisher policy file is not found. LOG: No redirect > found in host configuration file > (C:\WINNT\Microsoft.NET\Framework\v1.1.4322\aspnet.config). > LOG: Using machine configuration file from > C:\WINNT\Microsoft.NET\Framework\v1.1.4322\config\machine.config. LOG: > Post-policy reference: log4net, Version=1.2.0.30714, Culture=neutral, > PublicKeyToken=b32731d11ce58905 > > > > > > Version Information: Microsoft .NET Framework Version:1.1.4322.2032; > ASP.NET Version:1.1.4322.2032 > > > > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to > whom they > are addressed. If you have received this email in error > please notify the system manager at postmaster at dor.state.ma.us. > ********************************************************************** >
