Information générale
Catégorie:
COM/DCOM et OLE Automation
Titre:
Strange problem with ASP and VFP
We wrote a VFP dll that validates data entered into a web page versus a VFP database.
The database is not on the same machine as the IIS.
When running the dll through VFP or VB everything worked fine.
However when we tried to run the object throuh an asp page, although the object was created we were not able to connect to the database. In order to check the dll we even added a function to check that the .dbc exists on the remote machine: same problem - when running with vfp or vb the dll returned that the .dbc existed; when running an asp script the dll (based on the vfp file() function) did not recognise the database.
When we moved the database to the local machine - the object when loaded from the asp worked correctly in all cases.
Curiouser and curiouser as L.Carol would have it. I tried to write a new dll using an odbc driver and a remote view. Same results: with VFP/VB everything worked perfectly and with ASP it failed to connect to the remote view. On the local machine - everything worked well.
Any help would be greatly appreciated.
Eylon
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement