This topic is locked

the usual DB connection error

1/26/2004 3:07:58 PM
ASPRunnerPro General questions
F
financialdoc author

I'm getting the most popular error here:
[Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x710 Thread 0x9b0 DBC 0x14ff8024 Jet'.
However, I am sure I have my string looking for my database in the correct spot
When I use this code, I get the error:
<%

strConnection = "Provider=MSDataShape;DRIVER={Driver do Microsoft Access (*.mdb)};DBQ=" & server.mappath("..\..\..\fpdb\kibub.mdb") & ";UID=;PWD=tednegfor"

%>
However, when I use this code to connect to my database:
<%

strConnection = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("..\..\..\fpdb\kibub.mdb") & ";JET OLEDB:Database Password=tednegfor" & ";"
%>
Then I get an "Arguments are out of acceptable range" error message. I used the second code to make sure I had the Server.MapPath correct.
What am I doing wrong?
Thanks......

Sergey Kornilov admin 1/30/2004

Hi,
please zip and send me all your files from ASPRunner's output folder. I'll test both connection strings on my local box to find what's wrong. Just send it to support AT xlinesoft.com