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 > Jet DSN Database Error

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-09-04, 16:39
Vengy Vengy is offline
Registered User
 
Join Date: Jan 2004
Location: Minneapolis
Posts: 2
Jet DSN Database Error

Hi,

When I tried to execute the following code, it gives the following error message.

# Code:
-----------

<%
Dim Conn
Dim name,email,how,feedback

name=Request.Form("name")
email=Request.Form("email")
how=Request.Form("how")
feedback=Request.Form("feedback")

Set Conn = Server.CreateObject("ADODB.Connection")
Conn.Open "DRIVER=Microsoft Access Driver (*.mdb);DBQ=" &
Server.MapPath("/database/feedbackdb.mdb")
Conn.Execute "INSERT INTO feedbacktable (name,email,how,feedback) VALUES ('"&name&"','"&email&"','"&how&"','"&feedback&"' )"

Response.Write "<center><b>Dear "&name&", Your Feedback Submitted to Webmsater</b></center>"
Conn.Close
%>

# Error Message:
--------------------
Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x64c Thread 0xba8 DBC 0x5303004 Jet'.

/freeconsult/addquery.asp, line 116


I am using DSN-Less Connection with MS Access Version 7.0 for Windows 95.

Please help me to correct the problem.
Thank you in advance.

Thanks,
Vengy
Reply With Quote
  #2 (permalink)  
Old 01-10-04, 01:54
MrWizard MrWizard is offline
Registered User
 
Join Date: Mar 2003
Location: Atlanta, GA
Posts: 191
I've gotten this problem once before... and if my memory serves me correctly, there is likely a problem with the Access driver you are using.

Make sure you have the latest MDAC drivers installed. You may need to restart IIS to clear this error from repeating.

Tim
__________________
Tim
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