Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB Databases Basics
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 3rd, 2003, 11:43 PM
Registered User
 
Join Date: Jun 2003
Location: Seremban, Negeri Sembilan, Malaysia.
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
Reply With Quote
  #2 (permalink)  
Old June 4th, 2003, 12:22 PM
Registered User
 
Join Date: Jun 2003
Location: Lubbock, TX, USA.
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.
Reply With Quote
  #3 (permalink)  
Old June 5th, 2003, 01:56 AM
Registered User
 
Join Date: Jun 2003
Location: Seremban, Negeri Sembilan, Malaysia.
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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 06:13 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.