• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 764
  • Last Modified:

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.
1 Solution
Dave BaldwinFixer of ProblemsCommented:
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 BogersDatacenter platform engineer LindowsCommented:
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.
ron2468Author Commented:
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.
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Patrick BogersDatacenter platform engineer LindowsCommented:

In Add-Virtual-Directory.png you 'see' what is wrong.
Under 'connect as' there should be entered valid credentials the NAS understands.
The login can be something as username@nasadress or  ..\nasuser          try some.
ron2468Author Commented:
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.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now