Monday 18 May 2009

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

Recently I was installing CruiseControl.Net Server and got the following error when tried to open Server Dashboard “Server Error in '/ccnet' Application. Failed to access IIS metabase.”Appears that if IIS Server was installed after installing .Net Runtime then it will not have .Net correctly registered with it. To fix this all we need to do is to run

aspnet_regiis.exe /r
or
apsnet_regiss.exe /i if running Vista. /r option is not available under Vista.

Above utility is very useful for solving .Net related issues and have different options to work with .Net.

No comments:

Post a Comment