PDA

Click to See Complete Forum and Search --> : NT Server Registry/Workstation Registry access


Grimes
Jan 11th, 2001, 02:27 PM
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.

Tryster
Jan 13th, 2001, 08:29 AM
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?

Grimes
Jan 14th, 2001, 03:48 PM
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