I have two environments: DEV and PROD. In DEV I have two independent webs. In PROD one of the webs is the root and the other is a subweb of the root.
Each enviornment has a different file system configuration so I must manually change the file location references in my code when I post from DEV to PROD. Code:
View Replies
View Related
I know that IIS 6 disables parent paths by default and I see in M@rco's blog that he "hates them with a vengence." The problem with not using them (at least with includes) though, is that your code files cannot be structured in a useful way, otherwise you will not be able to redistribute your code or to move your folders. Code:
View Replies
View Related
i have several errors when i want to include a file in my asp codes using "include file" object. i am using windows server 2003 and IIS6. have can i solve this problem?
The error description is like this....
Active Server Pages error 'ASP 0131'
Disallowed Parent Path
The Include file '../adovbs.inc' cannot contain '..' to indicate the parent directory.
View Replies
View Related
this error on asp project:
Active Server Pages error 'ASP 0131'
Disallowed Parent Path
/ASP/Sale.asp, line 39
The Include file '../_fpclass/fpdblib.inc' cannot contain '..' to indicate the parent directory.
View Replies
View Related
I am getting a really easy error and can't get it right no matter how I change it. It goes like this:
Active Server Pageserror 'ASP 0131'
Disallowed Parent Path
/raven/includes/include.asp, line 1 The Include file '..database/constants.asp' cannot contain '..' to indicate the parent directory.
<!-- #include file="../database/constants.asp"-->
<!-- #include file="include-filesystem.asp"-->
<!-- #include file="include-constants.asp"-->
<!-- #include file="../languages/language-config.asp"-->
View Replies
View Related
Im trying to log into the admin section but I get this error. tell me what might be wrong?
Active Server Pageserror 'ASP 0131'
Disallowed Parent Path
/portal/home/Default.asp, line 1 The Include file '../includes/inc_config.asp' cannot contain '..' to indicate the parent directory.
View Replies
View Related
The Include file '../main.asp' cannot contain '..' to indicate the parent
directory.
I think it is refering to the fact that I have a file called
communication.asp, and in that file there is a line:
<!-- #include file=../main.asp -->
This LINE should not contain '..' to indicate the parent directory
On the other hand, reading the message as it is written, we see that it
says: Code:
View Replies
View Related
Having problems with uploaded Database and SharePoint sites. At least one of the errors is mentioned below. Sites do not allow access to DB entry or results. Code:
View Replies
View Related
Need Idea About to Secure img path in ASP (img not open excluding our domian)files.......................i need this beocz our hostings are remote thousands of users pick our img path and paste in forums and we lose some our bandwith
Any body have solution for this (or provide me a ASP script for this) or tell me commands.
View Replies
View Related
explain abt copy files from IIS image path to local client's machine.
View Replies
View Related
Im working on a new site and im not using frames, im using #include files. The isse is you cant put a variable into an include file because includes are loaded befor variables and this means that the include dont work...
what ive done is make an include page with a quirystring passing which page i want to load in, then on the included page it looks at the case and when it = 2 for example. it loads whats in case 2 which in this case is <!--#include file="../XtraNET/Forum.asp"-->
trubble is theres 52 menu items, if the site would always have 52 menu items this would be solved, but you can add new ones.. thusly i need to be able to dynamic the code...
My train of thought is can i store the whole <!--#include file="../XtraNET/LiveChat.asp"--> statement in the database and call it within the code dynamicly, like a document.write or somthing.
View Replies
View Related
I just started ASP/ASP.NET two days ago. I would like to know the best way to go about using this include file method to contain my connection string stuff. As I understand it, a connection should only last as long as the query action (unlike VB6 with a persistent connection.)
So, what would be the best stuff to put into an include file for my connection stuff so I only have to make one change throughout the ASP/ASP.NET app?
Any other experiences with good things to put in that include file?
Can I also create the connection object in the include file and use it in multiple pages?
View Replies
View Related
I need to include an asp file from another server.Code:
<!--#include file="SicurezzaDip.asp"-->
I think that is the normal way to do it. I've also used the code shown below, but it doesn't seem to work..Is it possible to Include asp files from another server ? How can i do it
Code:
<!--#include file="http://81.74.60.30/Asp/SicurezzaDip.asp"-->
View Replies
View Related
I've created two separate files that I use as includes to display the header and footer of each page.Everything works fine if the pages that contain the includes remain in the same directory: the root directory. However, I want to use the includes in other places but I can't figure out a good way to solve the problem of the paths that are in the actual include files (path to stylesheet in the header, etc.).
Here is my basic directory structure on the web server (I've used "code" to make it easier to read):
Code:
- root
- include
header.asp
footer.asp
+ images
- misc
contact.asp
index.asp
I want to use the same include files in contact.asp but, obviously, the paths are going to be wrong. I've tried using Server.MapPath in the paths of header.asp and footer.asp so that the includes can be used anywhere in the site but, it is not working.And, I don't want to have the physical path visible in the source code. Is there a function or method I don't know about that can give me a path to the "root"?What have you done if in a similar situation?
View Replies
View Related
if it's possible to have a select tag in an include file which is to be included into an ASP page?I have an include file which renders a popup screen. The screen has text
fields i.e <input type="text"> fields which gets input from the user. I want to change one of the fields to a ddl and the field will not show up.code:
<select> <option value="">Choose One</select>
As you can see its the most basic of code, but it doesn't show up on the screen. When I change the code to a text field it does.
View Replies
View Related
I've tried both methods of using include files VIRTUAL= and FILE= when I use the VIRTUAL include I receive the error:
Error Type:
Active Server Pages, ASP 0126 (0x80004005)
The include file 'ProductList.asp' was not found.
and when I use a FILE include the page just produces nothing the regular page script runs so I know the asp is working but the include files just produce nothing. which leads me to believe something is wrong with my settings in IIS. Im running IIS on Windows 2000.
View Replies
View Related