Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Where is my database?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Where is my database?

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

Joined: 25 June 2003
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote antistar Quote  Post ReplyReply Direct Link To This Post Topic: Where is my database?
    Posted: 25 June 2003 at 6:10pm

My database has to be loaded up into a different folder, /db, but I can't seem to be able to find the right path to put in the common.asp file.  The forum I've had to upload into a /www folder, under /www/folder/ so when I put "/db/wwForum.mdb" in, it tries to go to:

C:\webspace\resadmin\anti-starnet\anti-star.net\www\forum\db\wwForum.mdb

When I want it to go to:

C:\webspace\resadmin\anti-starnet\anti-star.net\db\wwForum.mdb

I've tried using "db/wwForum.mdb" but it tries to go here instead:

c:\nothing\db\wwForum.mdb

Using "//db/wwForum.mdb" just gives me an error about incorrect usage of "/" or "\".

I've run out of ideas of where to point the damn thing, so I was wondering if you had any suggestions?

Thanks.

Back to Top
Fitzkah View Drop Down
Newbie
Newbie


Joined: 24 June 2003
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fitzkah Quote  Post ReplyReply Direct Link To This Post Posted: 25 June 2003 at 6:24pm

Try starting the path out with this...

file:///C|

Back to Top
antistar View Drop Down
Newbie
Newbie
Avatar

Joined: 25 June 2003
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote antistar Quote  Post ReplyReply Direct Link To This Post Posted: 25 June 2003 at 6:45pm

Ok...I tried "file:///C|db/wwForum.mdb" and it gave me the error that I had an invalid character in my path.

 

Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post Posted: 25 June 2003 at 7:40pm
If you are using Server.Mappath then you need to put the path like "../../db/yourdb.mdb"
Or you can just cut the whole Server.Mappath and put the physical path as C:\webspace\resadmin\anti-starnet\anti-star.net\db\wwForum.mdb
Back to Top
antistar View Drop Down
Newbie
Newbie
Avatar

Joined: 25 June 2003
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote antistar Quote  Post ReplyReply Direct Link To This Post Posted: 26 June 2003 at 7:59am

That worked a treat, michael, thanks a lot :D.

 

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.