Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to use VFP automation servers and ASP
Message
From
03/07/1998 15:14:20
Bob Lucas
The WordWare Agency
Alberta, Canada
 
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00113875
Message ID:
00114130
Views:
19
>>Are you using Foxisapi ?? I belive it comes with 5.0 ...
>>
>>Yes... there is a sample and docs in ..\vfp\samples\servers\foxisapi
>
>No, I am not using FoxAPI. I am trying to create a simple OLE Automation object in VFP and instatiate it on the web via VBScript and ASP:
>
>%
>Dim oVFP
>Set oVFP = CreateObject("Test1.Test")
>%
>
>Result = % = oVFP.Calc() %
>
>The object works when I do it from the VFP Command Window or from a Visual Basic Standard EXE. Running this on the server hangs up IIS 4.0, and I eventually have to reboot the server to set things straight again. I must be missing something obvious. Microsoft Knowledgebase article Q168053 says I can do this. I even tried their example, and it did the same thing.
>
>I am using this approach versus FoxAPI, because I want to share my object with other desktop applications. Do you have any other ideas?
>
>Thanks for the reply!


I have had a problem before with servers when they try to create the foxuser.dbf file. If you are able to debug this, you would find that it gives the message "Convert foxuser to latest version?" or something like that. Anyway what I did was put a valid foxuser file in the NT system32 directory and that fixed the problem.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform