Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Windows 2008, IIS7 user ASPNET Missing

Posted on 2009-05-11
10
Medium Priority
?
1,885 Views
Last Modified: 2012-05-06
I'm moving from Windows 2003 to Windows 2008.

Currently using IIS7.
I have a specific .Net code that requires the system to upload a file to a folder on the server.
I used to give the user ASPNET permission on the folder, but found out that on Windows 2008, the user ASPNET is no longer there. I've also tried with the user NETWORK SERVICE, but it doesn't work.

How can I give the code access to write to the folder?
1.jpg
0
Comment
Question by:dennisdominic
  • 5
  • 5
10 Comments
 
LVL 29

Accepted Solution

by:
David H.H.Lee earned 1500 total points
ID: 24352541
Hi dennisdominic,
Try check this solution:
http://forums.asp.net/p/1378616/2907772.aspx#2907772
0
 
LVL 1

Author Comment

by:dennisdominic
ID: 24352572
now how can I find this user?
"Look at what user the Application pool of your application is running under. That user would need to have write or modify permissions to those folders"
0
 
LVL 29

Expert Comment

by:David H.H.Lee
ID: 24352605
Do you have full permission to control your machine?
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 
LVL 1

Author Comment

by:dennisdominic
ID: 24352639
It's on a virtual hosting company, but I can use Remote Desktop using the Administrator account.
 
 
0
 
LVL 29

Expert Comment

by:David H.H.Lee
ID: 24352707
Hi dennisdominic,
May i know is this a co-location/dedicated server? You need to ask the hosting company support if this is shared server. Please clarify for further inspection.
0
 
LVL 1

Author Comment

by:dennisdominic
ID: 24352717
it's a shared server, a virtual server.
I used to be able to do it on Windows 2003 by just adding ASPNET user.
Is there a way to find out this on Windows 2008?
"Look at what user the Application pool of your application is running under. That user would need to have write or modify permissions to those folders"
0
 
LVL 29

Expert Comment

by:David H.H.Lee
ID: 24352754
Do your hosting company provide any interface that allowed user configure the permission-Read/write? I'll suggest you to contact your hosting company for further clarifications since they have might have restricted policy for shared server if no GUI available for this setting.  
0
 
LVL 1

Author Comment

by:dennisdominic
ID: 24352777
I can configure the user permission.. it's just that I don't know which user to replace ASPNET since that is no longer used in IIS7 on Windows 2008.
0
 
LVL 29

Expert Comment

by:David H.H.Lee
ID: 24352806
Have you try this?
IUSR_SERVERNAME - grant Read/Change permissions?
0
 
LVL 1

Author Comment

by:dennisdominic
ID: 24391910
I found out it's the Identity under IIS7.0's Application Pool.
 
 
 
0

Featured Post

Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

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.
A phishing scam that claims a recipient’s credit card details have been “suspended” is the latest trend in spoof emails.
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

916 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