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? 5 45541
"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.
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.
"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.
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.
"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. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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...
|
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...
|
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...
|
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...
|
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...
|
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:...
|
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...
|
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:
...
|
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?
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
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...
|
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,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
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...
| |