

|
How to fix error accessing the registry
Award-winning registry cleaner to fix Windows errors and optimize PC performance.
Download Registry Mechanic Now! Click Here
How to fix error accessing the registry?
 When you access the References dialog box in the Visual Basic integrated development environment (IDE) or any Visual Basic for Applications (VBA) enabled application, you receive the following error:
Error Accessing the System Registry
Also, when you access from REGEDT32.exe, some registry keys are dimmed and inaccessible. For example:
HKEY_CLASS_ROOT\TypeLib\{...}
 Other problems you may encounter with these Registry keys include:
- You cannot delete these keys, not even from the local Administrator account.
- You cannot Assign or View Permissions.
- You cannot Take Ownership of the keys.
CAUSE
The cause of this problem is a full/Clean Installation of Crystal Reports 8.0.0.371. According to Business Objects, this problem no longer occurs with Crystal Reports 8.0.0.441 or higher.
RESOLUTION
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.
HKEY_CLASSES_ROOT is dynamic and is built on startup. The HKEY_LOCAL_MACHINE\Software\Classes key is read into memory and is accessible as HKEY_CLASSES_ROOT. If you add a key to HKLM\Software\Classes, it is immediately replicated to HKCR.
Steps to Correct this Problem
First you need to figure out which registry key or keys are affected. This can be done in two ways:
1. Use REGEDT32.exe to scan for keys that are dimmed in HKEY_CLASSES_ROOT\TypeLib and HKEY_CLASSES_ROOT\CLSID.
2. Use the RegMon utility from www.sysinternals.com. Run the filtering processes for Visual Basic, and then try accessing the References dialog box in Visual Basic. When the error occurs, switch to RegMon and make note of the last keys which were successfully read or written. (These should be from HKEY_CLASSES_ROOT\TypeLib or HKEY_CLASSES_ROOT\CLSID.)
You can then fix the permission problem in the following ways:
1. Load REGEDT32 and locate the keys that are dimmed from the preceding step 1, or the keys that you noted from step 2. (Note: If you used step 2, once you locate the key, look at the key or sub-key that immediately follows it in the Registry. If you did not have the appropriate permissions to access the key, it would not have even been logged through the RegMon utility and, as such, the entry you noted in step 2 will be the last successful read/write. Therefore, the one that followed it caused the error to occur.
2. On the Security menu, give the appropriate permissions to the key so that you, and Visual Basic, can access it:
Administrators - Full Control
Everyone - Read
System - Full
Users - Read
Modify the user list to suite your needs.
3. Sometimes REGEDT32 is not able to access the key, and it gives you an error stating that the security account information cannot be retrieved or found. You can fix this in the following ways:
a. On the Control Panel, double-click the Services icon.
b. Verify that the Task Scheduler is running and start it if it is not.
c. Open a command prompt. (DOS Prompt) (Note: The window caption says Command Prompt.)
d. Type the following command to schedule a new command prompt:AT 13:10 /Interactive cmd.exe
e. Change 13:10 to whatever time you want the cmd.exe (command prompt) to run: for example, one or two minutes from your current time.
f. Wait until this new command prompt starts. (Note: The window caption is similar to C:\Winnt\System32\MSTask.exe.) If the command prompt fails to start, please see Knowledge Base article 193852 (http://support.microsoft.com/kb/193852/EN-US/) "Task Scheduler May Fail to Run Job When Scheduled"
Because the Task Scheduler is running under the SYSTEM account, the new command prompt is created running under the SYSTEM security context.
g. From the new command prompt, type the following, and then press enter: REGEDT32.EXE Because you start this process from the SYSTEM command prompt, REGEDT32 is also running under the SYSTEM security context.
h. Repeat the preceding step 2, and then reset the permissions.
Correct this problem with Registry Cleaner Software
Incorrectly editing the registry may severely damage your system. Registry repair without appropriate software requires a high degree of expertise. You must be careful: you could end up with removing critical registry entries and information that will damage your system and jeopardise its stable operation. This would mean spending more money to get costly computer repair and, most probably, recovering lost data (in certain instances this may not be even possible).
Registry repair software fixes all your registry problems including all errors and instances of fragmentation.
Related Trouble Shooting Tips
-
How to repair windows code 19 registry?
Code 19: Windows cannot start this hardware device because its configuration information (in the registry) is incomplete or damaged (See: How to repair...
Add Time:07.11, 2008 Hits:22,021
-
How to fix registry error loading key warcraft iii error?
Warcraft III: Reign of Chaos is a real-time strategy computer game released by Blizzard Entertainment. Warcraft III contains four...
Add Time:07.10, 2008 Hits:12,564
-
Registry Editing Has Been Disabled By Your Administrator
When you try to edit the registry editor you may receive the following error
Registry editing has been disabled...
Add Time:07.27, 2008 Hits:5,776
-
Windows Blue Screen Of Death error: STOP: 0x00000050
This Stop error indicates that requested data was not in memory. The system generates an exception error when using a reference to an invalid...
Add Time:08.26, 2008 Hits:4,693
-
How to troubleshoot a "STOP 0x00000051 REGISTRY ERROR" error message?
This issue can occur if there is a registry or Configuration Manager problem with your computer. The error message that...
Add Time:06.11, 2008 Hits:3,964
-
How to fix error accessing the registry?
When you access the References dialog box in the Visual Basic integrated development environment (IDE) or any Visual Basic for Applications (VBA)...
Add Time:07.10, 2008 Hits:3,961
-
Error 1406: Setup cannot write the value to the registry key
When you try to install Microsoft Office XP on a Microsoft Windows 2000-based computer, you...
Add Time:08.20, 2008 Hits:3,306
-
Regsvr32.exe error messages in Windows Vista
The following list contains RegSvr32 error messages and possible causes.
You can use the Regsvr32 tool...
Add Time:08.29, 2008 Hits:3,300
-
Error message in Windows Internet Explorer 7: "Invalid character"
Error message when you try to open an ActiveX control-based MIME handler in Windows Internet Explorer 7: "Invalid character"....
Add Time:08.21, 2008 Hits:3,229
-
Windows Blue Screen Of Death error: STOP: 0x00000024
This Stop error indicates that a problem occurred within Ntfs.sys, the driver file that allows the system to read and write to drives...
Add Time:08.26, 2008 Hits:3,175
|