I wanted to try out a banner management package recently, but I kept geting errors with the include files.
for example <!--#INCLUDE FILE="../include/login.asp" -->
would generate an error because of the '..'
I've just installed the topic maker mod and am getting a similar error
"The '..' characters are not allowed in the Path parameter for the MapPath method."
Is this a problem with my databse configuration or my hosts server? I didn't post this in MOD support because it seems to be a general problem that I keep getting.
have you ever gotten similar errors with includes? you could try using a virtual include: <!--#INCLUDE VIRTUAL="/include/login.asp" --> assuming /include/ is a directory right in the webroot.
Thanks for the advice, I'll give it a go. I've just noticed that the second error is different to the first. I will see if I can work that one out again.
Out of curiosity, why would <!--#INCLUDE FILE="../include/login.asp" --> have been used in the original programming? I presume that whoever wrote this did not have the same problem.
A quick search revealed this URL: http://www.w3schools.com/asp/asp_incfiles.asp I recall reading somewhere that some hosts don't allow paths using ../ for "security reasons". Maybe that's what you've run into?