views:

49

answers:

0

I want to get localpath of webservice in iis 6.0. Web service is located under virtual directory. I tried to use code examples from this site : http://forums.iis.net/t/1150535.aspx , however for some configurations I get empty path, what is more I get empty path for all parent nodes of my web service in this cretainl cases.

There are configuration where it works (when I have my website under HDD default web site directory), but when I move my webservice outside this HDD directory, and create virtual directory in c# that points to my webservice, it returns empty path.

I'm writing winform application.