Is there away to access diffrent server machine that is on the same network, using web application.
when accesing web application, it would check if the user is currently on the network where the server machine located, than enable to access the files.
Thank you,

access server machine on the same network.
emailAtul
It still gives me an error : The SourceSafe database path sjohnd (logged user) does not exist. Please select another database.
Any Other ideas how can I get the network path, Could you also explain me what is <identity impersonate="true" /> and when do I use it.
Thanks alot,
2V.
I think you might need to look into impersonation for this - if the user has access to the server this should work a treat - simply add this into the web.config
<system.web> <identity impersonate="true" /> </system.web>
Hope that helps
Ross (http://blog.the-dargans.co.uk)
John Boggess
Thanks for your quick reply,
I am tring to do is access VSS database that is located on a diffrent server.
The way I want it to work is when the user accesses the web application, it connect to the VSS database that is located on a server, and opens connection. I made it work if the user accessing VSS database from his local drive but when I am tring to access the vss db on the server , it says it cannot find the database.
SourceSafeTypeLib.IVSSDatabase vssDb =
new VSSDatabaseClass();vssDb.Open(@"\\dcitordev01\VSS\test\srcsafe.ini","john","");
Thanks,
anjulis
Yes this is possible, but in what way do you want to access it Are you trying to access a file from the hard drive of the server, or do you wish to access a sql server on there
The fact that its a web application does not matter (but you do have to be careful from a security point of view). You would access it in pretty much the same way as you would in a windows forms application.
Ross (http://blog.the-dargans.co.uk)