Monday, December 1, 2008

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

Source : http://support.microsoft.com/kb/555583

SUMMARY
In this article, you will learn how to fix an exception which occurs rarely with...

In this article, you will learn how to fix an exception which occurs rarely with an ASP.NET 2.0 application.

SYMPTOMS
The HostingEnvironmentException error occurs when you attempts to run an ASP.NET...

The HostingEnvironmentException error occurs when you attempts to run an ASP.NET 2.0 application.

CAUSE
The most probable cause for this error is that you must have installed Internet...

The most probable cause for this error is that you must have installed Internet Information Services (IIS) after the installation of Microsoft .NET Framework 2.0.

RESOLUTION
Follow the steps given below to fix this error (1) Go to Start | Control Panel |...

Follow the steps given below to fix this error

(1) Go to Start | Control Panel | Add and Remove Programs

(2) Click on the entry titled Microsoft .NET Framework 2.0 and select Change/Remove. The Microsoft .NET Framework 2.0 Setup dialog box opens up.

(3) Select the option titled Repair and the setup automatically performs the required repair work.

(4) You will be prompted to reboot the system after the completion of the process.

(5) Run the affected ASP.NET 2.0 application once again and the application should work fine without any problems.

No comments: