Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Customization
 database location in shop$config.asp
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

joeljp1
Starting Member

11 Posts

Posted - March 31 2006 :  05:08:20  Show Profile  Reply with Quote
Hi, pls help me out, I just can't figure this one out. I've copied the database to locate at : host\database\xyz.mdb and the vpasp is located in "host\wwwroot\shop\". I gathered the database location variable to change in shop$config.asp must be "..\..\database" but it just won't work. When I connect to the default.asp, it forever complain with this error message:

Server.MapPath() error 'ASP 0175 : 80004005'

Disallowed Path Characters

/shop/shop$db.asp, line 289

The '..' characters are not allowed in the Path parameter for the MapPath method.

And yet, I have the same set up in a VM image and it works fine. Pls let me know what I've done wrong or anything I could diagnose the problem with.

Cheers, Jeffrey

nwright77
VP-CART New User

Luxembourg
89 Posts

Posted - March 31 2006 :  07:38:49  Show Profile  Reply with Quote
hi there,
you need to get the exact location of this file. look at you diag_dbtest.asp file online and test your file write.

it will give you the location of your licence file:

directoryname:\websites\website_address\folder\ etc.

you need to place this in then follow the location to your database

hope this helps


Edited by - nwright77 on March 31 2006 07:39:15
Go to Top of Page

devshb
Senior Member

United Kingdom
1904 Posts

Posted - March 31 2006 :  13:47:39  Show Profile  Visit devshb's Homepage  Reply with Quote
another possibility is to contact your host and get them to turn on the relative pathnames allowed option on the site/server; usually it'd be allowed, but some hosts default it to off by default.
you should be able to ask your host to switch it on to allow relative pathnames; just give them the error message and ask them to allow it if you want to.

Simon Barnaby
Developer
[email protected]
www.BigYellowZone.com
Web Design, Online Marketing and VPASP addons
Go to Top of Page

joeljp1
Starting Member

11 Posts

Posted - April 01 2006 :  20:02:31  Show Profile  Reply with Quote
Thanks for all those who responded!! You guys are great!
The support folks at vpasp has given me the answer I'm looking for and it works! Here's their reply and it might help others down the track:

Try changing your shop$config.asp to have these settings:

xdatabasetype = "Drive"

xdblocation="C:/intepub/database" (this should be the path to the database folder on your server - C:/... is just an example)

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00