I have logged on as administrator, and also tried running both apps as admin... no joy there...
I installed VS 2008 Beta 2 Standard and Expresion Blend August CTP
I can create a non silverlight project in VS 2008, but can't create any projects of any type in Expresion Blend
No other text is displayed with the registry error for VS 2008. It is simply a window by itself with that message.
Quite simply to replicate, I open VS 2008, select new project and try to create a silverlight app.
In Blend, I try to create any new project and it gives the registry error and then closes the Blend App. Application is no longer running as a process as checked in task manager
I get installed Silverlight Tools Beta 1 for VS 2008 and i have the same problem... Silverlight and others fetures can't access to some REGISTRY KEYS during installation and later...
When i try to create a new Silverlight 2 Project, i notice that Visual Studio can't access HKEY_CLASSES_ROOT AgControl.AgControl beacause that key don't has Assigned Permissions... THE NIGHMARE begin when I open the HKEY_CLASSES_ROOT and i give permissions
to SYSTEM user... ( Read, Create SubKey and Set Value )... then Silverlight an VS runs and I can create and open the projects... but few seccons later... all system features that have any registry deppendency begin to FAIL... For example, The Start Menu
links don't run... The Security Center can't be access... The Network Connection are unavailable but Internet still run... Windows Update can't read the Installed Updates List... Visual Studio lose the Framework references and the projects can't be Rebuilded...
I can't access to the Disks Managment... I can't change or intall because Windows report an "Windows Installer is not installed" or "There isn't space to complete the operation"... Symantec Norton EndPoint show all features buttons disbled... Maybe 70% of
Services stop run... Finally... I have to Reboot my PC and enter to the REPAIR INSTALLATION MODE for Windows Vista.
The Malicious Software remover reports 0 Infections
I use Administrator account, Windows Ultimate.
Now i'm trying to detect the HKEY_CLASSES_ROOT that Silverlight need to access in order to run after installed.
Hi, I'm having the same problem. However, I am using VWD Express 2008 SP1 on Vista Ultimate 32-bit. I do not have a key for "VisualStudio.vbproj.9.0" and when I run the others, some are modified, but some fail.
Now, I have uninstalled all VB and Silverlight products and reinstalled to no avail. Neither can I view the Showcase on this site. I have another thread on that issue. I also have SQL Server Express 2008 installed, but did not uninstall that.
If you aren't running the same development software that I am my solution won't work cookie cutter for you. If you are willing to get your hands dirty I think you might be able to solve it however.
Download a tool from Microsoft called
Process Monitor. This is a pretty powerful tool that captures many of the events that are occuring on your computer. When you start it up it will allow you to turn on/off capturing of these events. Considering vista is generating tens/hundreds of thousands
of events ever few seconds you want to make sure you only turn on the capture right before the error is generated and then be quick to turn the capture back off.
So the steps I went through were:
turn on event capture in process monitor
startup my dev tool and get the registry error
turn off event capture in process monitor
use the process monitor filtering to eliminate all events I don't care about
Once I did this I was able to see the registry keys that silverlight was failing to access. I then executed the following lines on each of those keys:
voyager@lone...
Member
4 Points
3 Posts
Requested registry access is not allowed
Aug 23, 2007 11:26 PM | LINK
I've installed VS 2008 Beta but can't create a new silverlight project. I get the error....
Requested registry access is not allowed.
I have also installed the August CTP of Expression Blend and get the same error when trying to start ANY new project. Blend then closes !
Why doesn't anything work simply with Vista and Microsoft anymore !!!!!!
Jonathan [MSFT]
Member
255 Points
85 Posts
Microsoft
Re: Requested registry access is not allowed
Aug 24, 2007 12:04 AM | LINK
voyager,
Few things are more frustrating than your tools not working as expected. Let's see if we can't narrow down the cause.
Are you logged in under an administrator account?
Which Visual Studio 2008 Beta 2 product did you install (Express, Standard, Professional, etc.)?
Did you install the Microsoft Silverlight Tools Alpha for Visual Studio 2008 Beta 2 (http://www.microsoft.com/downloads/details.aspx?FamilyId=B52AEB39-1F10-49A6-85FC-A0A19CAC99AF&displaylang=en)?
Can you create a non-Silverlight project with Visual Studio 2008 Beta 2?
What other text is displayed with the "Requested registry access is not allowed" error?
Can you provide the steps up to the receiving the error in Visual Studio and Blend so I can attempt to replicate it?
When Expression Blend 2 August Preview closes after the error, is the process still running? (Windows Task Manager > Processes tab)
Thank you for your patience and assistance,
voyager@lone...
Member
4 Points
3 Posts
Re: Requested registry access is not allowed
Aug 24, 2007 01:59 AM | LINK
G'day Jonathan,
Thanks for the reply....
I have logged on as administrator, and also tried running both apps as admin... no joy there...
I installed VS 2008 Beta 2 Standard and Expresion Blend August CTP
I can create a non silverlight project in VS 2008, but can't create any projects of any type in Expresion Blend
No other text is displayed with the registry error for VS 2008. It is simply a window by itself with that message.
Quite simply to replicate, I open VS 2008, select new project and try to create a silverlight app.
In Blend, I try to create any new project and it gives the registry error and then closes the Blend App. Application is no longer running as a process as checked in task manager
No worries re: The patience....
Cheers,
Craig.
voyager@lone...
Member
4 Points
3 Posts
Re: Requested registry access is not allowed
Aug 24, 2007 02:00 AM | LINK
Forgot to mention, I had installed the Microsoft Silverlight Tools Alpha for Visual Studio 2008 Beta 2...
Jonathan [MSFT]
Member
255 Points
85 Posts
Microsoft
Re: Requested registry access is not allowed
Aug 24, 2007 04:14 PM | LINK
Thank you, Craig.
I've sent you a private message with instructions on how to submit a crash dump to me.
brettr
Member
119 Points
123 Posts
Re: Re: Requested registry access is not allowed
Aug 30, 2007 05:16 AM | LINK
Did you guys ever resolve this? I'm having a very similar problem with the registry access denied error - http://silverlight.net/forums/t/4219.aspx.
tekmo
Member
30 Points
9 Posts
Re: Requested registry access is not allowed
May 24, 2008 04:21 PM | LINK
Hello all,
I get installed Silverlight Tools Beta 1 for VS 2008 and i have the same problem... Silverlight and others fetures can't access to some REGISTRY KEYS during installation and later...
When i try to create a new Silverlight 2 Project, i notice that Visual Studio can't access HKEY_CLASSES_ROOT AgControl.AgControl beacause that key don't has Assigned Permissions... THE NIGHMARE begin when I open the HKEY_CLASSES_ROOT and i give permissions to SYSTEM user... ( Read, Create SubKey and Set Value )... then Silverlight an VS runs and I can create and open the projects... but few seccons later... all system features that have any registry deppendency begin to FAIL... For example, The Start Menu links don't run... The Security Center can't be access... The Network Connection are unavailable but Internet still run... Windows Update can't read the Installed Updates List... Visual Studio lose the Framework references and the projects can't be Rebuilded... I can't access to the Disks Managment... I can't change or intall because Windows report an "Windows Installer is not installed" or "There isn't space to complete the operation"... Symantec Norton EndPoint show all features buttons disbled... Maybe 70% of Services stop run... Finally... I have to Reboot my PC and enter to the REPAIR INSTALLATION MODE for Windows Vista.
The Malicious Software remover reports 0 Infections
I use Administrator account, Windows Ultimate.
Now i'm trying to detect the HKEY_CLASSES_ROOT that Silverlight need to access in order to run after installed.
Silverlight problems
berandor2008
Member
8 Points
12 Posts
Re: Requested registry access is not allowed
Nov 26, 2008 03:10 PM | LINK
I know this is a bit late in coming but in the off chance that some other poor soul reads this un answered post I will post what I have found to work:
1) Download and install this tool from microsoft:
http://www.microsoft.com/downloads/details.aspx?FamilyID=e8ba3e56-d8fe-4a91-93cf-ed6985e3927b&displaylang=en
2) it probably put the tool in c:\program files\windows resource kits\tools\subinacl.exe
create a batch file: fix.bat that includes these lines:
subinacl /subkeyreg HKEY_CLASSES_ROOT\VisualStudio.vbproj.9.0 /grant=administrators=f
subinacl /subkeyreg HKEY_CLASSES_ROOT\VisualStudio.vbproj.9.0 /grant=users=f
subinacl /subkeyreg HKEY_CLASSES_ROOT\VisualStudio.vbproj.9.0 /grant=system=f
subinacl /subkeyreg HKEY_CLASSES_ROOT\VisualStudio.csproj.9.0 /grant=administrators=f
subinacl /subkeyreg HKEY_CLASSES_ROOT\VisualStudio.csproj.9.0 /grant=users=f
subinacl /subkeyreg HKEY_CLASSES_ROOT\VisualStudio.csproj.9.0 /grant=system=f
subinacl /subkeyreg HKEY_CLASSES_ROOT\VisualStudio.Solution.9.0 /grant=administrators=f
subinacl /subkeyreg HKEY_CLASSES_ROOT\VisualStudio.Solution.9.0 /grant=users=f
subinacl /subkeyreg HKEY_CLASSES_ROOT\VisualStudio.Solution.9.0 /grant=system=f
subinacl /subkeyreg HKEY_CLASSES_ROOT\._sln /grant=administrators=f
subinacl /subkeyreg HKEY_CLASSES_ROOT\._sln /grant=users=f
subinacl /subkeyreg HKEY_CLASSES_ROOT\._sln /grant=system=f
subinacl /subkeyreg HKEY_CLASSES_ROOT\._sln90 /grant=administrators=f
subinacl /subkeyreg HKEY_CLASSES_ROOT\._sln90 /grant=users=f
subinacl /subkeyreg HKEY_CLASSES_ROOT\._sln90 /grant=system=f
subinacl /subkeyreg HKEY_CLASSES_ROOT\AgControl.AgControl /grant=system=f
subinacl /subkeyreg HKEY_CLASSES_ROOT\AgControl.AgControl /grant=users=f
subinacl /subkeyreg HKEY_CLASSES_ROOT\AgControl.AgControl /grant=system=f
Run the batch file...
If you want to see how I arrived at this you can read about it in my blog:
http://novelcoder.blogspot.com/2008/11/silverlight-tried-to-kill-my-computer.html
silver light 2 visual studio requested registry acccess is not allowed novel coder
candaceburts
Member
5 Points
9 Posts
Re: Requested registry access is not allowed
Dec 30, 2008 03:01 AM | LINK
Hi, I'm having the same problem. However, I am using VWD Express 2008 SP1 on Vista Ultimate 32-bit. I do not have a key for "VisualStudio.vbproj.9.0" and when I run the others, some are modified, but some fail.
Now, I have uninstalled all VB and Silverlight products and reinstalled to no avail. Neither can I view the Showcase on this site. I have another thread on that issue. I also have SQL Server Express 2008 installed, but did not uninstall that.
berandor2008
Member
8 Points
12 Posts
Re: Requested registry access is not allowed
Dec 30, 2008 02:11 PM | LINK
Hi candaceburts,
If you aren't running the same development software that I am my solution won't work cookie cutter for you. If you are willing to get your hands dirty I think you might be able to solve it however.
Download a tool from Microsoft called Process Monitor. This is a pretty powerful tool that captures many of the events that are occuring on your computer. When you start it up it will allow you to turn on/off capturing of these events. Considering vista is generating tens/hundreds of thousands of events ever few seconds you want to make sure you only turn on the capture right before the error is generated and then be quick to turn the capture back off.
So the steps I went through were:
Once I did this I was able to see the registry keys that silverlight was failing to access. I then executed the following lines on each of those keys:
subinacl /subkeyreg HKEY_CLASSES_ROOT\KEYNAME /grant=administrators=f
subinacl /subkeyreg HKEY_CLASSES_ROOT\KEYNAME /grant=users=f
subinacl /subkeyreg HKEY_CLASSES_ROOT\KEYNAME /grant=system=f
You can make that a bit easier by putting the following into a fix.bat file:
subinacl /subkeyreg HKEY_CLASSES_ROOT\%1 /grant=administrators=f
subinacl /subkeyreg HKEY_CLASSES_ROOT\%1 /grant=users=f
subinacl /subkeyreg HKEY_CLASSES_ROOT\%1 /grant=system=f
You can then run 'FIX KEYNAME' from your command line for each of the keys you find that are failing.
I hope this gets you going!
silver light registry error