>>>Is there a way to find a phisical path of a virtual directory?
>>>Thanks Mark
>>
>>You can use the IIS Admin objects through ADSI to get this:
>>
>>oVD = GETOBJECT("IIS://MYMACHINE/W3SVC/1/ROOT/MyVirtualDirectory")
>>lcPath = oVD.Path
>Trying to use it in VFP MTDLL server called from ASP and I am getting an error "... access denied". Can you help?
>Thanks
A web process using the default access account is not allowed to access these objects. If you are using ASP, you can use the Server.MapPath() method to do this instead of ADSI.
Erik Moore
Clientelligence