Link to home
Start Free TrialLog in
Avatar of dtotten800
dtotten800

asked on

ASPx web page error - Failed to access IIS metabase

I get the following Error message when i try to http to aspx web page:

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.

The process account used to run ASP.NET must have read access to the IIS metabase (e.g. IIS://servername/W3SVC).

Actions I have taken:
I downloaded metaacl.exe
i ran command below:
D:\Profiles\dtotten\Desktop\Mtest>MetaACL "IIS://Localhost/W3SVC" vcacase\dtotten RW
Then i went to access web page and got same errror.

Does anybody have any other Advice
ASKER CERTIFIED SOLUTION
Avatar of chinu1310
chinu1310
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dtotten800
dtotten800

ASKER

This was the fix, thanks alot.


C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis -i
Start installing ASP.NET (2.0.50727).
...............
Finished installing ASP.NET (2.0.50727).
Glad to see your problem solved.