Failed to access IIS metabase
I am having too much trouble with this IIS. First it was giving me an error Virtual directory denied.
I realized there was no default.aspx in the documents tab.. (it has default.asp, default.htm, iistart, index.htm). Checked that liitle box enable default documents
Now it says Failed to access IIS metabase Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it origi开发者_开发问答nated in the code.
Exception Details: System.Web.Hosting.HostingEnvironmentException: Failed to access IIS metabase
This is the first time working on IIS.. So I need ur hints and fixes
Thanks SC
You need to install the .net framework on you system
Open visual studio command prompt and type this command
aspnet_regiis -ga <UserName>
if this doesn'twork than use this command
aspnet_regiis -i
alternatively you can copy and paste this command into windows command prompt
%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i
this will fix your problem
精彩评论