Hello all,
Could anyone help me I am stuck with this very annoying problem, whereas I am doing everything by the book!
When I access my asp-page I get the following error message:
ADODB.Recordset error '800a0bb9'
Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.
/evolution/default1.asp, line 49
This is my original code:
dim db, rs, rsegm, strConn, sql
Set db = Server.CreateObject ("ADODB.Connection")
DBP = "f:\ strConn = "Driver={Microsoft Access Driver (*.mdb)}; DBQ=" & DBP
db.ConnectionTimeout = 30
db.CommandTimeout = 80
db.open strconn
set rsegm = Server.CreateObject ("ADODB.Recordset")
rsegm.Open "SELECT * FROM segments", db, adOpenForwardOnly, adLockOptimistic
As a test I also copied a similar procedure from a tutorial and tried that: same result...
I also tried the page on a totally different server: no difference...
Could someone please tell me what is wrong?!
Cheers,
Fedor
Could anyone help me I am stuck with this very annoying problem, whereas I am doing everything by the book!
When I access my asp-page I get the following error message:
ADODB.Recordset error '800a0bb9'
Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.
/evolution/default1.asp, line 49
This is my original code:
dim db, rs, rsegm, strConn, sql
Set db = Server.CreateObject ("ADODB.Connection")
DBP = "f:\ strConn = "Driver={Microsoft Access Driver (*.mdb)}; DBQ=" & DBP
db.ConnectionTimeout = 30
db.CommandTimeout = 80
db.open strconn
set rsegm = Server.CreateObject ("ADODB.Recordset")
rsegm.Open "SELECT * FROM segments", db, adOpenForwardOnly, adLockOptimistic
As a test I also copied a similar procedure from a tutorial and tried that: same result...
I also tried the page on a totally different server: no difference...
Could someone please tell me what is wrong?!
Cheers,
Fedor