Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - access mdb compact and repair problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

access mdb compact and repair problem

 Post Reply Post Reply
Author
astral View Drop Down
Newbie
Newbie


Joined: 17 November 2004
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote astral Quote  Post ReplyReply Direct Link To This Post Topic: access mdb compact and repair problem
    Posted: 17 November 2004 at 3:58am
 i tried to use the compact and repair function in the admin page but it showed me this error...

Microsoft VBScript runtime error '800a0005'

Invalid procedure call or argument

/admin/compact_access_db.asp, line 110

may i know what happen and how to solve it??

thanks

 

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 17 November 2004 at 4:44am
It could be a corrupted file, try re uploading files again.

It could also be that the server doesn't support this method as the ADO drivers have not been updated to a version that does support compacting and repairing.

If you have access to the server you need to install the latest MDAC drivers from www.microsoft.com/data

It could also be a problem with your database, you can compact and repair an access database from inside MS Access. Download your database, open in MS Access, and select 'Compact and Repair' from the tools menu.
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: 17 November 2004 at 11:21am

To check your ado version, use the following code

<%
dim objAdoVer
Set objAdoVer = Server.CreateObject("adodb.connection")
response.write "ADOVersion = " & objAdoVer.Version
Set objAdoVer = Nothing
%>

I believe the latest version is 2.7 or 2.8


Lead me not into temptation... I know the short cut, follow me.
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.