Select the product you need help with
FIX: EventLog.WriteEntry Method May Fail Under StressArticle ID: 321563 - View products that this article applies to. This article was previously published under Q321563 SYMPTOMS
When you write to an event log from a .NET application, you may receive the following error message if the application is under heavy load:
System.ApplicationException: Access is denied.
at System.Threading.Mutex.CreateMutexNative(Boolean initialState, String name, Boolean& createdNew) at System.Threading.Mutex..ctor(Boolean initiallyOwned, String name) at System.Diagnostics.SharedUtils.EnterMutex(String name) at System.Diagnostics.EventLog.WriteEntry(String message, EventLogEntryType type, Int32 eventID, Int16 category, Byte[] rawData) at System.Diagnostics.EventLog.WriteEntry(String message, EventLogEntryType type, Int32 eventID, Int16 category) at System.Diagnostics.EventLog.WriteEntry(String message, EventLogEntryType type, Int32 eventID) at System.Diagnostics.EventLog.WriteEntry(String message, EventLogEntryType type) at System.Diagnostics.EventLog.WriteEntry(String message) RESOLUTIONTo resolve this problem, obtain the latest service pack for Microsoft .NET Framework. For additional information, click the following article number to view the article in the
Microsoft Knowledge Base:
318836
The English version of this fix should have the following file attributes or later:
(http://support.microsoft.com/kb/318836/EN-US/
)
INFO: How to Obtain the Latest .NET Framework Service Pack
Date Time Version Size File name ------------------------------------------------------------ 17-Apr-2002 23:53 1.0.3705.252 1,163,264 System.dll STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Microsoft .NET Framework Service Pack 2 (SP2). PropertiesArticle ID: 321563 - Last Review: February 12, 2007 - Revision: 3.2
|



Back to the top








