Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_database_setup thread: Microsoft OLE DB Provider for ODBC Drivers (0x80004005) Pls Help


Message #1 by "Kueh Hock Chye" <kuehhc@y...> on Tue, 25 Sep 2001 10:02:29

hi all,



I got this error when i try to open a database.

I belief this database is the earlier version which i convert to access 

2000.



can some one help?



objDC.open "DRIVER=Microsoft Access Driver (*.mdb);DBQ="& Server.MapPath

("Database1.mdb")



' Create recordset and retrieve values using the open connection

Set objRS = Server.CreateObject("ADODB.Recordset")

' Opening record set with a forward-only cursor (the 0) and in read-only 

mode (the 1)



' If a request for a specific id comes in, then do it o/w just show 

pulldown

If Len(Request.QueryString("id")) <> 0 Then

	' request record for requested id

	objRS.Open "SELECT * FROM sample WHERE id=" & Request.QueryString

("id"), objDC, 0, 1

	' Show selected record

	If Not objRS.EOF Then

		objRS.MoveFirst







Error Type:

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 0x58c Thread 0x6ac 

DBC 0x1608d9c Jet'.


  Return to Index