General information
Category:
Internet applications
>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only