Web Wiz - Green Windows Web Hosting

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

Forum Installation

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

Joined: 01 June 2007
Location: United Kingdom
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote tarooin Quote  Post ReplyReply Direct Link To This Post Topic: Forum Installation
    Posted: 29 August 2011 at 10:45am
why am i not able to install the forum can any one help:
getting error:
******************

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

Disallowed Path Characters

/law_forum/database/database_settings.asp, line 24

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

**************************
http://www.legalserviceindia.com/law_forum/ - http://www.legalserviceindia.com/law_forum/


can anyone help me install the script i will make payment for the services



Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 29 August 2011 at 11:03am
Your web host as disabled Parent Paths which means that you can not use MapPath witgh ../ to move up a directory when setting the path to the Access database.

You would need to either contact your web host and ask them to enable parent paths for your website, or remove the MapPath method and use the physical path to the Access database.
Back to Top
tarooin View Drop Down
Newbie
Newbie
Avatar

Joined: 01 June 2007
Location: United Kingdom
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote tarooin Quote  Post ReplyReply Direct Link To This Post Posted: 30 August 2011 at 3:46pm
how do i remove the MapPath method and use the physical path to the Access database.
kindly help
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 30 August 2011 at 4:06pm
Ask your web host for the physcal path to your Access database, then remove the part that has Server.MapPath and put in your physical path eg:-

strDbPathAndName = Server.MapPath("database/wwForum.mdb")


becomes:-

strDbPathAndName = "c:\hostspace\exmaple.com\database\wwForum.mdb"
Back to Top
tarooin View Drop Down
Newbie
Newbie
Avatar

Joined: 01 June 2007
Location: United Kingdom
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote tarooin Quote  Post ReplyReply Direct Link To This Post Posted: 06 September 2011 at 4:51am
my host says 
This is in reference to your query; we would request you to please use path as "//data/wwForum.mdb" and crosscheck the same at your end. 

so i have inserted this in this line given below:
********************
'Virtual path to database
strDbPathAndName = Server.MapPath("//data/wwForum.mdb")  'This is the path of the database from the applications location
*******************************************************

but i am still getting error
check this link:
http://www.legalserviceindia.com/law_forum/ - http://www.legalserviceindia.com/law_forum/

after that i emailed my host this is what they have to say:
*******************
This is in reference to your query we would like to inform you that please contact your website developer to correct the line 24 as it showing syntax error due to unsupported character specifying in path that is '/' or '\' further we are not supporting software debugging or coding correction. We have cross checked your website is working fine but on particular webpage you are getting error due coding error or may be due to configuration on you website. Kindly let know what configuration you require on server if it is related to server. 

kindly help me what should i do now
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 06 September 2011 at 8:50am
I think you mkiss read my last post, as you have not removed the Server.MapPath as I mentioned. from what your host is saying you should be using:-


strDbPathAndName = "//data/wwForum.mdb"


If this doesn't work then as your host is not being very helpful I would suggest moving web host. You should also be using the SQL Server or mySQL versions of Web Wiz Forums as Access is a desktop database and we do not support it in a production environment. Most web hosts like ourselves give you SQL Server as standard with a Windows hosting package.
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.