Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I run a VFP Out-of-Process EXE from ASP?
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00688420
Message ID:
00688494
Views:
21
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform