yyilmaz
asked on
IIS -> virtual directory, resources from network share = HTTP Error 500 - Internal server error
Not a difficult question, but urgent..
I have IIS running on a server that is not on a domain is to serve files from a share on another computer that is on a domain.
The server needs to sit outside group policies in the office, so I have it running as WORKGROUP on the network. The group policies have many ports (including 80) blocked so this was the only way I can get a web server running on the network.
However, the website files (ASP) are located on another server on the domain, since this server gets regular backups. I don't wish to move / copy website files over to the IIS machine.
I've configured virtual directories as share located on another computer, and set up the paths. However I can't seem to get the website to run. I get the HTTP Error 500 - Internal server error.
The same site works perfectly if I copy files to the IIS machine and run them as "a directory located on this computer"
IIS6, Server 2003, .net 2 installed
Any ideas? I'm guessing some basic authentication problem somewhere...
Any help appreciated.
Thanks
I have IIS running on a server that is not on a domain is to serve files from a share on another computer that is on a domain.
The server needs to sit outside group policies in the office, so I have it running as WORKGROUP on the network. The group policies have many ports (including 80) blocked so this was the only way I can get a web server running on the network.
However, the website files (ASP) are located on another server on the domain, since this server gets regular backups. I don't wish to move / copy website files over to the IIS machine.
I've configured virtual directories as share located on another computer, and set up the paths. However I can't seem to get the website to run. I get the HTTP Error 500 - Internal server error.
The same site works perfectly if I copy files to the IIS machine and run them as "a directory located on this computer"
IIS6, Server 2003, .net 2 installed
Any ideas? I'm guessing some basic authentication problem somewhere...
Any help appreciated.
Thanks
ASKER
Yes, that I did. I logged on as a domain user, entered the password.
The share was specified as \\ip.ip.ip.ip\share\
Connect as was specified as DOMAIN\User with correct password
The web server is not on this domain - I'm wondering if there is an issue there.
My previous attempt was via "A directory on this computer" - where the local path was mapped through to the network drive, however I figured that that wouldn't have worked, since IIS will require different login to the files than the connection during drive mapping setup.. I tried it anyway and sure enough, no go.
The share was specified as \\ip.ip.ip.ip\share\
Connect as was specified as DOMAIN\User with correct password
The web server is not on this domain - I'm wondering if there is an issue there.
My previous attempt was via "A directory on this computer" - where the local path was mapped through to the network drive, however I figured that that wouldn't have worked, since IIS will require different login to the files than the connection during drive mapping setup.. I tried it anyway and sure enough, no go.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You should have a UNC-path specifed to the directory - it is not wise and possibly quite hard to get a network share connected to a drive letter to work.
If you didnt press the CONNECT AS and specified specific credetials, the default is that the IIS tries to use the particular web users credentials to access the files - but since this server (the IIS-server) is not in the domain it is not possible to run with this option - which needs to have integrated security turned on. Although the users are on client computers in the domain and the files are on a server in the domain the IIS also needs to be in the domain to get this option to work.
Hope this helps...