Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Getting Runtime Error on hosted site?

Getting Runtime Error on hosted site?

Scheduled Pinned Locked Moved ASP.NET
databasesysadminhostingsecurityhelp
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    chand10
    wrote on last edited by
    #1

    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 tag within a "web.config"
    configuration file located in the root directory of the current web application.
    This tag should then have its "mode" attribute set to "Off".

    <configuration>
    <system.web>
    <customErrors mode="Off"/>
    </system.web>
    </configuration>

    Notes: The current error page you are seeing can be replaced by a custom error
    page by modifying the "defaultRedirect" attribute of the application's
    configuration tag to point to a custom error page URL.

    <configuration>
    <system.web>
    <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    </system.web>
    </configuration>

    I am getting this Error ever after I set in my web.config file. I am not using an sessions or database connection or login page etc.It's just a simple site. I want to know the best setting of web.config file for hosting

    I have not failed. I've just found 10,000 ways that won't work. -Thomas A. Edison Thank u Chandu

    I J 2 Replies Last reply
    0
    • C chand10

      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 tag within a "web.config"
      configuration file located in the root directory of the current web application.
      This tag should then have its "mode" attribute set to "Off".

      <configuration>
      <system.web>
      <customErrors mode="Off"/>
      </system.web>
      </configuration>

      Notes: The current error page you are seeing can be replaced by a custom error
      page by modifying the "defaultRedirect" attribute of the application's
      configuration tag to point to a custom error page URL.

      <configuration>
      <system.web>
      <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
      </system.web>
      </configuration>

      I am getting this Error ever after I set in my web.config file. I am not using an sessions or database connection or login page etc.It's just a simple site. I want to know the best setting of web.config file for hosting

      I have not failed. I've just found 10,000 ways that won't work. -Thomas A. Edison Thank u Chandu

      I Offline
      I Offline
      Imran Khan Pathan
      wrote on last edited by
      #2

      Set CustomErrors mode="Off" in ur webconfig file Best Regard Pathan

      ---------------------------------------------------

      C 1 Reply Last reply
      0
      • I Imran Khan Pathan

        Set CustomErrors mode="Off" in ur webconfig file Best Regard Pathan

        ---------------------------------------------------

        C Offline
        C Offline
        chand10
        wrote on last edited by
        #3

        Thanks for u r reply. I already made the change even then it is giving the same error.

        I have not failed. I've just found 10,000 ways that won't work. -Thomas A. Edison Thank u Chandu

        1 Reply Last reply
        0
        • C chand10

          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 tag within a "web.config"
          configuration file located in the root directory of the current web application.
          This tag should then have its "mode" attribute set to "Off".

          <configuration>
          <system.web>
          <customErrors mode="Off"/>
          </system.web>
          </configuration>

          Notes: The current error page you are seeing can be replaced by a custom error
          page by modifying the "defaultRedirect" attribute of the application's
          configuration tag to point to a custom error page URL.

          <configuration>
          <system.web>
          <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
          </system.web>
          </configuration>

          I am getting this Error ever after I set in my web.config file. I am not using an sessions or database connection or login page etc.It's just a simple site. I want to know the best setting of web.config file for hosting

          I have not failed. I've just found 10,000 ways that won't work. -Thomas A. Edison Thank u Chandu

          J Offline
          J Offline
          jithbiz0033
          wrote on last edited by
          #4

          Ensure that you have loaded the web.config file in your root directory Jith

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups