If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Could not connect to database

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-12-04, 16:51
RPD RPD is offline
Registered User
 
Join Date: Sep 2004
Posts: 1
Angry Could not connect to database

Hello,
I got following error when I tried to test my asp page.
How I will configure ODBC for ACCESS DATABASE ?
I have WINDOW XP and I think ,may be I am missing a step for database connection..
CODE:

CONNString2 = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=c:\Dbinq.mdb"
set my_conn2= Server.CreateObject("ADODB.Connection")
set Dbqmrs = Server.CreateObject("ADODB.recordset")
my_Conn2.Open ConnString2
strSql1 = "SELECT * FROM Dbinq_rec"
Dbqmrs.open strSql1,my_conn2
Dbmrs.movefirst

Error Type:
Technical Information (for support personnel)
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Microsoft Access Driver]
General error Unable to open registry key 'Temporary (volatile)
Jet DSN for process 0xd50 Thread 0xc88 DBC 0x14e0064 Jet'.
/Dbinq.asp, line 90


Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)

Page:
POST 40 bytes to /Dbinq.asp

POST Data:
POLNO=000000011&POLSFX=21&submit=SUBMIT

Thanks

RPD
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On