Getting error "Failed to access IIS metabase."

Getting error "Failed to access IIS metabase."

am 23.01.2007 16:59:03 von JoeRattz

I 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.

Re: Getting error "Failed to access IIS metabase."

am 23.01.2007 17:11:03 von Anthony Jones

"Joe Rattz" wrote in message
news:33431FA3-9A89-469D-8A17-D54CE9963594@microsoft.com...
> I 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?
>

Ask the question in microsoft.public.dotnet.framwwork.aspnet group,
this group is for Classic ASP.