D
David Veeneman
I had to reformat my Windows XP Professional development machine yesterday
and reinstall everything, including IIS and VS 2005. I thought I had worked
out the procedure to get ASP.NET up and running on a local machine, but I am
getting this error when I try to open a web app on the local IIS
installation: "Failed to access IIS metabase".
Okay--the ASPNET account doesn't have access to the IIS metabase. I ran
aspnet_regiis with the -ga option on the ASPNET user account, as follows:
aspnet_regiis -ga ASPNET
The command executed fine, and returned success:
**********
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis -ga ASPNET
Start granting ASPNET access to the IIS metabase and other directories used
by ASP.NET.
Finished granting ASPNET access to the IIS metabase and other directories
used by ASP.NET.
**********
So the ASPNET account now has metabase permissions. I ran iisreset.exe to
reset IIS, and reopened the web app-- and I got the same error.
Any idea what's going on here? How do I fix this problem?
and reinstall everything, including IIS and VS 2005. I thought I had worked
out the procedure to get ASP.NET up and running on a local machine, but I am
getting this error when I try to open a web app on the local IIS
installation: "Failed to access IIS metabase".
Okay--the ASPNET account doesn't have access to the IIS metabase. I ran
aspnet_regiis with the -ga option on the ASPNET user account, as follows:
aspnet_regiis -ga ASPNET
The command executed fine, and returned success:
**********
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis -ga ASPNET
Start granting ASPNET access to the IIS metabase and other directories used
by ASP.NET.
Finished granting ASPNET access to the IIS metabase and other directories
used by ASP.NET.
**********
So the ASPNET account now has metabase permissions. I ran iisreset.exe to
reset IIS, and reopened the web app-- and I got the same error.
Any idea what's going on here? How do I fix this problem?