Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / ASP / Database Access / January 2008



Tip: Looking for answers? Try searching our database.

Microsoft JET Database Engine error '80004005' Could not use ''; file     already in use.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mel - 16 Dec 2007 16:23 GMT
I get this error when accessing a MS access 2003 database from an ASP
page when the database is opened in Access on the backend. When the
database is not open on the backend it works fine!

-------------
Microsoft JET Database Engine error '80004005'
Could not use ''; file already in use.
-------------

How can I run the asp pages and have (anybody) open Access on the
backend at the same time?

The ASP page connects to the database as follows:

<%
Dim MM_hostingDB_STRING
MM_hostingDB_STRING = "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=""D:\hosting.mdb"""

Dim RecordsetCustomers
Set RecordsetCustomers = Server.CreateObject("ADODB.Recordset")
RecordsetCustomers.ActiveConnection = MM_hostingDB_STRING
RecordsetCustomers.Source = "SELECT * FROM q_customers order by
customer"
RecordsetCustomers.CursorType = 0
RecordsetCustomers.CursorLocation = 2
RecordsetCustomers.LockType = 1
RecordsetCustomers.Open()
%>

Regards

Mel Christie
Jon Paal [MSMD] - 13 Jan 2008 16:29 GMT
this may help

http://support.microsoft.com/kb/q174943/
Bob Lehmann - 14 Jan 2008 00:15 GMT
With what? You seem to have left off the original post.

Bob Lehmann

> this may help
>
> http://support.microsoft.com/kb/q174943/
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.