For Programmers: Free Programming Magazines  


Home > Archive > ASP > January 2007 > Getting error "Failed to access IIS metabase."









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Getting error "Failed to access IIS metabase."
Joe Rattz

2007-01-23, 6:57 pm

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.


Anthony Jones

2007-01-23, 6:57 pm


"Joe Rattz" <JoeRattz@discussions.microsoft.com> 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.


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com