ASP/ASPX

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?T2xkQnV0U3RpbGxMZWFybmluZw==?=

    ASP/ASPX

    I have an ASP web site and I want to start moving a few ASPX pages to this
    site. Shouldn't I be able to just move the pages over and be able to bring
    them up?

    When I do this, I get a "Run Time Error" and it displays me the message that
    I need to change my webconfig file for <customErrors mode="Off" /so that I
    can see the error....well, this is what is sitting in my webconfig file.

    Does this meant I need to make changes to IIS? What would that be?
  • sloan

    #2
    Re: ASP/ASPX

    That setting is saying

    "Allow anyone using this site to see the actual exception"
    or
    "Hide the real actual exception from users".

    MAKE SURE
    <customErrors mode="Off" />
    is NOT in a commented out section in the web.config.

    ...





    "OldButStillLea rning" <OldButStillLea rning@discussio ns.microsoft.co mwrote
    in message news:2183BDA6-3E12-4A51-A4CC-30D86DA1EBDA@mi crosoft.com...
    >I have an ASP web site and I want to start moving a few ASPX pages to this
    site. Shouldn't I be able to just move the pages over and be able to
    bring
    them up?
    >
    When I do this, I get a "Run Time Error" and it displays me the message
    that
    I need to change my webconfig file for <customErrors mode="Off" /so that
    I
    can see the error....well, this is what is sitting in my webconfig file.
    >
    Does this meant I need to make changes to IIS? What would that be?

    Comment

    • =?Utf-8?B?T2xkQnV0U3RpbGxMZWFybmluZw==?=

      #3
      Re: ASP/ASPX

      It is not commented out....it is active and it is set to "Off"

      <authenticati on mode="Windows"/>
      <customErrors mode="Off" />

      Comment

      • David Wier

        #4
        Re: ASP/ASPX

        Assuming you have .Net installed, and you know which version you're using -
        AND you have access to IIS, check in IIS to make sure you
        1. Have an ASP.Net tab
        2. ASP.Net is set to the correct version

        Otherwise - just create a new ASP.Net page, with a label - then, in the
        Page_load event, assign some text to that label.
        This will check to confirm whether the simplest things are working in
        ASP.Net

        David Wier

        http://iWritePro.com - One click PDF, convert .doc/.rtf/.txt to HTML with no
        bloated markup


        "OldButStillLea rning" <OldButStillLea rning@discussio ns.microsoft.co mwrote
        in message news:2183BDA6-3E12-4A51-A4CC-30D86DA1EBDA@mi crosoft.com...
        >I have an ASP web site and I want to start moving a few ASPX pages to this
        site. Shouldn't I be able to just move the pages over and be able to
        bring
        them up?
        >
        When I do this, I get a "Run Time Error" and it displays me the message
        that
        I need to change my webconfig file for <customErrors mode="Off" /so that
        I
        can see the error....well, this is what is sitting in my webconfig file.
        >
        Does this meant I need to make changes to IIS? What would that be?

        Comment

        • sloan

          #5
          Re: ASP/ASPX

          Total guess:

          Try running this:

          C:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322\ aspnet_regiis.e xe -i
          and then
          C:\WINDOWS\Micr osoft.NET\Frame work\v2.0.50727 \aspnet_regiis. exe -i

          You can google the .exe file name to see what it does.

          ........

          This won't hurt anything, but might address your issue.

          I would try to get a simple simple asp.net website running first, (as stated
          before, label with the time being set or something).





          "OldButStillLea rning" <OldButStillLea rning@discussio ns.microsoft.co mwrote
          in message news:0043907C-E058-4041-8C51-E8E536B7EBD6@mi crosoft.com...
          It is not commented out....it is active and it is set to "Off"
          >
          <authenticati on mode="Windows"/>
          <customErrors mode="Off" />
          >

          Comment

          • =?Utf-8?B?T2xkQnV0U3RpbGxMZWFybmluZw==?=

            #6
            Re: ASP/ASPX

            Thanks David...

            I have created a very simple web page which has nothing more then a text box
            and a button....but it will not display it...

            I have no access to the server....

            Comment

            • Juan T. Llibre

              #7
              Re: ASP/ASPX

              You might want to check whether IE has "Show friendly HTTP errors" enabled.
              If you togglle "Show friendly HTTP errors", the page will display the true error message.





              Juan T. Llibre, asp.net MVP
              asp.net faq : http://asp.net.do/faq/
              foros de asp.net, en espaƱol : http://asp.net.do/foros/
              =============== =============== ========
              "OldButStillLea rning" <OldButStillLea rning@discussio ns.microsoft.co mwrote in message
              news:0043907C-E058-4041-8C51-E8E536B7EBD6@mi crosoft.com...
              It is not commented out....it is active and it is set to "Off"
              <authenticati on mode="Windows"/>
              <customErrors mode="Off" />

              Comment

              • sloan

                #8
                Re: ASP/ASPX


                Check my post about the register the asp/iis stuff then.

                I would run the 1.1 THEN the 2.0. (Yes, run the 1.1 if you're (only) doing
                2.0 stuff first, then the 2.0 one).


                However, if you don't have access to the server, its a non-issue.

                ...



                "OldButStillLea rning" <OldButStillLea rning@discussio ns.microsoft.co mwrote
                in message news:7722457F-CAC3-49EF-8E41-2A04AC48F027@mi crosoft.com...
                Thanks David...
                >
                I have created a very simple web page which has nothing more then a text
                box
                and a button....but it will not display it...
                >
                I have no access to the server....
                >

                Comment

                Working...