Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Corrupt Access Database?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Corrupt Access Database?

 Post Reply Post Reply
Author
davidshq View Drop Down
Senior Member
Senior Member


Joined: 29 July 2003
Location: United States
Status: Offline
Points: 299
Post Options Post Options   Thanks (0) Thanks(0)   Quote davidshq Quote  Post ReplyReply Direct Link To This Post Topic: Corrupt Access Database?
    Posted: 14 October 2003 at 12:15am

Hi Folks,
   I'm having a problem with a search directory script I've been using at my site www.civilwarsearch.com. It suddenly seemed to stop working correctly though I don't know of any changes I made that should cause this problem. In any case I wrote my host and asked them if they had changed anything and they mentioned that perhaps my Access database had become corrupt. Could someone explain to me how my db would become corrupt? How would I know? And is there anything I can do to fix it?
Respectfully,
David.

Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post Posted: 14 October 2003 at 8:17am
Access is prone to becoming corrupt, download you mdb and open it, it should tell you if something is wrong, you might want to do a compact and repair in Access...
Back to Top
davidshq View Drop Down
Senior Member
Senior Member


Joined: 29 July 2003
Location: United States
Status: Offline
Points: 299
Post Options Post Options   Thanks (0) Thanks(0)   Quote davidshq Quote  Post ReplyReply Direct Link To This Post Posted: 14 October 2003 at 9:46am

Thanks for the advice...The one problem is that I don't own Access. :-/ I use aspAccessEditor or Microsoft's ASP.NET Web Matrix - but as far as I know neither has the ability to repair databases. Is there any online compact/repair utilities, etc.?

Respectfully,
David.

Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post Posted: 14 October 2003 at 12:27pm
There are a ton, I think even this forum has one built in. But you can also dl a script from i.e. aspin.com
Back to Top
davidshq View Drop Down
Senior Member
Senior Member


Joined: 29 July 2003
Location: United States
Status: Offline
Points: 299
Post Options Post Options   Thanks (0) Thanks(0)   Quote davidshq Quote  Post ReplyReply Direct Link To This Post Posted: 14 October 2003 at 12:49pm

I actually visited hotscripts.com and found a free database compactor. It worked well and cut my database down to around half its original size...but the script is still not working. :-/
Instead of changing a Category ID to the correct number it is changing it to a negative number for some unknown reason.
Respectfully,

David.

Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post Posted: 14 October 2003 at 10:46pm

If any of your integers are exceeding 32,768, you may have to change them to a different Type capable of holding a larger number.

 


Lead me not into temptation... I know the short cut, follow me.
Back to Top
davidshq View Drop Down
Senior Member
Senior Member


Joined: 29 July 2003
Location: United States
Status: Offline
Points: 299
Post Options Post Options   Thanks (0) Thanks(0)   Quote davidshq Quote  Post ReplyReply Direct Link To This Post Posted: 15 October 2003 at 6:12am

Thanks everyone...I've fixed the error. Compacting the database took it down to around half its size - which was nice...But it ended up that my problem was in the fact that I put a - to separate different terms in the text and the script was reading the - as a numerical value, thus throwing negative numbers.

Respectfully,
David.

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.