Results 1 to 3 of 3

Thread: NT Server Registry/Workstation Registry access

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2001
    Posts
    4

    Question

    Hi, I am trying to access the registry on a Server via the API in my code. I am using a timer to kick of some events, one of which is retrieving a key and updating it's value. Now this all works great with NT Workstation (my development machine) but the program does not seem to be able to update the registry on Server. Is there a difference? I would think not, but it's not going in and updating on Server but works great on a Workstation. I've taken the application to a server and tried to run it from there (which is where it is intended and designed to run from). In my mind it should all work the same....the paths in the registry from HKEY_LOCAL_MACHINE are the exact same...so does something have to change above the HKEY? Any thoughts?

    Thanks Bryan.

  2. #2
    Member
    Join Date
    Dec 2000
    Location
    UK
    Posts
    39
    Have you checked the permissions for the Account you are using to run the code?

    Certain registry keys require you to have a required level of access (such as being a member of the local administrators group - which has to be set at each machine). Have you tried to manually change the particular setting on that machine? If so does it work?

  3. #3

    Thread Starter
    New Member
    Join Date
    Jan 2001
    Posts
    4

    I figured it out....

    Thanks. actually the problem wasn't accessing the registry like I thought it was...it was simply that the server I was on didn't have the correct version of ADO Library and some Project References didn't carry over. Thanks anyway!

    Bryan

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width