Attempting to create a project in Visual Studio 2008 returns error "Requested registry access is not allowed."
Cause:
A registry key's permissions are preventing you from accessing it.
Solution:
Change registry key permission so you can access it.
Subproblem:
It doesn't tell you which registry key is the culprit.
Determine which registry key is the culprit by using Process Monitor
- Google
"Process Monitor", download & unzip.
(Currently it's at: http://technet.microsoft.com/en-us/sysinternals/bb896645?ppud=4 )
- Run Procmon.exe
to stop it from collecting data
→
→
- Drag the target icon to the title bar of Visual Studio (or whatever program is causing the problem).
This will cause Process Monitor to filter out all events except ones coming from Visual Studio.
- Check the filter by going to
Notice the PID of the process for Visual Studio has been added.
(To reset the filters click 'Reset' upper left.)
→
- Deselect the buttons for:
- Show File System Activity
- Show Network Activity
- Show Process and Thread Activity
- Show Profiling Events
- Show Registry Activity
- Click the Capture button to begin collecting data
- Go back to Visual Studio and recreate the error (try to create a new project, or do whatever caused the error)
- Stop Process Monitor from collecting data
- Look for operation
with result
http://www.texttoolkit.com/index.php?option=com_content&view=article&id=74:visual-studio-requested-registry-access-is-not-allowed&catid=35:technology&Itemid=55
(Note: There may be more than one key causing a problem. You may have to repeat this process again if access to another key is causing the same problem.)
Back to DELEY'S Home Page |