Include file errors

ASP, IIS 6
Hello all,
Yesterday we upgraded to Server 2003 with IIS 6. We were
using IIS 5. I am
now having problems with a couple of pages. One being this
one where I am
having problems with the include file that used to work :)
I get this error:
Active Server Pages error 'ASP 0131'
Disallowed Parent Path
/tree/login.asp, line 2
The Include file '../Connections/connNewdatabase.asp' cannot
contain '..' to
indicate the parent directory.
The page starts as such:
<%@LANGUAGE="VBSCRIPT"%>
<!--#include file="../Connections/connNewdatabase.asp"
-->
<%
The file "connNewdatabase.asp" is in a folder one above the
folder that this
page is in. What is it that I have to change to get this page
to work
again?
Thanks,
Gale

I got it folks, I had to recode as such:
<!--#include virtual="/Connections/connNewdatabase.asp"
-->
Thanks
Gale

Similar Messages

  • Include file error from a new install of C++ compiler on Solaris 5.7

    Here is the command line being executed:
    CC test.cc
    Here is the sample cc file being compiled:
    #include <iostream>
    int main() {
    std::cout << "Real programmers write C++!" << std::endl;
    return 0;
    Error Output:
    "/opt/SUNWspro/WS6/include/CC/std/stddef.h", line 7: Error: Could not open inclu
    de file <sys/feature_tests.h>.
    "/opt/SUNWspro/WS6/include/CC/std/stddef.h", line 15: Error: Could not open incl
    ude file <sys/isa_defs.h>.
    "/opt/SUNWspro/WS6/include/CC/std/stdarg.h", line 7: Error: Could not open inclu
    de file <sys/feature_tests.h>.
    "/opt/SUNWspro/WS6/include/CC/std/string.h", line 7: Error: Could not open inclu
    de file <sys/feature_tests.h>.
    "/opt/SUNWspro/WS6/include/CC/std/ctype.h", line 7: Error: Could not open includ
    e file <sys/feature_tests.h>.
    "/opt/SUNWspro/WS6/include/CC/std/wchar.h", line 6: Error: Could not open includ
    e file <sys/feature_tests.h>.
    "/opt/SUNWspro/WS6/include/CC/wchar_iso_SUNWCC.h", line 34: Error: Could not ope
    n include file <sys/isa_defs.h>.
    "/opt/SUNWspro/WS6/include/CC/wchar_iso_SUNWCC.h", line 35: Error: Could not ope
    n include file <stdio_tag.h>.
    "/opt/SUNWspro/WS6/include/CC/wchar_iso_SUNWCC.h", line 36: Error: Could not ope
    n include file <wchar_impl.h>.
    "/opt/SUNWspro/WS6/include/CC/std/time.h", line 7: Error: Could not open include
    file <sys/feature_tests.h>.
    "/opt/SUNWspro/WS6/include/CC/std/time.h", line 42: Error: Could not open includ
    e file <sys/types.h>.
    "/opt/SUNWspro/WS6/include/CC/std/time.h", line 52: Error: Could not open includ
    e file <sys/time_impl.h>.
    "/opt/SUNWspro/WS6/include/CC/std/time.h", line 85: Error: Type name expected in
    stead of "pthread_attr_t".
    "/opt/SUNWspro/WS6/include/CC/std/time.h", line 85: Error: No storage class or t
    ype for this declaration.
    "/opt/SUNWspro/WS6/include/CC/std/time.h", line 85: Error: "," expected instead
    of "*".
    "/opt/SUNWspro/WS6/include/CC/std/time.h", line 86: Error: Use ";" to terminate
    declarations.
    "/opt/SUNWspro/WS6/include/CC/wchar_iso_SUNWCC.h", line 38: Error: Could not ope
    n include file <sys/va_list.h>.
    "/opt/SUNWspro/WS6/include/CC/wchar_iso_SUNWCC.h", line 94: Error: __FILE is not
    defined.
    "/opt/SUNWspro/WS6/include/CC/wchar_iso_SUNWCC.h", line 95: Error: __FILE is not
    defined.
    "/opt/SUNWspro/WS6/include/CC/wchar_iso_SUNWCC.h", line 96: Error: __FILE is not
    defined.
    "/opt/SUNWspro/WS6/include/CC/wchar_iso_SUNWCC.h", line 97: Error: __FILE is not
    defined.
    "/opt/SUNWspro/WS6/include/CC/wchar_iso_SUNWCC.h", line 98: Error: __FILE is not
    defined.
    "/opt/SUNWspro/WS6/include/CC/wchar_iso_SUNWCC.h", line 99: Error: __FILE is not
    defined.
    "/opt/SUNWspro/WS6/include/CC/wchar_iso_SUNWCC.h", line 100: Error: __FILE is no
    t defined.
    "/opt/SUNWspro/WS6/include/CC/wchar_iso_SUNWCC.h", line 152: Error: __FILE is no
    t defined.
    Compilation aborted, too many Error messages.
    Could someone please help with solving this compilation error.
    Thanks

    Hi there,
    I guess a simple modification to your PATH statement would solve this, you can also specify "-I /usr/include" in your makefile as a path to search for. So I only think your environment needs a little twinkling.
    M. Poels ([email protected])

  • ADMT 3.2 Group Migration - Include File error: The object was not found in the domain

    Hello,
    I have been digging for weeks and still no answer. I am trying to migrate Group across two domains and if I select the group, it works just fine. But I want to bulk-migrate groups. So I am going the Include-File route. when ever I load the file I get
    the bulk of the groups processed but I get a dialogue box that states:
    The following objects are either not found or do not meet selection requirement. No migration will be performed on these objects.
    Then I get a list a group and the message states:
    The object was not found in the domain "contoso.com"
    Does any one know anything about this or how to fix it? I have compared the files with good/bad versions using ADSI edit and from its POV they look the same.

    Hi,
    Thanks for your post.
    There is an attribute named "showInAdvancedViewOnly" which specifies whether the object is to be visible in the "Advanced" mode of user interfaces. This is to say, if the schema attribute "ShowInAdvanceViewOnly" is set to TRUE for any security principal
    in AD, we would not be able to find that account or group while trying to migrate it except the simple ADUC search. Just as the issue you encountered.
    Therefore, please enable the "Advanced" mode in Active Directory Users and Computers, and then check if the three groups could be migrated or not.
    If anything unclear or you have any questions about this case, please feel free to let me know.
    Thanks and I look forward to your reply.
    Best regards,
    Ann Zhu

  • Proc*C/C++ suport for include files without .h extensions

    We have written code C++ code which is Standard C++ ver 5.0 compilant. In this version of C++ compiler the files are without .h extensions. For example <iostream.h> is now to be reffered as <iostream>. We are facing problems in compiling this code with PCC compiler
    Sample Code:
    File test1.h
    #ifndef TEST1H
    #define TEST1H
    #include<iostream>
    #include<list>
    class test
    private:
    int i;
    public:
    int k;
    #endif
    File test1.pc
    #include <iostream>
    #include<test1.h>
    int main()
    int i;
    std::cout << "Enter a value :";
    std::cin >> i;
    std::cout << std::endl;
    return 0;
    When this code is compiled with Code=cpp CPP_SUFFIX=cpp PARSE=PARTIAL options we get the following errors
    Pro*C/C++: Release 8.1.5.0.0 - Production on Fri Feb 1 12:46:00 2002
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    System default option values taken from: /oracle8/app/oracle/product/8.1.5/precomp/admin/pcscfg.cfg
    Error at line 2, column 10 in file test1.pc
    #include <iostream>
    .........1
    PCC-S-02015, unable to open include file
    Error at line 3, column 9 in file test1.h
    #include<iostream>
    ........1
    PCC-S-02015, unable to open include file
    Error at line 4, column 9 in file test1.h
    #include<list>
    ........1
    PCC-S-02015, unable to open include file
    I guess so PCC compiler does not identify include files without .h extension.
    Lata

    Do you have the SUNWhea package on your system? This package contains the headers you seem to be missing. It's on the Solaris 8 CDROM 2 of 2. If you don't know how to add packages from the CDROM, look up "Adding and Removing Software After Installing Solaris 8" in the "Solaris 8 Advanced Installation Guide" on docs.sun.com.

  • Jsp taglibs in include files not detected, throws errors, no code insight

    I have a jsp which is included in all the other jsp. it looks something like this
    taglibs.jsp
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
    <%@ taglib uri="http://www.springframework.org/tags" prefix="spring" %>
    <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
    test.jsp
    <%@ include file="/jsp/menu/taglibs.jsp"%>
    <html>
         <head>
              <title>Tours</title>
         </head>
         <body>
    <form:form commandName="testCommand">
                   <form:hidden path="tour.firstname" id="tour.firstname" />
    and so on.
    I am having 2 problems
    1. the jsp editor show errors all over the place saying
    element path not expected
    element commandName not expected etc.
    2. no code insights.
    but if i include the taglib def in test.jsp it dosn't show any error and also provides code insights. but seldom do people include all taglibs in all jsps.
    is there a way for Jdeveloper to show code insights in jsp pages which includes a jsp or like xml schemas could be added at some place(tools-pref-xml schemas) and when used anywhere, would provide code insights.

    am not sure, try with this
    <jsp:include   .../>

  • !@ include file="filename" % error

    Hello,
    I'm working with WebSphere on OS/390 and get the following error when trying to use the include directive:
    Error 500
    An error has occured while processing request:http://eweb.stl.disa.mil:8190/stl/index.jsp
    Message: Server caught unhandled exception from servlet [jsp]: JSP:/index.jsp: 31,13: Attribute
    include has no value.: 31,13: Attribute include has no value.
    Target Servlet: jsp
    The actual statement on line 31 is:
    <%@ include file="banner.jsp" %>
    Do you know how to solve this? I've also tried the XML variants <jsp:include ... /> and <jsp:directive.include ... /> which do not error out but also does not include the page.
    Thanks,
    John

    I thought the syntax is like this:
    <%@include file="banner.jsp" %>
    NOT
    <!@
    You are right.. that was a cut and paste (ooh man.. not again...) error from the title of the original post..!!!!!

  • Pro*C/C++ generates error "PCC-S-02015, unable to open include file"

    I'm running a .pc file through the pre-compiler (on Windows 7x64 with instant client 12.1) and get the following error:
    Error at line 78, column 1 in file XXX.pc
    EXEC SQL INCLUDE SQLCA;
    1
    PCC-S-02015, unable to open include file
    If I change the content of my file to the following
    #include "sqlca.h"
    //EXEC SQL INCLUDE SQLCA;
    the pre-compiler does it's job nicely.
    My pcscfg.cfg looks like this:
    include="C:\PROGRA~2\Oracle\INSTAN~1\sdk\include"
    include="C:\PROGRA~2\MICROS~2.0\VC\include"
    define=(WIN32_LEAN_AND_MEAN)
    DEFINE=_WSTDIO_DEFINED
    Has there been a change in the syntax of Pro*C or why can't it resolve the EXEC SQL INCLUDE?
    PS: I'm an absolute newbie to this and am trying to get to compile some veeery old code, build under instant client 9/10/11)

    Karl Esau (guest) wrote:
    : Hi,
    : I have problems to get the precompiler running - executing the
    : precompiler leads to a segfault.
    I meanwhile solved the problem, so that I can compile and
    run the samples.
    a strace on 'proc' showed:
    open("/oracle/precomp/public/SQLCA.H", O_RDONLY) = -1 ENOENT
    (Nosuch file or directory)
    I made a symbolic link for an upper case SQLCA.H, needed to add
    SQLCHECK=SEMANTICS in ~/precomp/admin/pcscfg.cfg and one more
    lib for the make: /lib/libdl.so.2 because 'dlclose' and other
    symbols were undefined.
    bye
    Karl Esau
    null

  • Error when using %@ include file="/test.jsp"%&

    UsingNitrox version 2.1 M3 (build 419 06022005):
    with jdk version: 1.5.0_03 and Tomcat 5.5.9
    This is the error :cry: when using <%@ include file="/test.jsp"%> in jsp:
    Severity     2
    The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files (test.jsp)
    It used to work in previuos version of Nitrox. I can't use struts tiles because the tiles content is dynamic (run time) and I need it to be static (at compile time).
    Have you encountered this problem? What is the fix? Nitrox bug?
    I need your help please,
    Alberto

    M7,
    I found the problem :wink: . In the java Build path having the default (ALL) is not picking up the content of the package. I had to use add multiple and include all the folders and subfolders (many L) in my packages. After that I added *.java and *.properties to select all the java files. Now it is working. I assume this is a bug in Nitrox. The default ALL should include the all the files in the path.
    Thanks,
    Alberto

  • "Include file in PC application" Error

    Hi All,
    "Include file in PC application" Try again -
    Error is coming while attaching a document to FI Invooice.
    Please suggest,
    Regards.
    <Moderator note: Subject edited. Uo not use 'Urgent'. See the [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement] for further info.>
    Edited by: Mike Pokraka on Jul 8, 2008 8:39 PM

    regarding the authoriazations and objects for GOS (Generic Object Services), SAP has done a lot of development over the last year. As GOS is spreading in applications it's complexity grows, so please go to:
    service.sap.com/notes with keywords 'GOS' 'authority' or 'Generic Object Service authority' or a variant of those. you will find several dozen notes concerning this matter.

  • Server include file throwing error

    http://www.sdmconsultingllc.com/philosophy/manage-digital-media-solution.html
    Original HTML:
    </tr>
      <tr>
        <td bgcolor="#000033"><!--#include file="../includes/bottom-links.php" -->
    </td>
      </tr>
    </table>
    Final Source on URL Above
    </tr>
      <tr>
        <td bgcolor="#000033">[an error occurred while processing this directive]
    </td>
      </tr>
    </table>
    Include URL
    http://www.sdmconsultingllc.com/includes/bottom-links.php
    From within dreamweaver it looks good. Upon upload it doesn't work.
    Ideas?

    I was duplicating what I did when making the Digital Dealership System site.  
    html is the main page
    php is the server side include
    Most servers do not parse include files into .html files by default.  Check with your host.
    If you're on a Linux server, rename parent pages with .php or .shtml extension.
    If you're on a Windows server, use .asp or .shtml (if supported).
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Error     1     fatal error C1083: Cannot open include file: 'boost/config.hpp': No such file or directory     C

    Newbie to VC++
    Getting the below error in VC++ 2005, Indesign CS4
    1>------ Build started: Project: WriteFishPrice, Configuration: Debug Win32 ------
    1>Performing Custom Build Step
    1>Compiling...
    1>WFPNoStrip.cpp
    1>C:\Program Files\Adobe\adobe_indesign_cs4_products_sdk_578win\source\precomp\common\ShukHeaders.cp(19) : fatal error C1083: Cannot open include file: 'boost/config.hpp': No such file or directory
    1>WFPID.cpp
    1>C:\Program Files\Adobe\adobe_indesign_cs4_products_sdk_578win\source\precomp\common\ShukHeaders.cp(19) : fatal error C1083: Cannot open include file: 'boost/config.hpp': No such file or directory
    1>VCPlugInHeaders.cpp
    1>C:\Program Files\Adobe\adobe_indesign_cs4_products_sdk_578win\source\precomp\common\ShukHeaders.cp(19) : fatal error C1083: Cannot open include file: 'boost/config.hpp': No such file or directory
    1>TriggerResourceDeps.cpp
    1>C:\Program Files\Adobe\adobe_indesign_cs4_products_sdk_578win\source\precomp\common\ShukHeaders.cp(19) : fatal error C1083: Cannot open include file: 'boost/config.hpp': No such file or directory
    1>SDKPlugInEntrypoint.cpp
    1>C:\Program Files\Adobe\adobe_indesign_cs4_products_sdk_578win\source\precomp\common\ShukHeaders.cp(19) : fatal error C1083: Cannot open include file: 'boost/config.hpp': No such file or directory
    1>Generating Code...
    1>Build log was saved at "file://c:\id6sdk\build\win\objD\WriteFishPrice\BuildLog.htm"
    1>WriteFishPrice - 5 error(s), 0 warning(s)
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
    I have added the path of config.hpp in "addition include directories" still it is throwing the same error.
    Regards,
    Suresh

    Neither the first not the second one:
    am using the following path:
    C:\Program Files\Adobe\adobe_indesign_cs4_products_sdk_578win\external\asl\boost_libraries\boost
    Now i have copied the complete 'external' folder to C:\id6sdk\ and added the directory now it is showing the following error:
    Getting the following error:
    fatal error C1083: Cannot open include file: 'IPMUnknown.h': No such file or directory C:\Program Files\Adobe\adobe_indesign_cs4_products_sdk_578win\source\precomp\common\ShukHeaders.cp 46
    Don't understand the concept one error leading to the other error.
    How to come out of these kind of problem.
    Regards,
    Suresh

  • Jsp ok but IDE display errors in javascript+tags and taglibs include file

    Hi,
    The JDev 10.1.3 IDE display errors on running JSP in following cases:
    1) When tag libs declaration in include file.
    2) When jstl/struts tags are used in javascript
    JDev 10.1.2 didn't diplay those errors
    More details:
    extracts:
    Type of error: Character data not allowed in head
    alert("Your session has been closed automatically after a long period of inactivity.\nOR\nYou used an invalid or old bookmark.");
    javascript comments: (use for debugging)
    // alert("agt: "+agt+", is_ie: "+is_ie);
    Type of error: element <used tag> not expected here
    <fmt:bundle basename="com.photoswing.webview.MainshopAppMessageResources">
    alert("<fmt:message key="alert.timeout.noRedirection"/>");
    </fmt:bundle>
    JDev 10.1.3 has no javascript editor, so it should ignore the content of <script> .. </script>
    Regards
    Fred

    Hi,
    Same message but with formatting tags.
    Closing tag is [ / code ] without blanks.
    Thanks to Didier,
    IDE displayed errors => jsp runs and compiles ok.
    It is not obvious to reproduce those errors because they vary upon external or internal tag declaration.
    Remark:
    I tried replacing jsp tag declaration:
    <%@ include file="../../helper/TagLibsInclude.jsp"%>by simple file but it doesn't help:
    <%@ include file="../../srcInclude/tagLibs.inc"%>Case 1) all tag declaration are external but jstl c and fmt also internal:
    <%@ include file="../../helper/TagLibsInclude.jsp"%>  
    <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
    <%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt"%>Element c:out not expected:
    =====================
    <c:set var="numberOfRows">
      <c:out value="${bindings.LoadedPhotos}" />
    </c:set>Element logic:messagesPresent not expected
    ==================================
         </tr>
        <logic:messagesPresent message="true" >
            <html:messages message="true" id="msg">
             <tr>
              <td colspan="5" class="txtMed txtBold">
                 <c:out value="${msg}"/><br/>
              </td>
             </tr>
            </html:messages>
        </logic:messagesPresent>
        <tr>Element fmt:param not expected .
    ========================
                  <fmt:message key="event.photoCommentInLang.prompt">
                   <fmt:param value="${pageScope.langName1}"/>
                  </fmt:message>
    ..Case 2) all tag declaration are external
    Element set not expected .
    ===================
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <c:set var="sourceId" value="${bindings.EventId.attributeValue}"/>
      <c:set var="sourceId1" value="${bindings.AlbumId.attributeValue}"/>
    ...Element bundle not expected .
    ======================
    </head>
    <body>
    <fmt:bundle basename="com.photoswing.webview.MainshopAppMessageResources">error: Character data not allowed in head
    =============================
    Example:
    <script language="JavaScript" type="text/javascript">
    function FL_init() {
      <c:if test="${not empty requestScope.SessionWasInvalid}">
        alert("<fmt:message key="general.loggedIn.timeout"/>");
        location.href="<c:url value="/accountLogin.do"/>";
      </c:if>
    </script>Regarding my workaround:
    You don't have to remove the tag declaration, but I prefer to keep my jsp as clean as possible.
    But I found another problem, this time it's a serious one, when you reformat the source ALL tag prefixes are removed.
    Example
    <c:set ... becomes <setOther example:
      <c:set var="numberOfRows">
      <c:out value="${bindings.LoadedPhotos}" />
      </c:set>becomes:
        <set var="numberOfRows">
         <out value="${bindings.LoadedPhotos}"/>
        </set>Good luck!
    Fred

  • Error: Include file not found: /globalinclude.html

    Does anyone have any idea why I would be getting this error everytime I try to make or build my workspace, project or any jsp file within JDev? I have no reference to /globalinclude.html and have never even seen this file anywhere before.
    Error: Include file not found: /globalinclude.html
    Thanks.
    -Teri Kemple
    [email protected]

    Teri,
    The reference is made in ojsp-global-include.xml in your WEB-INF directory.
    globalinclude.html should be located in your html root (default .../public_html) and its content is:
    <% request.setCharacterEncoding("windows-1252");%>.
    with the correct encoding of course.
    Charles.

  • Fatal error C1083: Cannot open include file: 'NiVector.h': No such file or directory

    I have a old source code that are using Measurement Studio I try to compile to do some modifications to the old source code but I have the next Compiler error "C:\Program Files\National Instruments\MeasurementStudio\VC\Include\NiColorVector.h(24) : fatal error C1083: Cannot open include file: 'NiVector.h': No such file or directory" I install the Measurement Studio 2015 try to fixed the error but I can't If I search the NiVector.h I can't find it something can help me please I need the NIVector.h file
    Thank you.

    In Visual C++ you have to go to the Tools menu and select Options... then on the Directories tab you have to add for Include files both the jdk\include AND jdk\include\win to the list of directories and then there will be no problem finding the header files.

  • Error - " Include file in PC application " when attaching in  VA02

    Hi all
    I am having a typical problem. All i am realising that it is some where related to authorization issue thats why i am posting the same in this forum.
    When one user is trying to attach a document to a sales order thru transaction va02 the following is showing -
    "Include file in PC application , try again ". If I run su53 it is reporting that last authorisation check sucessful at that time.
    But if SAP_ALL is given to this user then no problem arise, which prompt me to think that there is something related to authorization.
    Any idea?
    Regards
    Santanu

    regarding the authoriazations and objects for GOS (Generic Object Services), SAP has done a lot of development over the last year. As GOS is spreading in applications it's complexity grows, so please go to:
    service.sap.com/notes with keywords 'GOS' 'authority' or 'Generic Object Service authority' or a variant of those. you will find several dozen notes concerning this matter.

Maybe you are looking for