Security exception while trying to wrtite Event Log
-
Hi Gurus! I developing a C# asp.net application. I want my application write something to it's own event log, but when I trying to do this I got folllowing error - "Requested Registry Access Is Not Allowed" Error Message When ASP.NET Application Tries to Write New EventSource in the EventLog I found some solutiong here - http://support.microsoft.com/?id=329291 but it not helps in my case... I have done all modifications to my code exactly like in former article, but I still recieve this error... I hope someone could help me. Thanx. xedom developers team
-
Hi Gurus! I developing a C# asp.net application. I want my application write something to it's own event log, but when I trying to do this I got folllowing error - "Requested Registry Access Is Not Allowed" Error Message When ASP.NET Application Tries to Write New EventSource in the EventLog I found some solutiong here - http://support.microsoft.com/?id=329291 but it not helps in my case... I have done all modifications to my code exactly like in former article, but I still recieve this error... I hope someone could help me. Thanx. xedom developers team
The "modifications" mentioned in the article are not modifications -- they are instructions on how to work around the problem without changing your code. Which of the 2 suggested solutions did you try? I had the same problem, and the "edit the registry" solution worked fine.