Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Event Logging fails on windows 2000

Event Logging fails on windows 2000

Scheduled Pinned Locked Moved Visual Basic
csharphelp
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    manish24
    wrote on last edited by
    #1

    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

    D 1 Reply Last reply
    0
    • M manish24

      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

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      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

      M 1 Reply Last reply
      0
      • D Dave Kreskowiak

        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

        M Offline
        M Offline
        manish24
        wrote on last edited by
        #3

        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

        D 1 Reply Last reply
        0
        • M manish24

          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

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups