Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unspecified error

Status
Not open for further replies.

cumap

IS-IT--Management
Joined
Jul 9, 2007
Messages
268
Location
US
Hello all,
Today I just got this error "Unspecified error" which I hadn't get before and I honestly don't remember the last time I editted this database_conn.asp file at all.

Here is the code of the page
Code:
connStr = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("/dbaccess/testing.mdb")
Set objConn = Server.CreateObject("ADODB.Connection")
objConn.mode = 3 ' adModeReadWrite
objConn.Open ConnStr

if err.Number <> 0 then
	response.write "Error Number: " & err.Number & "<BR>"
	response.write "Error Page: " & Request.ServerVariables("PATH_INFO") & "<BR>"
	response.write "Error Description: " & err.Description
end if
on error goto 0
 
Oh yeah, let me add a little more detail to the error.

Basically, the error pin point the this line of the code

objConn.Open ConnStr

Hope this clearify a little bit.
Thanks
 
If the codes not changed then perhaps the database has? is it still in that location? Have your access rights been changed? Perhaps it's now read only? Can the test.mdb be opened with access ok?

Sorry this isn't an answer but it may give some clues. Good luck,

JB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top