Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

ASPNET and IUSR accounts don't exist

Posted on 2009-07-08
2
Medium Priority
?
476 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 2000 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
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…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

636 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