Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vritual directory
Message
De
28/06/2000 22:07:24
 
 
À
28/06/2000 22:00:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00384451
Message ID:
00386261
Vues:
30
>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform