• 0
Sign in to follow this  
Guest Guest

Recordset

Question

Guest Guest

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 0x758 Thread 0x56c DBC 0x1f90064 Jet'.

/pmm/index.asp, line 9

Linha 9 em negrito:

set conn= server.createobject("ADODB.Connection")

caminho="DBQ=" & server.mappath("pmm.mdb")

conn.Open= "DRIVER={Microsoft Access Driver (*.mdb)};" & caminho

q merda é essa?

sad.gif

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

cara por favor copie esse código e veja se está exibindo o camonho exatamente onde se encontra salvo seu db.

<%

set conn= server.createobject("ADODB.Connection")

caminho="DBQ=" & server.mappath("pmm.mdb")

'conn.Open= "DRIVER={Microsoft Access Driver (*.mdb)};" & caminho

response.write caminho

%>

Depois posta, ai resolvemos isso!!

Share this post


Link to post
Share on other sites
  • 0
Guest Guest

ta mostrando sim..

e acabei descobrindo q este erro estava se dando pelo motivo do BD estar aberto...

Agora me acontece o seguinte..:

Operation must use an updateable query.

/pmm/index.asp, line 56

linha 56:

Sql = "INSERT INTO pmm_registro(Nome,EMail,Endereco,Bairro,Cep,Cidade,Estado,Saldo,dh_cadastro)VALUES('"&xNome&"','"&xEmail&"','"&xend&"','"&xbairro&"','"&xcep&"','"&xcid&"','"&xest&"',"&x&",'"&xdate&"')"

Set Rs = Conn.execute(Sql)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this