Aspdotnet-Suresh

aspdotnet-suresh offers C#.net articles and tutorials,csharp dot net,asp.net articles and tutorials,VB.NET Articles,Gridview articles,code examples of asp.net 2.0 /3.5,AJAX,SQL Server Articles,examples of .net technologies

Failed to access IIS metabase in ASP.NET

Dec 13, 2011
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

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.

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 issue

Happy 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.

subscribe by rss Subscribe by RSS subscribe by email Subscribe by Email

5 comments :

Anonymous said...

amazing i always support to this site and help of this site.......Thanks heartly...

Anonymous said...

thanks suresh.. for giving great solution

VISHAL AGRAWAL said...

Thanks a lot...

Anonymous said...

Thank you for good support

Anonymous said...

Thanks a lot for the help. You saved my time!!

Give your Valuable Comments

Note: Only a member of this blog may post a comment.

© 2015 Aspdotnet-Suresh.com. All Rights Reserved.
The content is copyrighted to Suresh Dasari and may not be reproduced on other websites without permission from the owner.