Previous Next

Thread: Application Pool Identity to access a Mapped Drive

Last post 08-03-2008 9:15 AM by grinja. 5 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (6 items)

Sort Posts:

  • 07-31-2008, 6:19 AM

    • grinja
    • Not Ranked
    • Joined on 07-31-2008, 3:53 AM
    • Posts 5

    Application Pool Identity to access a Mapped Drive

    Hi all,

    I need to provide access to mapped network drive through a Web server application.A user will log on to a web server application and there is an option for them to upload documents to a specifc mapped drive.

    I have two tried two options in the Application Pool Properties:

    1. Using the predefined network service identity - Access to the directory is not available.

    2. Use  Configurable option and specify a domain account (which has access to the Mapped drive) - Accessing the application throws a "Service Unavailable error"

    I'm very inexperienced with IIS so any suggestions would be greatly appreciated. The ultimate goal is to allow a user to get access to that mapped drive.

     The hosting server is using Windows Server 2003 , IIS6.

    *Edit

    Okay ... it seems that for Point2 the domain account needs to be added to IIS_WPG. I will be trying this out later tonight.

     

     

     

     

  • 07-31-2008, 11:20 PM In reply to

    Re: Application Pool Identity to access a Mapped Drive

    There is no concept of a 'mapped' drive in IIS.  It's a UNC path.  If you use the network service account, it's really the 'machine' account in Active Directory.  Have you checked out this article? It's probably the standard for remote content and IIS 6. 

    http://www.microsoft.com/technet/prodtechnol/windowsserver2003/technologies/webapp/iis/remstorg.mspx

    Steve Schofield
    Windows Server MVP - IIS
    http://weblogs.asp.net/steveschofield

    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget
  • 08-01-2008, 7:27 AM In reply to

    • grinja
    • Not Ranked
    • Joined on 07-31-2008, 3:53 AM
    • Posts 5

    Re: Application Pool Identity to access a Mapped Drive

     Thanks.

    I would prefer to use the predefined accounts so I'll give your method a try. Thanks also forthe link to the article.

  • 08-01-2008, 8:03 AM In reply to

    • tomkmvp
    • Top 10 Contributor
    • Joined on 03-20-2003, 10:27 AM
    • Lawrenceville, NJ
    • Posts 4,068
    • IIS MVPs

    Re: Application Pool Identity to access a Mapped Drive

  • 08-01-2008, 2:33 PM In reply to

    Re: Application Pool Identity to access a Mapped Drive

     There's a whole host of other stuff you might need to consider as well.  For example, if you're going to have more than one AppPool, you'll need to sort out authentication with this command (run from AdminScripts folder):

    cscript adsutil.vbs set w3svc/NTAuthenticationProviders "NTLM"

    This article will explain why: http://support.microsoft.com/kb/871179

    Check out the folder permissions shown in here - many of mine were not right:

    http://support.microsoft.com/kb/812614

    This one is worth knowing: http://support.microsoft.com/kb/896861

  • 08-03-2008, 9:15 AM In reply to

    • grinja
    • Not Ranked
    • Joined on 07-31-2008, 3:53 AM
    • Posts 5

    Re: Application Pool Identity to access a Mapped Drive

     

    Thanks for these links... I'll be doing some reading tonght :)

Page 1 of 1 (6 items)
Page view counter