How to access Network File In IIS?
-
Hi Everyone, I have hosted my appication in IIS,some of my PDF files are in other system.but before configuring in IIS its working fine.my questionis how to acces PDF files after hosting in IIS. My Path is some thing like this.. \\inlogicpc17\dotnetkanna\test.pdfRegardsKanna Rgrds Kanna
-
Hi Everyone, I have hosted my appication in IIS,some of my PDF files are in other system.but before configuring in IIS its working fine.my questionis how to acces PDF files after hosting in IIS. My Path is some thing like this.. \\inlogicpc17\dotnetkanna\test.pdfRegardsKanna Rgrds Kanna
Are the files you are trying to access on another server? If so are they on the same domain?
-
Are the files you are trying to access on another server? If so are they on the same domain?
Thnks. Its not in another server.it will be in another machine.for example another machine d:test.pdf ,This machine will be connected as network.
-
Thnks. Its not in another server.it will be in another machine.for example another machine d:test.pdf ,This machine will be connected as network.
This can be quite tricky to set up. Your application won't be able to see mapped drives through IIS. Try a full UNC path to the remote location but depending on your network configuration you might need to look at impersonation. http://msdn.microsoft.com/en-us/library/xh507fc5(VS.71).aspx[^]