Solved

ASPNET and IUSR accounts don't exist

Posted on 2009-07-08
2
469 Views
Last Modified: 2013-11-26
I have a new computer and I reinstalled Visual Studio 2003 and I'm having all sorts of problems. The latest is this error: "System.UnauthorizedAccessException" and "ASP.NET is not authorized to access the requested resource" advising me to add the ASPNET account to the website.
However, I can't find the IUSR_MyComputer or ASPNET accounts in my computer's user accounts.
How do I add these back?
0
Comment
Question by:lakhi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 21

Accepted Solution

by:
Craig Wagner earned 500 total points
ID: 24808408
The IUSR account is usually created when you install IIS.

The ASPNET account is created when you run aspnet_regiis. If you're using v1.1 of the framework aspnet_regiis should be located at C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe.

C:> aspnet_regiis -i
0
 

Author Comment

by:lakhi
ID: 24809003
I ran the "aspnet_regiis -i" from the command prompt and, I don't know why, but not only is the ASPNET account there but the IUSR acct is there too.

So it worked! Thanks!!
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question