Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ASP won't create COM, VFP7 will
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00662884
Message ID:
00662986
Views:
21
>Scott, we haven't needed to set any rights on the VFP mtdll itself to call it from ASP. The virtual directory where the ASP script runs (that calls the vfp mtdll) has script/executables Execute permissions. The only time we need to add IUSR and IWAM for security is for Write access on the VFP data. This is on Win2k Server SP2. Make sure you have the latest SP since there are issues with SP1 and no service pack.

I believe the DLL is registered properly because I can open VFP7 on the server and create the COM object as OLE Server:

ox = CREATEOBJECT( "esiwebdltest.app")

It creates just fine. This tells me it's a rights issue within IIS.
I restarted IIS and later rebooted the server.
I have Win2K Server SP1.
The same ASP page creates one COM object, but when I add the second, it fails. Both DLLs are in the same folder. This tells me my permissions should be fine.
Time was the problem - I just had to get this working for a demo this morning which is now history. Now its more an issue of knowing what wrong.
Scott McDaniel
MCP VFP Desktop
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform