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 > General > Database Concepts & Design > OLE DB Provider Error..??

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-19-04, 02:27
Invincible Invincible is offline
Registered User
 
Join Date: Feb 2004
Posts: 5
Post OLE DB Provider Error..??

Hi,

I'm using the below code in the test.asp file on win2003 server.
<%
Set conn2 = Server.CreateObject("ADODB.Connection")
DBPath = Server.MapPath("cgi-bin\news.mdb")
conn2.Open "driver={Microsoft Access Driver (*.mdb)};dbq=" & DBPath
Set rs2 = Server.CreateObject("ADODB.Recordset")
SortSql2 = "Select * From news order by id DESC"
rs2.Open Sortgeneral, conn2, 1,1
PAGE = Request("PAGE")
IF PAGE = "" THEN
PAGE = 1
ELSE
PAGE = PAGE
END IF
RS2.PageSize = 5
If Not rs2.eof Then
RS2.AbsolutePage = PAGE
End if
%>

but it fails to run and shows me error :-
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 0x2010 Thread 0x16ec DBC 0x1a095c34 Jet'.

/demo/test.asp, line 4

What could be the problem...any help???

Thanks.
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On