Solved

ASPNET and IUSR accounts don't exist

Posted on 2009-07-08
2
465 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
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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

705 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now