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. problem with customErrors tag

problem with customErrors tag

Scheduled Pinned Locked Moved ASP.NET
helpsysadminquestion
3 Posts 2 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.
  • U Offline
    U Offline
    User 4683260
    wrote on last edited by
    #1

    hi guys.. i just opened a new asp webform and wrote "hello world" in the wysiwyg editor of visual studios 2005 and ran it, and it worked fine in my system. but when i uploaded it to my website it is showing an error page asking me to put a customerror tag with mode set to "off" and i did exactly as it said but still it is showing the exact same error page... what is the problem ... my web hoster do has an asp server running..

    N 1 Reply Last reply
    0
    • U User 4683260

      hi guys.. i just opened a new asp webform and wrote "hello world" in the wysiwyg editor of visual studios 2005 and ran it, and it worked fine in my system. but when i uploaded it to my website it is showing an error page asking me to put a customerror tag with mode set to "off" and i did exactly as it said but still it is showing the exact same error page... what is the problem ... my web hoster do has an asp server running..

      N Offline
      N Offline
      newc1
      wrote on last edited by
      #2

      This error is masking the true error you are recieving as the Web.config file of your application has the customErrors tag mode attribute not set to "off". Open the Web.config file of your application and update the customErrors tag as follows: <customErrors mode="Off" />

      Clean code is the key to happiness.

      U 1 Reply Last reply
      0
      • N newc1

        This error is masking the true error you are recieving as the Web.config file of your application has the customErrors tag mode attribute not set to "off". Open the Web.config file of your application and update the customErrors tag as follows: <customErrors mode="Off" />

        Clean code is the key to happiness.

        U Offline
        U Offline
        User 4683260
        wrote on last edited by
        #3

        hii newc1 thanx for replying. but i figured the source of the problem.. its not with the code.. its the prob with the webhosters.. the asp server which was running was 1.0 where as mine required 2.0 so iv asked them to upgrade it.. hopefully things should get normal once it is upgraded..

        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