VERY new to ASP, http 401.5 error

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • DaveS

    VERY new to ASP, http 401.5 error

    I've been trying to start out learning some ASP and I've been trying to
    create the classic 'Hello world' program. I'm running the ASP pages on some
    webspace I have, rather than on my computer. Everytime I try and run the asp
    page it brings up a HTTP 401.5 error.

    "HTTP Error 401.5 - Unauthorized: Authorization failed by an ISAPI/CGI
    application.
    Internet Information Services (IIS)"

    I'm certain the webspace hosting the asp page allows asp pages (especially
    since the company is called 'asp-host'!). I'd appreciate any help in
    understanding why this is happening and how I might fix it.
  • Bob Barrows [MVP]

    #2
    Re: VERY new to ASP, http 401.5 error

    DaveS wrote:
    I've been trying to start out learning some ASP and I've been trying
    to create the classic 'Hello world' program. I'm running the ASP
    pages on some webspace I have, rather than on my computer. Everytime
    I try and run the asp page it brings up a HTTP 401.5 error.
    >
    "HTTP Error 401.5 - Unauthorized: Authorization failed by an ISAPI/CGI
    application.
    Internet Information Services (IIS)"
    >
    I'm certain the webspace hosting the asp page allows asp pages
    (especially since the company is called 'asp-host'!). I'd appreciate
    any help in understanding why this is happening and how I might fix
    it.
    Hard to say. Look at http://support.microsoft.com/kb/906474, which came
    from this search result:


    You are probably going to need to ask your host company for support for
    this. It's an IIS configuration issue, not an ASP issue per se.

    --
    Microsoft MVP -- ASP/ASP.NET
    Please reply to the newsgroup. The email account listed in my From
    header is my spam trap, so I don't check it very often. You will get a
    quicker response by posting to the newsgroup.


    Comment

    • Jon Paal

      #3
      Re: VERY new to ASP, http 401.5 error

      what does your "hello world" program look like ?


      "DaveS" <DaveS@discussi ons.microsoft.c omwrote in message news:5DDB4E78-E28A-4738-A7BC-3D5B5C4D59BA@mi crosoft.com...
      I've been trying to start out learning some ASP and I've been trying to
      create the classic 'Hello world' program. I'm running the ASP pages on some
      webspace I have, rather than on my computer. Everytime I try and run the asp
      page it brings up a HTTP 401.5 error.
      >
      "HTTP Error 401.5 - Unauthorized: Authorization failed by an ISAPI/CGI
      application.
      Internet Information Services (IIS)"
      >
      I'm certain the webspace hosting the asp page allows asp pages (especially
      since the company is called 'asp-host'!). I'd appreciate any help in
      understanding why this is happening and how I might fix it.

      Comment

      • Firas S Assaad

        #4
        Re: VERY new to ASP, http 401.5 error

        could you please provide your source code. cause running a hello world
        program shouldnt spit out those kind of errors, cause this error
        normally shows up when you go in advance scripting not "hello world"
        scripting if you know what i mean.



        Best Regards
        Firas S Assaad

        On Oct 23, 6:20 pm, "Jon Paal" <Jon nospam Paal @ everywhere dot com>
        wrote:
        what does your "hello world" program look like ?
        >
        >
        >
        "DaveS" <D...@discussio ns.microsoft.co mwrote in messagenews:5DD B4E78-E28A-4738-A7BC-3D5B5C4D59BA@mi crosoft.com...
        I've been trying to start out learning some ASP and I've been trying to
        create the classic 'Hello world' program. I'm running the ASP pages on some
        webspace I have, rather than on my computer. Everytime I try and run the asp
        page it brings up a HTTP 401.5 error.
        >
        "HTTP Error 401.5 - Unauthorized: Authorization failed by an ISAPI/CGI
        application.
        Internet Information Services (IIS)"
        >
        I'm certain the webspace hosting the asp page allows asp pages (especially
        since the company is called 'asp-host'!). I'd appreciate any help in
        understanding why this is happening and how I might fix it.- Hide quoted text -- Show quoted text -

        Comment

        • DaveS

          #5
          Re: VERY new to ASP, http 401.5 error

          "Jon Paal" wrote:
          what does your "hello world" program look like ?
          >
          Here's the code I used...

          <% @ Language=VBScri pt %>
          <html>
          <%
          Response.Write( "Hello World!") %>
          </html>


          Comment

          • Evertjan.

            #6
            Re: VERY new to ASP, http 401.5 error

            =?Utf-8?B?RGF2ZVM=?= wrote on 24 okt 2006 in
            microsoft.publi c.inetserver.as p.general:
            "Jon Paal" wrote:
            >
            >what does your "hello world" program look like ?
            >>
            >
            Here's the code I used...
            >
            <% @ Language=VBScri pt %>
            <html>
            <%
            Response.Write( "Hello World!") %>
            </html>
            >
            >
            >
            Runs fine here, perhaps your world is gone?

            [ASP vbs needs the world to run]

            --
            Evertjan.
            The Netherlands.
            (Please change the x'es to dots in my emailaddress)

            Comment

            • Firas S Assaad

              #7
              Re: VERY new to ASP, http 401.5 error

              Hi,
              Try doing the following
              1. Remove the first line of the code "<% @ Language=VBScri pt %>" then
              rerun the code.
              and then
              1. goto Start Run
              2. type in CMD and press enter
              3. after the black window apears type the following command: iisreset
              /restart
              after it restarts successfully run the page after removing the line i
              told you to remove.
              if in the CMD window it gave you errors when trying to run the command
              "iisreset /restart" then copy the error and paste it here to have a
              look at it.

              if this didnt work
              2. try reinstalling your IIS, and then run the code with and without
              the line.


              Hope this helps


              Best Regards
              Firas S Assaad


              On Oct 24, 4:49 am, "Evertjan." <exjxw.hannivo. ..@interxnl.net wrote:
              =?Utf-8?B?RGF2ZVM=?= wrote on 24 okt 2006 in
              microsoft.publi c.inetserver.as p.general:
              >
              "Jon Paal" wrote:
              >
              what does your "hello world" program look like ?
              >
              Here's the code I used...
              >
              <% @ Language=VBScri pt %>
              <html>
              <%
              Response.Write( "Hello World!") %>
              </html>Runs fine here, perhaps your world is gone?
              >
              [ASP vbs needs the world to run]
              >
              --
              Evertjan.
              The Netherlands.
              (Please change the x'es to dots in my emailaddress)

              Comment

              • Evertjan.

                #8
                Re: VERY new to ASP, http 401.5 error

                Firas S Assaad wrote on 24 okt 2006 in
                microsoft.publi c.inetserver.as p.general:
                On Oct 24, 4:49 am, "Evertjan." <exjxw.hannivo. ..@interxnl.net wrote:
                >=?Utf-8?B?RGF2ZVM=?= wrote on 24 okt 2006 in
                >>
                "Jon Paal" wrote:
                >>
                >what does your "hello world" program look like ?
                >>
                Here's the code I used...
                >>
                <% @ Language=VBScri pt %>
                <html>
                <%
                Response.Write( "Hello World!") %>
                </html>Runs fine here, perhaps your world is gone?
                >>
                >[ASP vbs needs the world to run]
                [Please do not toppost on usenet]
                Hi,
                Try doing the following
                1. Remove the first line of the code "<% @ Language=VBScri pt %>" then
                rerun the code.
                Why?
                What is wrong with that line?
                and then
                [...]

                --
                Evertjan.
                The Netherlands.
                (Please change the x'es to dots in my emailaddress)

                Comment

                • DaveS

                  #9
                  *FIXED* Re: VERY new to ASP, http 401.5 error

                  Just to let you know I managed to get hold of the technical support for the
                  company hosting my website and they have fixed this problem.

                  Comment

                  • Evertjan.

                    #10
                    Re: *FIXED* Re: VERY new to ASP, http 401.5 error

                    =?Utf-8?B?RGF2ZVM=?= wrote on 24 okt 2006 in
                    microsoft.publi c.inetserver.as p.general:
                    Just to let you know I managed to get hold of the technical support
                    for the company hosting my website and they have fixed this problem.
                    What are you talking about?

                    [please always quote on usenet]

                    --
                    Evertjan.
                    The Netherlands.
                    (Please change the x'es to dots in my emailaddress)

                    Comment

                    • Jon Paal

                      #11
                      Re: *FIXED* Re: VERY new to ASP, http 401.5 error

                      thanks for closing this topic


                      "DaveS" <DaveS@discussi ons.microsoft.c omwrote in message news:B2F35A41-088D-4B0C-A60B-6EF7E19B7B3A@mi crosoft.com...
                      Just to let you know I managed to get hold of the technical support for the
                      company hosting my website and they have fixed this problem.

                      Comment

                      Working...