Information générale
Titre:
Using OLE DB and asp
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
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