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.

APPLIES TO
Microsoft Internet Information Services 6.0
Keywords:
KB555583
Creative Commons License
이올린에 북마크하기(0) 이올린에 추천하기(0)
Posted by firstdrive
◀ PREV : [1] : [2] : [3] : [4] : [5] : ... [120] : NEXT ▶

BLOG main image
by firstdrive

공지사항

카테고리

DEVELOP (120)
asp (9)
ms-sql (21)
javascript (24)
ajax (1)
prototype (1)
virus (1)
잡다한것들.. (33)
network (1)
html (1)
php + mysql (7)
jsp (7)
java (4)
vbscript (1)
windows (3)
apache (1)
보안 (3)
flash (1)
asp.net (1)
Total : 12498
Today : 7 Yesterday : 104