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.
Ron
ASP.NETMicrosoft IIS Web ServerStorage

Avatar of undefined
Last Comment
Precedence
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

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.
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.
Avatar of ron2468
ron2468
Flag of United States of America image

ASKER

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.
Add-Virtual-Directory.png
Test-Settings.png
Server-Error.png
ASKER CERTIFIED SOLUTION
Avatar of Patrick Bogers
Patrick Bogers
Flag of Netherlands image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of ron2468
ron2468
Flag of United States of America image

ASKER

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

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

The successor to Active Server Pages, ASP.NET websites utilize the .NET framework to produce dynamic, data and content-driven web applications and services. ASP.NET code can be written using any .NET supported language. As of 2009, ASP.NET can also apply the Model-View-Controller (MVC) pattern to web applications

128K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo