Introduction:
Here I will explain how to solve the problem “Failed to access IIS metabase ASP.NET” when we try to browse website using asp.net
Here I will explain how to solve the problem “Failed to access IIS metabase ASP.NET” when we try to browse website using asp.net
Description:
In my machine I tried to access one of the website from IIS at that time I got error like “Failed to access IIS metabase ASP.NET”. I realized that problem because of process model user account (in our case, ASPNET) does not have the correct user rights for the required system files and folders to run the ASP.NET worker process and apparently there is a bug in the ASP.NET install.
In my machine I tried to access one of the website from IIS at that time I got error like “Failed to access IIS metabase ASP.NET”. I realized that problem because of process model user account (in our case, ASPNET) does not have the correct user rights for the required system files and folders to run the ASP.NET worker process and apparently there is a bug in the ASP.NET install.
To solve this problem follow below steps:
Open visual studio command prompt and type below command and run
aspnet_regiis -ga machinename\ASPNET |
After run the above command Reset the IIS and test the application that resolve your issue.
If above command doesn’t resolve your problem then try to run below command in visual studio command prompt
aspnet_regiis -i |
Alternatively we can run above command from our windows command prompt also
Go to the Start menu and open Run and enter
and click Ok
%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe –I |
After that
Reset the IIS and test the application that resolves your issueHappy Coding………
If you enjoyed this post, please support the blog below. It's FREE! Get the latest Asp.net, C#.net, VB.NET, jQuery, Plugins & Code Snippets for FREE by subscribing to our Facebook, Twitter, RSS feed, or by email. |
|||
|
|||
5 comments :
amazing i always support to this site and help of this site.......Thanks heartly...
thanks suresh.. for giving great solution
Thanks a lot...
Thank you for good support
Thanks a lot for the help. You saved my time!!
Note: Only a member of this blog may post a comment.