Converting a UNC path to a physical file path

G

Guest

I wonder if someone can help with this -

I 'm creating an IISVirtualDirectory, and setting its Path property to the
physical path I want to reference. This works fine when I have a standard
file path - 'C:/Test' - however I sometimes have a UNC path -
'//remoteComputer/Test' - and IIS appears to choke when it's given that.

So, is there any way of translating a UNC path to the physical path on the
remote computer? ie: Translating ' //remotecomputer/Test' to 'C:/Test' ?

Thanks!
Simon
 
G

Guest

hi. go to your server and try creating a network map referencing the network
resource.. i.e.. z:\

make sure that you set automatic reconnection to the network share..
 
G

Guest

Thanks, Alan, but unfortunately this doesn't quite do it, partly because I'm
not wanting a manual process- if I wanted to do I could create the virtual
directory by hand directly. Surely it is possible to translate a UNC path to
its system specific file path through some API?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top