System.Web.Hosting.HostingEnvironmentException: Failed to access IIS metabase
SUMMARY
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 2.0 application.
CAUSE
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 | 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.
(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.
APPLIES TO
| • | Microsoft Internet Information Services 6.0 |
Keywords: |
KB555583 |
'asp.net' 카테고리의 다른 글
| System.Web.Hosting.HostingEnvironmentException: Failed to access IIS metabase (0) | 2008/08/11 |
|---|
이올린에 북마크하기
이올린에 추천하기
