> i'm implementing a small program to list all virtual directories to
> the user and give him some facilities to move or delete these files,
[quoted text clipped - 10 lines]
> how can i get the physical or actual path of the virtual path returned
> from the code snippet above.
string path = iISAdmin.Properties["Path"].Value.ToString();

Signature
Patrick Steele
http://weblogs.asp.net/psteele
Developer.Man4@gmail.com - 06 Feb 2007 08:02 GMT
Thanks patrick for the gr8 help :)
butr when i try it i get System.Reflection.TargetInvocationException
any ideas why and how to solve it??
> In article <1170680202.777209.21...@j27g2000cwj.googlegroups.com>,
> Developer.M...@gmail.com says...
[quoted text clipped - 18 lines]
> --
> Patrick Steelehttp://weblogs.asp.net/psteele
Developer.Man4@gmail.com - 06 Feb 2007 08:03 GMT
thanks patrick for the great help :D
but when i try this it i get
System.Reflection.TargetInvocationException
any ideas why and how to solve it??
> In article <1170680202.777209.21...@j27g2000cwj.googlegroups.com>,
> Developer.M...@gmail.com says...
[quoted text clipped - 18 lines]
> --
> Patrick Steelehttp://weblogs.asp.net/psteele
Patrick Steele - 06 Feb 2007 12:30 GMT
> thanks patrick for the great help :D
> but when i try this it i get
> System.Reflection.TargetInvocationException
>
> any ideas why and how to solve it??
Hmmmm... I just started with your code and dug around to find the
Properties collection and what was in it. What's the InnerException of
the TargetInvocationException?

Signature
Patrick Steele
http://weblogs.asp.net/psteele
eng.rana - 07 Feb 2007 11:23 GMT
actually i found that it throws this exception because the local path
is not stored in the properties of the application its self under iis.
ratherthan having the full path /theapplicationname is stored, thus
the hresult of the request is not defined and hence it throws this
exception
> In article <1170749017.322006.221...@v33g2000cwv.googlegroups.com>,
> Developer.M...@gmail.com says...
[quoted text clipped - 11 lines]
> --
> Patrick Steelehttp://weblogs.asp.net/pstee