Print Page | Close Window

Forum Installation

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=29708
Printed Date: 01 April 2026 at 4:24am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Forum Installation
Posted By: tarooin
Subject: Forum Installation
Date 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






Replies:
Posted By: WebWiz-Bruce
Date 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.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


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


Posted By: WebWiz-Bruce
Date 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"


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


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


Posted By: WebWiz-Bruce
Date 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.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting



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