Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Error when trying to compact
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Error when trying to compact

 Post Reply Post Reply
Author
Joey805 View Drop Down
Groupie
Groupie


Joined: 24 November 2003
Location: United States
Status: Offline
Points: 92
Post Options Post Options   Thanks (0) Thanks(0)   Quote Joey805 Quote  Post ReplyReply Direct Link To This Post Topic: Error when trying to compact
    Posted: 24 November 2003 at 5:21pm

When I select to compact my access 2000 database in my web wiz forum admin, I get the following error message:

  1. Database backed up to:-
    D:\inetpub\wwwroot\socalsinker.com\forum\admin\database\wwFo rum-backup.mdb

  2. New compacted database:-
    D:\inetpub\wwwroot\socalsinker.com\forum\admin\database\wwFo rum-tmp.mdb

    Microsoft VBScript runtime error '800a0046'

    Permission denied

    /forum/admin/compact_access_db.asp, line 136

Does anyone know how to fix this?
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: 25 November 2003 at 8:54am
You need to have permisison to delete files on the server.

If you don't go back to the backup database and rename it using FTP. If you wish to comapct and repair the database you may need to do this manually by downloading the database via FTP, open in access, compact and repair the database from accesses tools menu, and then reupload the database again.
Back to Top
Joey805 View Drop Down
Groupie
Groupie


Joined: 24 November 2003
Location: United States
Status: Offline
Points: 92
Post Options Post Options   Thanks (0) Thanks(0)   Quote Joey805 Quote  Post ReplyReply Direct Link To This Post Posted: 25 November 2003 at 10:56am
The only thing I can do when I download the file manually is to repair it in access, I cannot compact it. It says im using a newer version of access than what the file is using.
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: 25 November 2003 at 11:48am
Then I'm afraid unless you can get the permissions changed on the forum to delete files as well you don't have any choice but use the database uncompacted.

According to your previous post the compact procedure has already taken place so the file:-

wwForum-tmp.mdb

Will already be compacted, so use this file instead by renaming it on the server to wwForum.mdb


Edited by -boRg-
Back to Top
Joey805 View Drop Down
Groupie
Groupie


Joined: 24 November 2003
Location: United States
Status: Offline
Points: 92
Post Options Post Options   Thanks (0) Thanks(0)   Quote Joey805 Quote  Post ReplyReply Direct Link To This Post Posted: 25 November 2003 at 2:34pm

Would  this mean  that the IUSR account would need delete rights to the database folder? Or is there a more secure way of doing this?

Thanks Again,

Joey

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: 25 November 2003 at 4:18pm
For this feature to work yes.

How it works is:-
  1. Makes a backup using FSO object.
  2. Compacts and repairs the database to wwForum-tmp.mdb using the JET database engine.
  3. Deletes the old uncompacted database using the FSO object.
  4. Renames the wwForum-tmp.mdb to the orignal name of the database using the FSO object.


Edited by -boRg-
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.