Tips and Tricks in a world of Mix

So the scenario today , is upgraded to IIS 7 and using now the Application Pool Identity as defined in the best practice of Microsoft .

In the IIS 7 , standing on MY APPLICATION POOL

press Advanced Settings :

image

 

We’ve deployed the application and it tries to access some  shared folder on some other server .

“\\OtherServerName\Some Folder”

 

Once we were Network Service , IIS IUSR and so on , but not any more..

So who are we now ? How can we access the folder ?

Who is that mysterious ApplicationPoolIdentity guy ?

 

So the answer is quite simple :

Go to the Shared Folder –> right click –> properties  -> security –>edit –> add (so far as usual ) -> choose object types –> check on computers –> now enter the computer name where your application is working from , where you published your application.

image

That’s it – now you have the access to the Shared Folder!

Good luck!

Comments on: "Permissions for Shared Folder for IIS 7 Application Pool Identity Across Domain" (14)

  1. Mr. Wanta said:

    This article is only valid for Windows Server 2003 and Windows XP. To have this work in Windows 7 or Windows Server 2008, please follow this link. Please vote up on this answer on Stack Overflow if it was useful. If you’d like more details on how this is set up, log into Stack Overflow and leave a comment and I can help you.

    http://stackoverflow.com/questions/6114532/applicationpoolidentity-user-cannot-modify-files-in-shared-folder-in-windows-serv

    • I’ve read your post –
      You should have entered the computer name and not the ApplicationPoolIdentity. That was your problem.
      I’ve solved my issue on Windows Server 2008 Standard R2 64 bit.
      In my case the trouble was that the shared folder was accross domain so it didn’t recognize the ApplicationIdentityPool , in your case on the other hand you could have added it to your folder as a user (if it’s actualy on the same machine)

  2. Shared Folder –> right click –> properties -> security –>edit –> add (so far as usual ) -> choose object types –> check on computers –>Choose your domain computer name

    You are not suppose to do it with AplicationPoolIdentity
    If you are working with Windows authetication in Lan each time you’ll have a different user .

    • Shankar said:

      Sorry, this did not work for me too. So I changed the Identity to Network Service for getting my service work. Thank you for the post though.

      • Well that’s the easy solution🙂 , but you are using deprecated method of work. The best practice is to use ApplicationPoolIdentity .

  3. Another solution I’ve found is the authentication problem in general solution :
    https://grekai.wordpress.com/2011/10/12/401-1-when-you-browse-a-web-site-that-uses-integrated-authentication/

  4. Peter said:

    we have similiar problem with shared folder and i have followed through the example, i.e. grant full access to the computer which is hosting my web app on the shared folder. But it does not work.

  5. Ming said:

    Hi, i have a stupid problem… i can’t found “Computers” and “Services” in the “Object Types” list. How can i enable these two options? I have only “Built in …”, “Users” and “Groups”.
    Help me plz …

    • You should talk to your admin of Lan. Maybe your users permissions on Server are diminished and you can not acces all the types ..

      Please do check you are connected to Network Group Lan and can access other PC’s of the local network. – you should see it from the server..

      Shared Folder –> right click –> properties -> security –>edit –> add (so far as usual ) -> choose object types –> check on computers –>Choose your domain computer name

  6. Thank you. It worked for me!

  7. […] Permissions for Shared Folder for IIS 7 Application Pool … – May 23, 2011 · Comments on: “Permissions for Shared Folder for IIS 7 Application Pool Identity Across Domain” (12)… […]

  8. […] Permissions for Shared Folder for IIS 7 Application Pool … – May 23, 2011 · So the scenario today , is upgraded to IIS 7 and using now the Application Pool Identity as defined in the best practice of Microsoft . In the IIS 7 …… […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Tag Cloud

%d bloggers like this: