Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: Database: MS Access
 Access - Could not use"; file already in use
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

Zuel
Average Member

USA
540 Posts

Posted - 04 May 2006 :  13:06:33  Show Profile  Visit Zuel's Homepage
Microsoft JET Database Engine error '80004005'

Could not use ''; file already in use.

/forum/inc_header.asp, line 113

Line 113: my_Conn.Open strConnString

It is about time I know what this error means and how to prevent it. I think Access can only support one request at a time so it errors users who make requests at the same time.

If this is true, how can I prevent this without upgrading? Is there a setting I can use to fix this in the DB itself?

Thanks

My Completed Mods: News Mod | Zuel's Avatar Add-on
In Development: World of Warcraft Member Roster | [C# Based Forum]

Note - I may take a few days to recieve your email. Hotmail filters all new emails as junk. Would be best to post all questions, concerns in a forum topic to catch my immediate attention. This way others can assist and also correct any similar mistakes.

MSN / E-Mail: ucyimDa_Ruler@Hotmail.com

Personal Bookmarks: How to work a DBS File

Zuel
Average Member

USA
540 Posts

Posted - 04 May 2006 :  13:15:33  Show Profile  Visit Zuel's Homepage
I've done a search but the people who asked the question don't seem to fully understand it. Just hitting refresh can and will clear this up.

Reading a few articles from Microsoft I added some extra permissions to the DB itself. I cannot modify the permissions on the virtual folder it is kept in.

My Completed Mods: News Mod | Zuel's Avatar Add-on
In Development: World of Warcraft Member Roster | [C# Based Forum]

Note - I may take a few days to recieve your email. Hotmail filters all new emails as junk. Would be best to post all questions, concerns in a forum topic to catch my immediate attention. This way others can assist and also correct any similar mistakes.

MSN / E-Mail: ucyimDa_Ruler@Hotmail.com

Personal Bookmarks: How to work a DBS File
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 04 May 2006 :  13:33:11  Show Profile  Send ruirib a Yahoo! Message
Are you using an OLEDB connection string?


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Zuel
Average Member

USA
540 Posts

Posted - 04 May 2006 :  14:14:00  Show Profile  Visit Zuel's Homepage
strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath()

So yes.

Should I move to this one?
'strConnString = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=""

Reason why I chose that is because it said Access 2000 vs 97.

My Completed Mods: News Mod | Zuel's Avatar Add-on
In Development: World of Warcraft Member Roster | [C# Based Forum]

Note - I may take a few days to recieve your email. Hotmail filters all new emails as junk. Would be best to post all questions, concerns in a forum topic to catch my immediate attention. This way others can assist and also correct any similar mistakes.

MSN / E-Mail: ucyimDa_Ruler@Hotmail.com

Personal Bookmarks: How to work a DBS File
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 04 May 2006 :  14:24:46  Show Profile  Send ruirib a Yahoo! Message
No, that's your best option, keep it. I thought you could be using something else.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Zuel
Average Member

USA
540 Posts

Posted - 04 May 2006 :  14:30:36  Show Profile  Visit Zuel's Homepage
Well the changing permissions didn't help any. Still same error. I'll try some access options see if I see something.

Until then I'm stuck. I've been getting this error ever since I started using it.

My Completed Mods: News Mod | Zuel's Avatar Add-on
In Development: World of Warcraft Member Roster | [C# Based Forum]

Note - I may take a few days to recieve your email. Hotmail filters all new emails as junk. Would be best to post all questions, concerns in a forum topic to catch my immediate attention. This way others can assist and also correct any similar mistakes.

MSN / E-Mail: ucyimDa_Ruler@Hotmail.com

Personal Bookmarks: How to work a DBS File
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 04 May 2006 :  14:33:55  Show Profile  Send ruirib a Yahoo! Message
Where is that happening? Your computer or your server?


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Zuel
Average Member

USA
540 Posts

Posted - 04 May 2006 :  14:37:37  Show Profile  Visit Zuel's Homepage
On the server. tester/tester

If you go here: www.twistingshadows.com/forum/ and hit refresh a few times (or as many as needed) you'll run into the error.

Some options I found in Access Options:
Default Open Mode:
Shared (Checked)
Exclusive

Default Record Locking:
No Locks (Checked)
All Records
Edited Records

Those two stand out the most in that situation. I believe those values perform best in that manner.

My Completed Mods: News Mod | Zuel's Avatar Add-on
In Development: World of Warcraft Member Roster | [C# Based Forum]

Note - I may take a few days to recieve your email. Hotmail filters all new emails as junk. Would be best to post all questions, concerns in a forum topic to catch my immediate attention. This way others can assist and also correct any similar mistakes.

MSN / E-Mail: ucyimDa_Ruler@Hotmail.com

Personal Bookmarks: How to work a DBS File

Edited by - Zuel on 04 May 2006 14:37:59
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 04 May 2006 :  14:47:38  Show Profile  Send ruirib a Yahoo! Message
Those settings are specified on the Access aplication itself, don't think they are applicable to the .mdb file used in a website. Maybe you can specify similar values in the connection string. Will try to check that.

How many users are online simultaneously?


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Zuel
Average Member

USA
540 Posts

Posted - 04 May 2006 :  15:03:11  Show Profile  Visit Zuel's Homepage
Roughly 12. It can happen with only two.

I can't make it happen when I test on my machine which makes me think it happens when users request information at the same time.

My Completed Mods: News Mod | Zuel's Avatar Add-on
In Development: World of Warcraft Member Roster | [C# Based Forum]

Note - I may take a few days to recieve your email. Hotmail filters all new emails as junk. Would be best to post all questions, concerns in a forum topic to catch my immediate attention. This way others can assist and also correct any similar mistakes.

MSN / E-Mail: ucyimDa_Ruler@Hotmail.com

Personal Bookmarks: How to work a DBS File
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 04 May 2006 :  15:13:50  Show Profile  Visit AnonJr's Homepage
When it happens, does somebody have the database open in Access (the MSO application)?
Go to Top of Page

Zuel
Average Member

USA
540 Posts

Posted - 04 May 2006 :  15:18:34  Show Profile  Visit Zuel's Homepage
You cannot open the DB from the FTP. You must download it. When someone is downloading the DB it shows the error updateable query.

The only person who can download is me and one other. Accessing the DB through the web has been blocked via server and name encryption. And besides, those are only during the weeee hours of the morning.

My Completed Mods: News Mod | Zuel's Avatar Add-on
In Development: World of Warcraft Member Roster | [C# Based Forum]

Note - I may take a few days to recieve your email. Hotmail filters all new emails as junk. Would be best to post all questions, concerns in a forum topic to catch my immediate attention. This way others can assist and also correct any similar mistakes.

MSN / E-Mail: ucyimDa_Ruler@Hotmail.com

Personal Bookmarks: How to work a DBS File
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 04 May 2006 :  17:02:23  Show Profile  Visit AnonJr's Homepage
Just checking. I remember reading about an issue with the fact that ASP can't access an Access Database that is currently open in Access... don't ask me why.
Go to Top of Page

Zuel
Average Member

USA
540 Posts

Posted - 05 May 2006 :  09:25:52  Show Profile  Visit Zuel's Homepage
Before I started the forum I asked one of the web developers where I worked. He meantioned something about exclusive access meaning only one connection. That is why I have it on shared.

Looks like I will have to upgrade.

My Completed Mods: News Mod | Zuel's Avatar Add-on
In Development: World of Warcraft Member Roster | [C# Based Forum]

Note - I may take a few days to recieve your email. Hotmail filters all new emails as junk. Would be best to post all questions, concerns in a forum topic to catch my immediate attention. This way others can assist and also correct any similar mistakes.

MSN / E-Mail: ucyimDa_Ruler@Hotmail.com

Personal Bookmarks: How to work a DBS File
Go to Top of Page

Ranko
Junior Member

400 Posts

Posted - 05 May 2006 :  10:01:41  Show Profile
quote:
Originally posted by AnonJr

Just checking. I remember reading about an issue with the fact that ASP can't access an Access Database that is currently open in Access... don't ask me why.


I can confirm that as I use Access locally, and want to kill someone everytime I need to check something in the DB and forget to close it.
Go to Top of Page

et10yl
Starting Member

17 Posts

Posted - 18 October 2006 :  16:46:48  Show Profile
Zuel, did you ever figure this out? Or anyone else? I am very interested to know what the error means also, and how to prevent it...
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 1.71 seconds. Powered By: Snitz Forums 2000 Version 3.4.07