When I create a new project I get "Requested registry access not allowed"

When I create a new project in Microsoft Visual C# 2005 Express Edition in my Limitied User Account, Microsoft Visual C# 2005 says "Requested registry access not allowed". How do I correct this problem? I'm running Microsoft Windows XP Home.
[243 byte] By [crnriman] at [2008-2-22]
# 1

Hi crnriman,

Hope this helps you or someone else with similar problem. The solution is to run REGEDT32.EXE and add at least Read-access permissions for HKCR\VCSExpress.* keys group for your account or just Everyone group. As for me, I went further and to be sure I don't miss some other keys, I assigned standard rights for whole HKEY_CLASSES_ROOT branch (which are standard rights you may discover by looking at some other, earlier existed, correctly installed keys). After this I'm able to create projects just fine.

P.S. While I discovered this problem (SysInternals' RegMon much helped here), I noticed also some other errors, particulary Buffer overflow errors. Maybe that's okay and developers aware - just wanted to mention.

Smokie at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Visual C# 2005 Express Edition...
# 2

Smokie's answer was correct. Just so you know, I got the same error running Visual Studio 2005 Standard Edition on Windows XP Professional. I also run a limited user account (on XP Pro, they are simply called "Users"). I selected "Add New Item" to try and add a .cs file to an existing project, and got the same error.

Using Smokie's suggestion, I opened up REGEDT32.EXE (with Admin permissions, of course) and changed the permissions for the following keys:

HKEY_CLASSES_ROOT\VisualStudio.cs.8.0
HKEY_CLASSES_ROOT\VisualStudio.csdproj.8.0
HKEY_CLASSES_ROOT\VisualStudio.csproj.8.0

Nothing was there for the "Users" group. I added read permission, and voila, it worked. Note that I only changed the keys for the C# files; if I ever program in Visual Basic I'd have to change those keys as well (you can figure out which keys they are by looking at the names). Hopefully Microsoft will fix this before I find myself touching VB

JamesQMurphy

JamesQMurphy at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Visual C# 2005 Express Edition...
# 3

i have the same issue, i have set admin rights, this dosent help with reg edit i am useing vista can u plz

help me resolve this i have home basic vista. i would like to get my c# c++ vb and java working so i can get on

with my programing. dont want to change registery without knollage its gonna be fine thx......

all patched also uptodate at present.

thx

MusicGod at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Visual C# 2005 Express Edition...