Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I run a VFP Out-of-Process EXE from ASP?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00688420
Message ID:
00688494
Vues:
22
Hi William,

>When I load the ASP page, it loads OK. When I click on the button that calls this function from within the ASP Page I get the following error:
>
>VBScript runtime error: Active X component cannot create object "WScript.Shell".

That could be a security issue. Unless you authenticate a user, ASP pages run as the IUSR_machine account where "machine" should be the name of your machine. By default, the IUSR_ account does have very limited rights and can't launch an EXE. Giving IUSR_ access to WScript.Shell is not a good idea. However, if you compile the EXE into a COM EXE server, you can use DCOMCNFG to give IUSR_* access to this component. If the ASP page runs with medium or high application protection, you also have to give access to the IWAM_MACHINE user.

Christof
--
Christof
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform