« Previous Next »

Thread: Trouble connecting to Network Attached Storage NAS for content.

Last post 10-27-2009 9:38 AM by AtomicVette. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 10-26-2009, 5:39 PM

    Trouble connecting to Network Attached Storage NAS for content.

    I'm running Server 2008 Standard with IIS7 on a Virtual (Hyper-V) Machine.  I want the content (inetpub) directory to be on a network attached storage device in our domain.  I installed IIS7 and the default site works with no issues.  I created a new site, made the home directory point to z:\inetpub (Z: is a mapped drive on the IIS7 server pointing to the share on the NAS).  I put an HTML file in the folder, but I get a error 500 when trying to browse to the new site.  I've tested authentication to the "z:" drive and I get the following:

     cannot verify access to path z:\websitename

     details:

    The server is configured to use pass-through authentication with a built-in account to access the specified physical path. However, IIS Manager cannot verify whether the built-in account has access. Make sure that the application pool identity has Read access to the physical path. If this server is joined to a domain, and the application pool identity is NetworkService or LocalSystem, verify that <domain>\<computer_name>$ has Read access to the physical path. Then test these settings again.

     

    Any help, or resources available for using IIS7 on remote storage?

     

    *** EDIT ***

    Found a setting when you single click on the "Authenticatin" icon under the new website there is an option in the result pane that says, "Advanced settings" in here this is a place to give credentials for the remote path.  I gave it a useername/password with full read/write permissions on the remote path, and the error changed.  now it says this:

    Path might not exist and could not be verified (z:\websitename)

    Details:

    The path does not exist or environment variables in the path could not be expanded to verify whether it exists.

  • 10-26-2009, 5:54 PM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 10:13 PM
    • Redmond, WA
    • Posts 2,343

    Re: Trouble connecting to Network Attached Storage NAS for content.

    You cannot point IIS to a mapped network drive since the mapping only exists in your interactive session and not the session where IIS is running.  You need to point IIS to \\server\share\location and provide a username/password if needed to access the share.

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 10-27-2009, 9:38 AM In reply to

    Re: Trouble connecting to Network Attached Storage NAS for content.

    that worked.  Thanks.

Page 1 of 1 (3 items)
Microsoft Communities