Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1887
  • Last Modified:

Windows 2008, IIS7 user ASPNET Missing

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
dennisdominic
Asked:
dennisdominic
  • 5
  • 5
1 Solution
 
David H.H.LeeCommented:
Hi dennisdominic,
Try check this solution:
http://forums.asp.net/p/1378616/2907772.aspx#2907772
0
 
dennisdominicAuthor Commented:
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
 
David H.H.LeeCommented:
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.

 
dennisdominicAuthor Commented:
It's on a virtual hosting company, but I can use Remote Desktop using the Administrator account.
 
 
0
 
David H.H.LeeCommented:
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
 
dennisdominicAuthor Commented:
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
 
David H.H.LeeCommented:
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
 
dennisdominicAuthor Commented:
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
 
David H.H.LeeCommented:
Have you try this?
IUSR_SERVERNAME - grant Read/Change permissions?
0
 
dennisdominicAuthor Commented:
I found out it's the Identity under IIS7.0's Application Pool.
 
 
 
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 5
  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now