Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jan 23, 2013 12:59 PM by ArshadAminKhan
Jun 01, 2010 06:45 PM|LINK
I am attempting to install the ASP.NET 4.0 runtime to IIS by running the following command:
But each time I do, I receive the following error message:
An error has occurred: 0x8007b799
You must have administrative rights on this machine in order to run this tool.
I am running Windows 7. I run the command prompt with elevated rights (run as admin and accept UAC prompt) but still get this error.
I have checked for the correct rights on the folder containing the aspnet_regiis.exe tool (Full Administrative rights), but still this message persists!
Any suggestions as to what I am missing?
Jun 01, 2010 10:51 PM|LINK
Turning off the UAC fixes this issue.
Start > Control Panel > System and Security > Action Center > Choose Your UAC Level -
Set this to Never Notify (Requires a restart);
I hope this helps some one.
Sep 06, 2010 11:00 PM|LINK
It did - nowhere else on the Internet did I find this mentioned but it is EXACTLY what helped me. For anyone that comes along later, my environment was Windows 7, IIS 7 and .NET 4.0.
Sep 06, 2010 11:18 PM|LINK
I know that your problem is fixed but my curiousity wants to know what is wrong hete because opening a command prompt as an administrator is enough to be able to run the asp.net registration tool.
When you open the prompt as admin does the title of the command prompt start with "Administrator:"?
Does it work when you open a Visual Studio command prompt as an admin?
Sep 07, 2010 12:41 PM|LINK
Yes, the command prompt window clearly said it was an administrator - in fact I tried with both a domain admin and local admin account. The only thing that worked was turning off UAC (and rebooting - you have to reboot after turning off UAC).
Sep 07, 2010 08:45 PM|LINK
Very odd but I am glad you managed to get it working.
Jan 23, 2011 08:43 AM|LINK
I noticed today that in cmd prompt run as Administrator
this command doesn't work :
(it writes help and does not do nothing else)
BUT if you do:
..then it executes normaly.
So looks like it depends on working directory (paths)
This way I just solved my problem:
Error handlihng could be more specific about that.
Does anybody find this as usefull tip?
aspnet_regiis.exe solved PageHandlerFactory ManagedPipelineHandler
Jan 23, 2013 12:59 PM|LINK
open the command prompt with administrator access by
Start -> All Programs -> Accessories -> Command Prompt -> right click -> run as administrator
Then run the same command, it works fine.
It will Inshallah Work