| Author |
Topic Search Topic Options
|
davidshq
Senior Member
Joined: 29 July 2003
Location: United States
Status: Offline
Points: 299
|
Post Options
Thanks(0)
Quote Reply
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.
|
 |
michael
Senior Member
Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
|
Post Options
Thanks(0)
Quote Reply
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...
|
|
|
 |
davidshq
Senior Member
Joined: 29 July 2003
Location: United States
Status: Offline
Points: 299
|
Post Options
Thanks(0)
Quote Reply
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.
|
 |
michael
Senior Member
Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
|
Post Options
Thanks(0)
Quote Reply
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
|
|
|
 |
davidshq
Senior Member
Joined: 29 July 2003
Location: United States
Status: Offline
Points: 299
|
Post Options
Thanks(0)
Quote Reply
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.
|
 |
dpyers
Senior Member
Joined: 12 May 2003
Status: Offline
Points: 3937
|
Post Options
Thanks(0)
Quote Reply
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.
|
 |
davidshq
Senior Member
Joined: 29 July 2003
Location: United States
Status: Offline
Points: 299
|
Post Options
Thanks(0)
Quote Reply
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.
|
 |