Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FoxPro DLL's with IIS
Message
De
29/03/2001 15:11:07
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Titre:
FoxPro DLL's with IIS
Divers
Thread ID:
00490042
Message ID:
00490042
Vues:
32
Is there a trick to using FoxPro DLL's with IIS?


Here is a synopsis of the problem I am having.

I have created a DLL using Visual FoxPro that creates an extract file and
then calls Crystal Reports to print a report from that extract.

I have created an ASP that calls the Visual FoxPro DLL. The ASP code looks
like this:

dim objPara3B
set objPara3B = Server.CreateObject("BPAReports.Para3B")
objPara3B.FileLocation = "E:\kwik\bpa\Para3B.HTM"
objPara3B.ExtractReport
objPara3B.PrintReport

When the ASP is ran it fails on the Server.CreateObject. The error received
is:

Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/BPA/PARA3B.asp, line 5
Invalid class string



I also created a VB DLL that simply send "Hello World" to the browser. This
DLL works just fine. The ASP code looks like this:

dim objVBTest
set objVBTest = Server.CreateObject("VBTest.VBTestClass")
Response.write objVBTest.HelloWorld



I have searched Microsofts web site but cannot find any reference to this
exact problem.


If I create the extract file on my PC (not with ASP) and then run the report
from the web using ASP the report printing works fine. So it appears to be
a problem calling a Visual FoxPro DLL from ASP.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform