IIS Server Security - Getting error "Failed to access IIS metabase." - with ASP.NET 2.0

This is Interesting: Free IT Magazines  
Home > Archive > IIS Server Security > January 2007 > Getting error "Failed to access IIS metabase." - with ASP.NET 2.0





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." - with ASP.NET 2.0
Joe Rattz

2007-01-18, 1:16 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.

Joe Rattz

2007-01-23, 1:22 pm

Is there a more appropriate place to post this problem?

"Joe Rattz" wrote:

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

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com