Thursday, March 25, 2010

Failed to access IIS metabase ASP.NET 1.1 2.0 3.5 Web Server Error




Please visit my new Web Site https://coderstechzone.com



After installing IIS server when you browsing Asp.net web site or an asp.net aspx page in IIS server then you may getting or encounter an error named "Failed to access IIS metabase".

Error Description:
An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details:
System.Web.Hosting.HostingEnvironmentException: Failed to access IIS metabase.

Reason:
you may have installed IIS Server after installing the .NET framework.

Error Screen shot:

Metabase Error


Solution:

This Error Caused Because You does not Register ASP.Net with IIS. Please Follow the below Steps to Regiser ASP.Net With IIS:

Step 1: Go to Start then Run
Step 2: Write cmd and then press enter
Step 3: Go to your windows directory. Here i am considering c Drive
Step 4: Type C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis -i
Step 6: Change the path based on your local path.
Step 7: Wait a few moment until a message comes Successfully Register.

metabase solution

Note: If you multiple .net version like Asp.net 1.1,Asp.net 2.0 or Asp.net 3.5 then modify the above command accordingly & run.

Hope now your problem has been resolved.

0 comments:

Want to say something?
I WOULD BE DELIGHTED TO HEAR FROM YOU

Want To Search More?
Google Search on Internet
Subscribe RSS Subscribe RSS
Article Categories
  • Asp.net
  • Gridview
  • Javascript
  • AJAX
  • Sql server
  • XML
  • CSS
  • Free Web Site Templates
  • Free Desktop Wallpapers
  • TopOfBlogs
     
    Free ASP.NET articles,C#.NET,VB.NET tutorials and Examples,Ajax,SQL Server,Javascript,Jquery,XML,GridView Articles and code examples -- by Shawpnendu Bikash