Print Page | Close Window

Where is my database?

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=3838
Printed Date: 01 April 2026 at 9:29pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Where is my database?
Posted By: antistar
Subject: Where is my database?
Date 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.




Replies:
Posted By: Fitzkah
Date Posted: 25 June 2003 at 6:24pm

Try starting the path out with this...

file:///C - file:///C |



Posted By: antistar
Date Posted: 25 June 2003 at 6:45pm

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

 



Posted By: michael
Date 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

-------------
http://baumannphoto.com" rel="nofollow - Blog | http://mpgtracker.com" rel="nofollow - MPG Tracker


Posted By: antistar
Date Posted: 26 June 2003 at 7:59am

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

 




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net