2

I have a .net 2.0 application that I have migrated from a Windows Server 2003/IIS6 to Windows Server 2008/IIS7

This application needs to write to a folder in the public folders section on the server. I have given full rights to:

  • Everyone
  • IUSR
  • NETWORK SERVICE
  • IIS_USRS

Still the ASP.NET app cannot write to the folder. The folder is visible in IIS 7 Manager, and it exists on the file system.

Whenever I execute the part of the app that needs to write to the folder I receive the following error:

enter image description here

This worked fine on the previous server, but I cannot figure out how to get it to work on the new server. Please advise.

2
  • Check this answer : stackoverflow.com/questions/2532079/… Commented Aug 5, 2013 at 12:35
  • @NipunAmbastha I do not have the account IIS AppPool\ApplicationPoolName on the system. IIS app pool runs under NT Authority\Network Service. Commented Aug 5, 2013 at 12:39

1 Answer 1

5

In IIS7 is not like in previous version, you need to give permissions to the account under which the application pool is running:

See this:

IIS7 Permissions Overview - ApplicationPoolIdentity

And this:

IIS AppPoolIdentity and file system write access permissions

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.