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 originated 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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With