Solved

ASPNET and IUSR accounts don't exist

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
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…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

828 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