Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP COM creating ADO recordset problem
Message
De
02/05/2001 16:19:31
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00502597
Message ID:
00502741
Vues:
21
>>>>Hello,
>>>>Does anyone know if there are known issues or problems returning a recordset object from a VFP COM Object to an ASP page? We are able to run this in a Local mode via InterDev and the function/COM Object returns the recordset object without any problems. However, when we attempt to run this on our server the COM object dies when it attempts to return the recordset object to ASP. We are running IIS5.0, Win2K Server, VFP 6 and have all of the latest Service Packs installed.
>>>>thanks...
>>>
>>>What error (if any) does it throw? Is the COM object compiled as a multithreaded DLL?
>>
>>The COM object is compiled as a multitrhreaded DLL. The error when running via the server is: An exception of Type VBScript Runtime error: Object Required "False" Was not hHandled.
>
>From the looks of it, VFP is returning an unassigned variable to your ASP page (newly created varibale are defaulted to have a .F. as its value).
>
>1. Is VFPCOM registered on the Win2K box?
>2. Is your COM object throwing any errors? Are you trapping them and reporting them somehow or are they being consumed?
>3. Is ADO installed on the Win2K box? Most likely it is as VFP needs MDAC before installing.

1. When you say "VFPCOM" do you mean the actual VFP COM object or that VFPCOM.DLL? In any event...both are registered on the Win2K Server
2. It does not appear the that COM Object is throwing any errors.
3. Yes, ADO is installed on the Win2K server.

The weird thing is that this works in Local mode, not in Master mode on the Server. So, one would think that this could be a permission/access issue or some missing component.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform