C
Christophe Cerbourg
hi,
in an ASP page, I coonect to a MSACCESS database and the first load of the
page is correct but, when I immediately refresh the same page, I get an
80004005 error...
Thanks for any idea...
Here is the code :
Set Conn = Server.CreateObject("ADODB.Connection")
str = "Driver={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath(".")
&"\Ficli_data.mdb"
Conn.Open str
Set rs2 = Server.CreateObject("ADODB.Recordset")
SQL1 = "select * from TSites order by nom_int"
rs2.Open SQL1, Conn
continuer = 1
nb = 0
do while ((not rs2.eof) And (nb <= nbrep))
nb = nb + 1
if (nb=1) then response.write("<b>")
response.write("<br>" & rs2("toto"))
if (nb=1) then response.write("</b>")
rs2.movenext
Loop
rs2.close
set rs2=nothing
Conn.close
set Conn=nothing
in an ASP page, I coonect to a MSACCESS database and the first load of the
page is correct but, when I immediately refresh the same page, I get an
80004005 error...
Thanks for any idea...
Here is the code :
Set Conn = Server.CreateObject("ADODB.Connection")
str = "Driver={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath(".")
&"\Ficli_data.mdb"
Conn.Open str
Set rs2 = Server.CreateObject("ADODB.Recordset")
SQL1 = "select * from TSites order by nom_int"
rs2.Open SQL1, Conn
continuer = 1
nb = 0
do while ((not rs2.eof) And (nb <= nbrep))
nb = nb + 1
if (nb=1) then response.write("<b>")
response.write("<br>" & rs2("toto"))
if (nb=1) then response.write("</b>")
rs2.movenext
Loop
rs2.close
set rs2=nothing
Conn.close
set Conn=nothing