Failed to access IIS metabase.

G

Guest

Hi:

I'm getting this error when I try to browse to a .aspx page that is located
on a virtual directory located on my Win XP Pro machine. There's more text in
the page that is displayed that says "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"

I tried to execute the steps in that Knowledge Base article. However, when I
try to run "aspnet_regiis -ga aspnet" the command just comes back and
displays all its options (some help text).

Can someone please tell me what I'm doing wrong?

Thanks,

Jibey
 
J

Juan T. Llibre

re:
when I try to run "aspnet_regiis -ga aspnet"

You have to use a full name :

aspnet_regiis -ga DomainName\AccountName
....if you're using a domain account

or
aspnet_regiis -ga MachineName\AccountName
....if you're using a local account

Try :

aspnet_regiis -ga MachineName\ASPNET if you're running Windows XP.
 
G

Guest

Well, depending on your OS, the Metabase is in
C:\WINDOWS\system32\inetsrv

Aside from reinstalling IIS and the framework you can try right-clicking on
the folder and granting read permission to the ASPNET account. Sounds like
you've hosed something.
Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,906
Latest member
SkinfixSkintag

Latest Threads

Top