Hi,
While trying to create a custom Eventlog using EventLog.CreateEventSource, I am getting the error mentioned below:
Exception runtime raised: System.Security.SecurityException - Access to the register requested not allowed.
I just know that it is probably related to the right of user account. But i do not know how to deal with this problem.
I've visited this page:
http://www.c-sharpcorner.com/code/2003/sept/ErrorLoggingInASPNet.asp. There is an instruction guides to the registry. Is there any other ways?
Any help is highly appreciated.
Regards,
YSKCam.