Dale Fraser
Dale Fraser

Reputation: 4758

IIS 7.5 Virtual Directory to Mapped Drive

I have an S: which is connected via a username that exists both on server1 & server2.

The mapped drive works fine.

I connect this as a virtual directory called config in IIS it connects and works fine. I can see in content view the files in the mapped drive.

When I attempt to browse to one of these files it gets an error 500

http://www.mydomain.com/config/file.html

file.html is there

I've done this before, Im sure its a permission or security issue somehow, but I cant work it out

500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed.

Upvotes: 1

Views: 10500

Answers (2)

Dale Fraser
Dale Fraser

Reputation: 4758

The answer was two part.

Part one I was simply browsing the website, I wasn't using https and thus I was getting a different IIS site that didn't have the virtual directory.

Part two was I was using ColdFusion attempting to run a .cfm from the virtual directory, even with the correct website, it still got an error 404.

The resolution for this was to ensure the ColdFusion service was run as Administrator rather than LocalSystem and all was good.

Just for everyones reference, if you create the same username / password on both servers, share using that username, connect using UNC path and that username and it will work, no special permissions or anything.

Thanks to Karl & Lex for the help.

Upvotes: 0

Lex Li
Lex Li

Reputation: 63183

Give up mapped drives please,

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

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

Upvotes: 1

Related Questions