<customErrors mode="Off"/> ERROR

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

    #1

    <customErrors mode="Off"/> ERROR

    I have a web application It works well in my local folder.. When i upload
    it
    to my web server i got

    To enable the details of this specific error message to be viewable on
    remote machines, please create a <customErrors > tag within a "web.config "
    configuration file located in the root directory of the current web
    application. This <customErrors > tag should then have its "mode" attribute
    set to "Off".




    Server Error in '/' Application.
    --------------------------------------------------------------------------------

    Runtime Error
    Description: An application error occurred on the server. The current custom
    error settings for this application prevent the details of the application
    error from being viewed remotely (for security reasons). It could, however,
    be viewed by browsers running on the local server machine.

    Details: To enable the details of this specific error message to be viewable
    on remote machines, please create a <customErrors > tag within a "web.config "
    configuration file located in the root directory of the current web
    application. This <customErrors > tag should then have its "mode" attribute
    set to "Off".


  • sjurmr@online.no

    #2
    Re: &lt;customError s mode=&quot;Off& quot;/&gt; ERROR

    It means you application crashes on the server. Put the
    customerrors-tag as listed in the web.config-file to see the
    error-output.

    Regards,
    Sjur Rondestveit

    Comment

    • Ken Tucker [MVP]

      #3
      Re: &lt;customError s mode=&quot;Off& quot;/&gt; ERROR

      Hi,

      Usually when a web project works on a local machine but not on your
      web host you are missing a dll referenced. I would check and make sure all
      the dll files in your projects bin folder are on the bin folder on your web
      host. Also adding that line to your web.config on your web host will give
      you a lot more information about the error.

      Ken
      -------------
      "Savas Ates" <savas@indexint eractive.com> wrote in message
      news:eZ$a2mIBGH A.2708@TK2MSFTN GP12.phx.gbl...[color=blue]
      > I have a web application It works well in my local folder.. When i upload
      > it
      > to my web server i got
      >
      > To enable the details of this specific error message to be viewable on
      > remote machines, please create a <customErrors > tag within a "web.config "
      > configuration file located in the root directory of the current web
      > application. This <customErrors > tag should then have its "mode" attribute
      > set to "Off".
      >
      >
      >
      >
      > Server Error in '/' Application.
      > --------------------------------------------------------------------------------
      >
      > Runtime Error
      > Description: An application error occurred on the server. The current
      > custom error settings for this application prevent the details of the
      > application error from being viewed remotely (for security reasons). It
      > could, however, be viewed by browsers running on the local server machine.
      >
      > Details: To enable the details of this specific error message to be
      > viewable on remote machines, please create a <customErrors > tag within a
      > "web.config " configuration file located in the root directory of the
      > current web application. This <customErrors > tag should then have its
      > "mode" attribute set to "Off".
      >
      >[/color]


      Comment

      • Savas Ates

        #4
        Re: &lt;customError s mode=&quot;Off& quot;/&gt; ERROR

        I copied all bin directory with dll's.. There is no problem about missing
        files.. It is my web server. I have full access to change whatever i want ..
        By the way what you mean

        << Put the
        customerrors-tag as listed in the web.config-file to see the
        error-output.

        my web.config file
        <customErrors mode="Off" />



        any solution ?



        "Savas Ates" <savas@indexint eractive.com>, haber iletisinde þunlarý
        yazdý:eZ$a2mIBG HA.2708@TK2MSFT NGP12.phx.gbl.. .[color=blue]
        > I have a web application It works well in my local folder.. When i upload
        > it
        > to my web server i got
        >
        > To enable the details of this specific error message to be viewable on
        > remote machines, please create a <customErrors > tag within a "web.config "
        > configuration file located in the root directory of the current web
        > application. This <customErrors > tag should then have its "mode" attribute
        > set to "Off".
        >
        >
        >
        >
        > Server Error in '/' Application.
        > --------------------------------------------------------------------------------
        >
        > Runtime Error
        > Description: An application error occurred on the server. The current
        > custom error settings for this application prevent the details of the
        > application error from being viewed remotely (for security reasons). It
        > could, however, be viewed by browsers running on the local server machine.
        >
        > Details: To enable the details of this specific error message to be
        > viewable on remote machines, please create a <customErrors > tag within a
        > "web.config " configuration file located in the root directory of the
        > current web application. This <customErrors > tag should then have its
        > "mode" attribute set to "Off".
        >
        >[/color]


        Comment

        • Greg Burns

          #5
          Re: &lt;customError s mode=&quot;Off& quot;/&gt; ERROR

          Isn't "Server Error in '/' Application" idicative of the virtual directory
          not being marked as an application in IIS?

          PS: I've also seen the <customErrors > message even when it is set to Off,
          whenever there is a syntax error in the web.config.

          Greg


          "Savas Ates" <savas@indexint eractive.com> wrote in message
          news:eZ$a2mIBGH A.2708@TK2MSFTN GP12.phx.gbl...[color=blue]
          > I have a web application It works well in my local folder.. When i upload
          > it
          > to my web server i got
          >
          > To enable the details of this specific error message to be viewable on
          > remote machines, please create a <customErrors > tag within a "web.config "
          > configuration file located in the root directory of the current web
          > application. This <customErrors > tag should then have its "mode" attribute
          > set to "Off".
          >
          >
          >
          >
          > Server Error in '/' Application.
          > --------------------------------------------------------------------------------
          >
          > Runtime Error
          > Description: An application error occurred on the server. The current
          > custom error settings for this application prevent the details of the
          > application error from being viewed remotely (for security reasons). It
          > could, however, be viewed by browsers running on the local server machine.
          >
          > Details: To enable the details of this specific error message to be
          > viewable on remote machines, please create a <customErrors > tag within a
          > "web.config " configuration file located in the root directory of the
          > current web application. This <customErrors > tag should then have its
          > "mode" attribute set to "Off".
          >
          >[/color]


          Comment

          • vortep@gmail.com

            #6
            Re: &lt;customError s mode=&quot;Off& quot;/&gt; ERROR

            do exactly what the error tells you. open the web.config
            and change
            <customErrors
            mode="RemoteOnl y"
            />

            to <customErrors
            mode="Off"
            />


            thou shalt google before asking...

            Savas Ates wrote:[color=blue]
            > I copied all bin directory with dll's.. There is no problem about missing
            > files.. It is my web server. I have full access to change whatever i want..
            > By the way what you mean
            >
            > << Put the
            > customerrors-tag as listed in the web.config-file to see the
            > error-output.
            >
            > my web.config file
            > <customErrors mode="Off" />
            >
            >
            >
            > any solution ?
            >
            >
            >
            > "Savas Ates" <savas@indexint eractive.com>, haber iletisinde þunlarý
            > yazdý:eZ$a2mIBG HA.2708@TK2MSFT NGP12.phx.gbl.. .[color=green]
            > > I have a web application It works well in my local folder.. When i upload
            > > it
            > > to my web server i got
            > >
            > > To enable the details of this specific error message to be viewable on
            > > remote machines, please create a <customErrors > tag within a "web.config "
            > > configuration file located in the root directory of the current web
            > > application. This <customErrors > tag should then have its "mode" attribute
            > > set to "Off".
            > >
            > >
            > >
            > >
            > > Server Error in '/' Application.
            > > --------------------------------------------------------------------------------
            > >
            > > Runtime Error
            > > Description: An application error occurred on the server. The current
            > > custom error settings for this application prevent the details of the
            > > application error from being viewed remotely (for security reasons). It
            > > could, however, be viewed by browsers running on the local server machine.
            > >
            > > Details: To enable the details of this specific error message to be
            > > viewable on remote machines, please create a <customErrors > tag within a
            > > "web.config " configuration file located in the root directory of the
            > > current web application. This <customErrors > tag should then have its
            > > "mode" attribute set to "Off".
            > >
            > >[/color][/color]

            Comment

            • slimshady
              New Member
              • Jul 2006
              • 1

              #7
              I get the same error and I've tried to add "<customerr ors mode="off" />" to my web.config file (inside the <system.web>) but I get an error message when trying to build saying

              Unrecognized configuration section system.web/customerrors.

              What am I missing???

              Comment

              Working...