Solved

Microsoft JET Database Engine error '80004005'  Unspecified error

Posted on 2009-04-08
10
747 Views
Last Modified: 2012-08-14
My Win 2000 server crashed last night.  Upon a hard reboot my website asp pages are served but any page that need to get data from my MS Access 2000 Databases are throwing the following error:

Microsoft JET Database Engine error '80004005'

Unspecified error

I hunted through Google but could find any specific instructions on troubleshooting this problem?  Can someone help me?
0
Comment
Question by:cdemott33
  • 4
  • 4
  • 2
10 Comments
 
LVL 4

Expert Comment

by:rentonc
Comment Utility
Can you supply your connection strings and what page you initially get he errors from.
0
 
LVL 23

Expert Comment

by:apresto
Comment Utility
Also, try and open your database in its MS Access environment, and make sure the database itself is not corrupted. This can often be the case when access is terminated in a server enrieonment unexpectedly
0
 

Author Comment

by:cdemott33
Comment Utility
I don't believe it has anything to do with the connection string, because, up to the point of my server crashing, the connection strings have been in place for at least a year, working perfectly.  Then, on hard reboot, it just stopped working.

I think it has something to do with the server crash and hard reboot?  Something is preventing my ASP code from connecting to the database.  Something on the server.

There are about 5 website on my server.  Each website has it own unique database (mdb) and each website is throwing the same error message.  So whatever it is, it's affect all the databases and not just a single database.

Any other thoughts?   Again, it is MS Acess 2000 running on a Windows 2000 server.  Is there some way of checking to see if the system put a lock on all the databases or something?  I'm sorry, but I don't know very much about server administration so I really do need help.  Thanks!


0
 
LVL 23

Expert Comment

by:apresto
Comment Utility
download one of the databases and try and access it from the MS Access environment. do you have backups?
0
 
LVL 4

Expert Comment

by:rentonc
Comment Utility
Send the connection string really! It all helps, because we aren't mind readers! :)
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 

Author Comment

by:cdemott33
Comment Utility
Hi apresto - I tried that and I am able to open the databases via the MS Access environment.  I haven't added anything to the tables that I opened I just made sure I could open them and read the data, which I can.  
0
 
LVL 4

Expert Comment

by:rentonc
Comment Utility
I would also try reinstalling MDAC again as this may have been corrupted.
0
 

Author Comment

by:cdemott33
Comment Utility
As requested here's an example.  It uses a UDL file to connect to the database
	' From adovbs.inc:

	Const adOpenKeyset = 1

	Const adLockPessimistic = 2

	Const adCmdText = &H0001
 

	' Get filename and build SQL query

	strSQLStatement = "SELECT * FROM Login;"
 

	' Open our recordset

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

	' Access version:

	strFilename.Open strSQLStatement , _

		"File Name=C:\Inetpub\wwwroot\UDLFiles\ClientA_Database.udl", _

		adOpenKeyset, adLockPessimistic, adCmdText
 

	If NOT strFilename.EOF Then

		strFilename.MoveFirst

	End If
 

	' PERFORM STUFF
 

	' Close our connection

	strFilename.Close

	Set strFilename = Nothing	

Open in new window

0
 
LVL 4

Expert Comment

by:rentonc
Comment Utility
Try using a DSNless connection
0
 

Accepted Solution

by:
cdemott33 earned 0 total points
Comment Utility
Well I reboot the server,which seams to have "magically" resoloved the problem.  I would have prefered to get to the root cause of the issue, but I could not have the websites unavailable for any extended lenght of time.

I really don't believe it has anything to do with the connection string because I've been using the same exact method of connecting to the database for 2 years now and I haven't had any trouble at all.  

I believe that when the server crash/froze up and I hard booted it something got "Lock" and prevented the connections from working.  I have no idea what could have done that, but, for now, a soft reboot seamed to clear things up.

Thank you all for your suggestions.  Hopefully this will not happen again, any time soon.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now