Event Logging fails on windows 2000
-
Hi I created an application using vb.net,which logs the error in event viewer. This application is working well at XP and windows 2003. But at windows 2000, it is showing error. Can any1 please tell me, what are changes i need to make in the system or code, so as to execute it on windows 2000. Thanks in advance Manish
-
Hi I created an application using vb.net,which logs the error in event viewer. This application is working well at XP and windows 2003. But at windows 2000, it is showing error. Can any1 please tell me, what are changes i need to make in the system or code, so as to execute it on windows 2000. Thanks in advance Manish
First, Windows 2000 has to have at least Service Pack 4 installed. Next, check to make sure that the account your running your app under has sufficient rights to write to the event log. Lastly, you might want to post the error message your getting when you run your app. Oh!! There are no changes you have to make to your code, it should work already with no changes.
Dave Kreskowiak Microsoft MVP - Visual Basic
-
First, Windows 2000 has to have at least Service Pack 4 installed. Next, check to make sure that the account your running your app under has sufficient rights to write to the event log. Lastly, you might want to post the error message your getting when you run your app. Oh!! There are no changes you have to make to your code, it should work already with no changes.
Dave Kreskowiak Microsoft MVP - Visual Basic
-
I have given Admin rights to internet user as well as ASPNET user. I have also made changes in the registry of Event Log so as to allow guest. Please let me know is there any solution for this..... Thanks for your reply Manish
The problem is, I don't know what you, or someone else, did to break it in the first place! This should be working by default! Does the NETWORKSERVICE account have rights?
Dave Kreskowiak Microsoft MVP - Visual Basic