Getting error "Failed to access IIS metabase." - with ASP.NET 2.0
am 18.01.2007 19:27:01 von JoeRattzI am getting the "Failed to access IIS metabase." error message trying to hit
an ASP.NET 2.0 application on my development box.
I installed things in the natural order. I can't recall if I installed IIS
(5.1) before or after .NET 1.1 and Visual Studion 2003 (installed 3 years
ago), but this same box had (and still has) ASP.NET 1.1 applications that run
just fine.
Recently, I installed Visual Studio 2005. When I hit an ASP.NET 2.0
application I get the "Failed to access IIS metabase." error message.
If I set the userName to SYSTEM in the processModel of the machine.config
file, the appliaction works just fine. Omitting the userName attribute gives
me the error. From reading other posts, this is indicative of a permissions
problem. So, without specifying the userName, I tried the application while
running filemon, but I don't see any file access getting denied like I
expected to see based on the posts I have read.
I have run:
aspnet_regiis -i
and
aspnet_regiis -ga ASPNET
and neither of them resolves the problem. I have also tried reinstalling
..NET 2.0 and that didn't fix anything either.
What do I do next?
Thanks.