General information
Category:
Internet applications
try running dcomcnfg and verify that the IIS user has launch and access rights to the VFP OLE server
Arnon
>
I have been trying to instatiate a simple automation server on IIS 4.0. Calling the ASP causes IIS to hang up. Eventually, an operation time out error occurs on the browser. The only way to have IIS work properly again is to reboot the server. I have included the ASP and FoxPro OLE class below. Does anyone have any clues to help me? I can get a simple Visual Basic ActiveX DLL to work in the browser. The code I am using for the FoxPro OLE class comes from Microsoft knowledgebase article Q168053.
>
>Thanks in advance!
>
>*** Here is VFP.asp ***
>
><% @LANGUAGE="VBSCRIPT" %>
>
>
>
Test Page
>
>
>FoxPro CreateObject
><%
> Dim oVFP
> Set oVFP = Server.CreateObject("AppSrv.WristWatch")
>%>
>Date: <% = oVFP.GetDate() %>
>Time: <% = oVFP.GetTime() %>
>
>*** Here is OLE class in AppSrv.pjx: ***
>
>DEFINE CLASS WristWatch AS Custom OLEPUBLIC
>
>PROCEDURE GetTime()
>RETURN Time()
>ENDPROC
>
>PROCEDURE GetDate()
>RETURN Date()
>ENDPROC
>
>ENDDEFINE
Previous
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