Solved

ASPNET and IUSR accounts don't exist

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

Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

Question has a verified solution.

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

If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
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.
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

695 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