The following is how I do includes, but they are in the same directory and I do not know if they based on drive letters or http stuff. And I do not know that if you try to pull an asp page from a different server will the IIS try to render the page or just send the file? When you say different server do you mean on your network or from a different location. Cause if it is on your network then you might be able to make it a virtual directory in IIS which should make calling it easier.
Or if you map a drive to the foreign machine than you could simply include using the path in relation to the mapped drive
-Tarwn --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
For my next trick I will pull a hat out of a rabbit (if you think thats bad you should see how the pigeon feels...)
Would you please explain how to map the foreign drive. I thought of this solution but have not been able to get it to work.
I log into the computer, map a drive like you state. The web server runs almost all of the time without anyone logged into it so there is not logged in user to read mapped drives from.
You will need to set up the permissions on the mapped drive to allow IIS to access the files. Whatever user IIS is using to run will need to have at least read access on the mapped drive. The easiest and least safe way to do this is to simply give the everyone group full control access.
Another option is to create a virtual directory/site in your webserver that points at the diurectory you need on the remote machine, than you could give it a virtual path based on the new virtual directory. The problem with this is that you have then allowed outside users to access that directory if they know what name you have used.
-Tarwn --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
For my next trick I will pull a hat out of a rabbit (if you think thats bad you should see how the pigeon feels...)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.