Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Compacting Database
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Compacting Database

 Post Reply Post Reply
Author
AlanP View Drop Down
Newbie
Newbie
Avatar

Joined: 24 December 2005
Location: Canada
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote AlanP Quote  Post ReplyReply Direct Link To This Post Topic: Compacting Database
    Posted: 31 December 2005 at 2:54pm
Hello.
 
While cranking up the security of our small discussion board, I moved the database outside the htdocs directory and into the private directory and reset the two common.asp files to the physical address:
 
e:\domains\e\domainname\user\private\newname\newname.mdb
 
and the site works fine. But when I try to compact and back up the database I get an error message
 

Microsoft VBScript runtime error '800a0034'

Bad file name or number

    /forum/admin/compact_access_db.asp, line 121

Line 121 reads:

objFSO.CopyFile strDbPathAndName, Replace(strDbPathAndName, ".mdb", "-backup.mdb", 1, -1, 1)

Do I need to edit something in here?

Thanks for any and all help.

Back to Top
huwnet View Drop Down
Senior Member
Senior Member


Joined: 30 May 2003
Location: England
Status: Offline
Points: 1375
Post Options Post Options   Thanks (0) Thanks(0)   Quote huwnet Quote  Post ReplyReply Direct Link To This Post Posted: 31 December 2005 at 4:16pm
Sometimes I have had problems with the files just being corrupt.

You might be able to fix it just by re-downloading WWF and then overwriting compact_access_db.asp with the new one Big smile

Also you will get a better response in the support forum as it is an error with WWF not your mistake Wink
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.