Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using OLE DB and asp
Message
De
13/10/2001 09:47:59
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Using OLE DB and asp
Divers
Thread ID:
00568144
Message ID:
00568144
Vues:
51
Hi there, i was trying to understand something about VFP and asp.
My intention was to call store procedures directly via ASP.
What have I to do ?
i tried to execute the code in VFP help changing obviously the Database address
but i got an error telling me about an invalid path or file name.
this is the code i used

Set conn = Server.CreateObject("ADODB.Connection")
conn.mode = 16
conn.ConnectionString="Provider=VFPOLEDB.1;DataSource=mydataname.dbc
conn.Open
'sql = "select * from mytable"
Set rsArrival = conn.Execute(sql)


now i got the error

Microsoft OLE DB Provider for Visual FoxPro errore "80004005"

Invalid path or file name.

/newvet/prova3.asp, riga 5

I tried to write different addresses but i always got the same error
I know i should probably study more about asp but...could you help me please ?

Thank u so much
Alessio
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform