Error Accessing System Registry

Posted on 2004-09-22
Last Modified: 2008-01-09
When I try to set references in VB (Project - References), I get an error "Error accessing the system registry."
How can I resolve this?

Question by:tawandat

Accepted Solution

mladenovicz earned 500 total points
ID: 12121074
LVL 17

Expert Comment

ID: 12121421
Further to  mladenovicz suggestion....
You must use regedt32 to be able to set registry security. If you are having a problem developing then you need read/write permissions.  When running the user nees read permissions. The normal and more user-friendly regedit does not show the security options.

Another good way of resolving strange error conditions is to use filemon.exe (a free download). Filemon shows access to any file, including registry, as sometimes security issues are not always registry issues.
LVL 26

Expert Comment

ID: 12121926
You can try to use regclean to clean the registry

Expert Comment

ID: 12122666
You should be given permissions by an administrator using the reged32.exe (Registry Administration Tool)
Better to give read permissions for all keys vix HK_LOCAL_MACHINE etc....

Contact a administrator and this problem will be resolved.

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
MS Access - loop through contents of table and iteratively find/replace words from second table 6 66
TT Auto Dashboard 13 92
Help me. 3 54
Export Data to Different .csv Files 26 103
Introduction In a recent article ( for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question