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

Home Posts Topics Members FAQ

Failed to access IIS metabase (ASP.NET 2.0)

Hey all,

First off, I know some people have had this problem, and I read their
post. However, I am still clueless... =( Here's the problem:

I have a local IIS on my computer which I am using to run ASP.NET 2.0
locally. However, after I build my web page and try to show it in the
browser, it gives this error:

---

Failed to access IIS metabase.
Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.

Exception Details: System.Web.Hosting.HostingEnvironmentException:
Failed to access IIS metabase.

The process account used to run ASP.NET must have read access to the
IIS metabase (e.g. IIS://servername/W3SVC). For information on
modifying metabase permissions, please see
http://support.microsoft.com/?kbid=267904.

---

Now, I did go to the link which told me to type:
aspnet_regiis -ga <WindowsUserAccount> into the Visual Studio command
prompt. Now, my username to my computer is "Kivak". Is that what I put
in replacement to <WindowsUserAccount>?? I tried that and it keeps
coming back with how to use the command... Is there something I am
missing?

Thanks,
Kivak

Jun 29 '06 #1
2 3289
To update: I tried the username of KIVAK all uppercase and it granted
the rights. However, I keep getting the same message when i try to go
to the website. =(

Jun 29 '06 #2
Update: I solved the problem using the other thread (after much
comtemplation of the contents). If your interested in the solution, I
ended up entering the following lines into the Visual Studio command
prompt:

aspnet_regiis -i
aspnet_regiis -ga <THEUSERNAMEINUPPERCASE>

I don't know if you need the second line, but I did it anyway.

Jun 29 '06 #3

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

Similar topics

3
1886
by: Microsoft | last post by:
Hello all, Here's the setup: I've got VS.NET 2003 installed on a Windows 2003 Server. I've got multiple sites configured as listed below using host headers: dev.mydomain.com ip: 127.0.0.1...
13
1005
by: Adam | last post by:
Trying to get an asp.net 2.0 app running and am receiving this error. I see a bunch of people with this error on the net, but no solution: Works fine on my local machine, deployed to a server it...
5
45545
by: David Veeneman | last post by:
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...
1
2006
by: rolfejr | last post by:
I have what I think is a simple question but I am finding nothing but complicated answers. I have a web site running on IIS6. One directory used to use an alternate account as the anonymous...
2
2666
by: Chris Newby | last post by:
After googling this I got lots of information and tried a few different things. However pages for a particular site are still consistantly failing with "Access Denied to C:\ ... \Temporary Asp.Net...
1
1531
JustRun
by: JustRun | last post by:
Hi, Actually this is the first time for me to work with ASP.NET 2.0, When I debug my site through VS 2005 it works very well, but the problem arise when I tried to use IIS. Regarding that IIS...
2
3969
by: John | last post by:
Hi I am getting the below error while trying to run app. What is the problem and how can I fix it? Thanks Regards
0
7046
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
7088
jinu1996
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...
1
6741
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
6956
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...
0
5342
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4485
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
2986
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
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.