Wrox Programmer Forums
|
VB Databases Basics Beginning-level VB coding questions specific to using VB with databases. Issues not specific to database use will be redirected to other forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB Databases Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 3rd, 2003, 11:43 PM
Registered User
 
Join Date: Jun 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to izchan Send a message via Yahoo to izchan
Default Database constantly crashing.

I am using a 2000 Access mdb as my backend database, serving 5 users concunrently.

I have no problem with concurrent usage with the system, as all the clients uses normal SQL statements to access the data within the database via a timestamp control to manipulate data integrity.

The issue is that the access database is constantly getting corrupted without any explanation at all.

I can repair the MDB and the system will run, but the frequency of the corruption is worrying my people here.

I know that I can upgrade to MSDE as a backend but I am still curious why is the MDB constantly breaking down.

Anyone have any ideas?

----------------------
Never insult seven men if you're only carrying a six shooter
 
Old June 4th, 2003, 12:22 PM
Registered User
 
Join Date: Jun 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm not sure if this is the problem but you might check your locktype on the recordsets. You might want to set them to adLockPessimistic, this may help.
 
Old June 5th, 2003, 01:56 AM
Registered User
 
Join Date: Jun 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to izchan Send a message via Yahoo to izchan
Default

ardenfr,
the only locktype available to me is BatchLockOptimisitc, because location is at client Side.

Plus the lock up is getting strange, i mean, I am just sending an insert statement, and not an update or delete, it should not require a lock at all.

the other issue that is worrying me is the size of the database, it is growing very fast.

Could the size be a cause of the corruption as well?

----------------------
Never insult seven men if you're only carrying a six shooter





Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP.NET crashing usamaalam ASP.NET 2.0 Professional 1 June 7th, 2008 04:44 PM
VS2008 Crashing? BigTallCampbell Visual Studio 2008 2 May 13th, 2008 10:05 PM
MouseOut event fires constantly MrSander BOOK: Professional JavaScript for Web Developers ISBN: 978-0-7645-7908-0 0 May 3rd, 2006 11:09 AM
Constantly losing PHP session variable? achalasia PHP How-To 3 October 29th, 2004 09:08 AM
MX Cache Missing Constantly klg Dreamweaver (all versions) 2 February 15th, 2004 11:23 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.