Asp include file not working


















How ever when I have it in my default. Here is the code in my main page for the include. Connection" conn. Follow Post Reply. Rodger wrote on 15 aug in microsoft. Read up on ASP include specs. The Netherlands. Please change the x'es to dots in my emailaddress. Thanks, I am not sure where my head was. I even wrote that it was in my default.

In the sections above we have used the file extension ". Notice that if a user tries to browse an INC file directly, its content will be displayed. If your included file contains confidential information or information you do not want any users to see, it is better to use an ASP extension.

The source code in an ASP file will not be visible after the interpretation. An included file can also include other files, and one ASP file can include the same file more than once. Important: Included files are processed and inserted before the scripts are executed.

Expand Select Wrap Line Numbers. Post Reply. Similar topics PHP. Include and sub-includes correction. Include path of ASP stop working in Windows Error while including a new include file in ASP.

General hints on what to include in what. Viewed 18k times. I saw a similar question to this, but mine is slightly different: I'm get intermittent results with include files working on an IIS 7.

Improve this question. Mitchell Schaff Mitchell Schaff 93 2 2 gold badges 2 2 silver badges 9 9 bronze badges. Have you cheched the ACL in the lib folder? Add a comment. Active Oldest Votes. The last two examples won't work if parent paths are not enabled. Improve this answer. Kev Kev k 50 50 gold badges silver badges bronze badges. I think your problem is that parent paths are disabled by default in IIS. Yots Yots 1, 5 5 gold badges 16 16 silver badges 25 25 bronze badges.

That was it exactly. Thanks so much for the help!



0コメント

  • 1000 / 1000