register ASP.NET An error has occurred: 0x8007b799

A common problem in IIS 7.5 in Windows 7. If you want to re register IIS after installing vs, the following problems will occur

win7 permission control is really disgusting, so sometimes permission problems occur when running commands in the CMD window:

C:/Windows/Microsoft.NET/Framework/v4.0.30319> aspnet_ regiis  - i  

An   error has occurred:0x8007b799  

You   must have administrative rights on   this   machine   in   order to run   this   tool.

Solution: run cmd.exe as an administrator, enter CMD in the search, find cmd.exe, and run it as an administrator.


Read More: