473,480 Members | 1,839 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

"Failed to access IIS metabase" on XP

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>aspn et_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?
Mar 17 '06 #1
5 45544
"David Veeneman" <da****@nospam.com (domain is my last name)> said:
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".


Reformatting seems a bit extreme...

But to try and answer your question,
You have to explicitly assign read rights to the directory for the
ASP.NET local machine user. This seems to occur primarily when the
site is a virtual directory not contained within the INETPUB folder.
ASP.NET also has to have access to the root of the site, so that it
can access global.asax.

FWIW,
Greg G.
Mar 17 '06 #2
Had to reformat for another reason. I've assigned read rights for the IUSR
account, and read-write permissions for the ASPNET account. The error has to
do with the metabase, not NTFS.
Mar 17 '06 #3
"David Veeneman" <da****@nospam.com (domain is my last name)> said:
Had to reformat for another reason. I've assigned read rights for the IUSR
account, and read-write permissions for the ASPNET account. The error has to
do with the metabase, not NTFS.


Ah... that's what the error _says_. ;-)

We had the same problem.
Ran aspnet_regiis.exe, didn't help.
Explicity set permissions, and it worked on our 2003 server.

Have you tried:

aspnet_regiis.exe -ga aspnet

FWIW,
Greg G.
Mar 17 '06 #4
Actually, I ended up using blunt force:

aspnet_regiis -i

That option sets the metabase permissions. not the most delicate way to get
the job done, but no harm in this case.
Mar 18 '06 #5
"David Veeneman" <da****@nospam.com (domain is my last name)> said:
Actually, I ended up using blunt force:

aspnet_regiis -i

That option sets the metabase permissions. not the most delicate way to get
the job done, but no harm in this case.


The -ga [user] option grants metabase authority to a supplied user.

The -i option re-integrates ASP.Net and updates the script-maps,
metabase root down. With Windows, whatever works! ;-)

FWIW,

Greg G.
Mar 18 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1773
by: New MSSQL DBA | last post by:
hi all, have anyone else met with the following problem. we've got a SQL2000SP3a on a 2 active-active node clusters of W2K3, this cluster in using AD. I've found that whenever I use Enterprise...
1
3135
by: szudor | last post by:
Hi, When I start db2cc, the program hangs with memory access violation in javaw.exe. Strating with trace option, in java trace file I found the following information: 0SECTION TITLE...
1
2871
by: bonnie.tangyn | last post by:
Hello all I get Too few parameters expected 2 error and "The MS Jet Database engine cannot find the input table or query "myTempTablename". Make sure it exists and that its name is spelled...
0
2583
by: lpinho | last post by:
Hi There, I've generated a C# file from a wsdl file using wsdl.exe utility. Then I created a console application and made a call to the method generated, first I got the error: "The request...
4
11435
by: Clint | last post by:
All, I can't seem to find a solution to this problem. I'm not sure if this is a Visual Studio problem, a .NET Framework problem, an IIS problem, or an ASP.NET problem, so please stick with me...
13
4719
by: Kevin Liebowicz | last post by:
Yes, I wasted the past two days trying to fix this. Yes, this is on a Win2003 Server. Yes, this machine is a domain controller. Yes, I seen the dozens of KB articles like this one:...
6
2905
by: hadad.yaniv | last post by:
Hello, i am new to c++, i hav a vector of typed object: vector<Man*People; When i do a second pushback, even for the same object the program crash say: "An Access Violation (Segmentation...
3
8709
blazedaces
by: blazedaces | last post by:
Hello, it's been a while since I posted on these forums. My issue I think isn't as much in my code as it's in the syntax and structure in references other packages. I'll get straight to it then: ...
4
2434
by: aleshaba | last post by:
I am getting "Failed to access IIS metabase" when I am running my website from ASP.NET. Can somebody assist me?
0
7041
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6908
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7043
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6737
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
6921
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4776
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
2995
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1300
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
563
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.