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
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.

1 comment:

  1. Hi,

    I would recommend "HostGator" for your web hosting because it's very cheap and reliable. Their support service is awesome. This company offers site building tools, application vault, web mail, antivirus, Php, MysQL ,e-commerce and hosts unlimited websites in one plan. Don't go for free web hosting.They are not reliable. Check it out here (read the User Reviews):