Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Installation problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Installation problem

 Post Reply Post Reply Page  <123>
Author
MarjaR View Drop Down
Newbie
Newbie


Joined: 12 December 2003
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote MarjaR Quote  Post ReplyReply Direct Link To This Post Posted: 12 December 2003 at 2:48pm

Same error with relative paths (the Server.MapPath method)

Back to Top
thekiwi View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 23 November 2003
Location: New Zealand
Status: Offline
Points: 392
Post Options Post Options   Thanks (0) Thanks(0)   Quote thekiwi Quote  Post ReplyReply Direct Link To This Post Posted: 12 December 2003 at 3:07pm
Originally posted by MarjaR MarjaR wrote:

Hi,

I just uploaded the forum files to my website and tried to login with the Administrator account. However, it's not working.

The error is the infamous 'updateable query' error, but I'm very certain that the directory where I put the forum database has the proper access rights, because my regular website database "lives" there as well.

I'm positive (checked, double-checked and re-checked again) that I've changed the 2 common.asp files so that the DB path looks like:
strDbPathAndName = "d:\www\flevooware.nl\database\wwForum.mdb"
And I know for certain that I've uploaded them as well.

So what else could be wrong?

Regards, Marja

BTW. the forum is located here: http://www.flevooware.nl/dreamweaver/forum/

 This is almost always a permissions issue.

Be sure that the MDB file is in a folder where IUSR has read/write access (because IUSR_<machine_name> needs to create an .LDB file when modifying the database).

Also be sure that the MDB file itself isn't marked as read-only, and that you don't have the MDB file open (particularly in exclusive mode) while trying to reach the DB from ASP

Back to Top
thekiwi View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 23 November 2003
Location: New Zealand
Status: Offline
Points: 392
Post Options Post Options   Thanks (0) Thanks(0)   Quote thekiwi Quote  Post ReplyReply Direct Link To This Post Posted: 12 December 2003 at 3:09pm
Originally posted by MarjaR MarjaR wrote:

This database directory is outside the website root and is thus a safer place for a database.

Yes ..... it should almost be "required" that the database is moved outside the scope of the WWW Site.  Sure renaming it is a good idea .... but nothing is more secure than it being almost impossible to "reach" for download.

Back to Top
MarjaR View Drop Down
Newbie
Newbie


Joined: 12 December 2003
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote MarjaR Quote  Post ReplyReply Direct Link To This Post Posted: 12 December 2003 at 3:15pm

I placed the WebWiz MDB file in the same directory as where my main website MDB file resides.
And I have no problem whatsoever updating my website DB using my CMS.

I've tried re-uploading the forum DB several times now (to try to make sure it wasn't corrupted in the FTP process), but it doesn't help.

Back to Top
thekiwi View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 23 November 2003
Location: New Zealand
Status: Offline
Points: 392
Post Options Post Options   Thanks (0) Thanks(0)   Quote thekiwi Quote  Post ReplyReply Direct Link To This Post Posted: 12 December 2003 at 3:18pm
Originally posted by MarjaR MarjaR wrote:

I placed the WebWiz MDB file in the same directory as where my main website MDB file resides.
And I have no problem whatsoever updating my website DB using my CMS.

I've tried re-uploading the forum DB several times now (to try to make sure it wasn't corrupted in the FTP process), but it doesn't help.

Yes ... but that doesn't 100% ensure that the database itself is read/write.  The only 100% way to ensure this (trust me .. I run a hosting service and it happens often) is to TermServ in or be at the console and chekc the privs of the MDB file.

Back to Top
MarjaR View Drop Down
Newbie
Newbie


Joined: 12 December 2003
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote MarjaR Quote  Post ReplyReply Direct Link To This Post Posted: 12 December 2003 at 3:22pm
Originally posted by thekiwi thekiwi wrote:

Yes ... but that doesn't 100% ensure that the database itself is read/write.  The only 100% way to ensure this (trust me .. I run a hosting service and it happens often) is to TermServ in or be at the console and chekc the privs of the MDB file.

Okay, but this site is externally hosted so I can't do what you describe here.

I've checked the MDB file properties here locally before uploading it and it isn't read-only here on my computer.
Can it become read-only in the FTP process?

Back to Top
thekiwi View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 23 November 2003
Location: New Zealand
Status: Offline
Points: 392
Post Options Post Options   Thanks (0) Thanks(0)   Quote thekiwi Quote  Post ReplyReply Direct Link To This Post Posted: 12 December 2003 at 3:23pm

Originally posted by shadow man shadow man wrote:

you're only supposed to change the name of the database.

No you're not

http://www.webwiz.net/web_wiz_forums/docs_access_move_d b.asp?mode=forum

"For higher security it is highly recommended that you at the very least rename the forum database and if possible move the location of the database to a folder above the root directory of your web site where it can not be accessed using a web browser, good web hosts will have a directory set up for this usually called private. (If you don't you leave yourself wide open to hackers!!)"

Back to Top
shadow man View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 11 December 2003
Location: United Kingdom
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote shadow man Quote  Post ReplyReply Direct Link To This Post Posted: 12 December 2003 at 3:29pm
sorry about that...
Back to Top
 Post Reply Post Reply Page  <123>

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.