Avatar of ron2468
ron2468Flag for United States of America asked on

IIS virtual directory unable to access Synology NAS

I have Windows 7 Ultimate and a Synology 1512+ Diskstation NAS.

Using windows explorer, i can access the NAS using  \\diskstation\myFolders

In IIS, under my 'Default Web site', I have a website called  'myWebsite01'
I can create a virtual directory under myWebsite01, but I'm unable to get the virtual directory to successfully point to the NAS.

I haven't had any luck finding a complete solution online.
Could someone show me a step by step guide?

Thank you for your help.
ASP.NETMicrosoft IIS Web ServerStorage

Avatar of undefined
Last Comment

8/22/2022 - Mon
Dave Baldwin

IIS won't allow you to access a virtual directory on another machine.  The 'user' that IIS runs as does not have permission or a login to another machine.  It is restricted to the machine it is on.  Apache operates the same way.
Patrick Bogers

I disagree with DaveBaldwin, i have several virtual directories in IIS pointing to other machines but authentication can be tricky.

Start -> execute and type   \\<name or ipaddress for the NAS>   and press enter
Are there any shares to be seen? If yes find in security which user has access to this share and configure you vDir with this credentials. It also helps to have the application pool adjusted to network services allowing the website to crawl network resources.

No share on the NAS? create one.

Hi Patrick,

If I understand you correctly, yes, there is a share on the NAS because i can access it by typing \\diskstation in windows explorer, and i can see the files on the NAS.

When I right click on this Network share (\\diskstation) i can see that I have permission to access it, as I'm the administrator on the this PC.

Under IIS, I haven't been able to successfully establish a connection to the share using my administrator username and password.  When i Test Settings, I get an error, and when i run the website, i get an error in the browser.

See the attached pics.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
Patrick Bogers

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

Sorry, its not working.  I've tried all combos.  There are no credentials that doesn't give me an error.

Any fix for this yet? I'm having same issue.