Jump to content
Fórum Script Brasil
  • 0

Conexão De Bd Em Asp No Xp


ivomelo

Question

Quando tento abrir o BD no XP aparece a seguinte msg:

Microsoft OLE DB Provider for ODBC Drivers (0x80004005)

[Microsoft][Driver ODBC para Microsoft Access]Erro geral Não é possível abrir a chave 'Temporary (volatile) Jet DSN for process 0x27c Thread 0x8f0 DBC 0x3c024 Jet' do Registro.

/news/inc_search_form.asp, line 3

na página ASP está assim:

<%

set rsCount = Server.CreateObject("ADODB.Recordset")

rsCount.ActiveConnection = MM_connDUnews_STRING

rsCount.Source = "SELECT (SELECT COUNT(*) FROM NEWS WHERE NEWS_APPROVED=1) AS NEWS_COUNT, COUNT(*) AS TYPE_COUNT FROM TYPES"

rsCount.CursorType = 0

rsCount.CursorLocation = 2

rsCount.LockType = 3

rsCount.Open()

rsCount_numRows = 0

%>

a minha conexão é assim:

<%

' FileName="Connection_odbc_conn_dsn.htm"

' Type="ADO"

' HTTP="false"

' Catalog=""

' Schema=""

MM_connDUnews_STRING = "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" & Server.MapPath("database\DUnews.mdb")

%>

já deu permissão no BD e nas pastas.

o que pode tá acontecendo?

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

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.



  • Forum Statistics

    • Total Topics
      152k
    • Total Posts
      651.5k
×
×
  • Create New...