Results 1 to 22 of 22

Thread: Are we going to get used to this?

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Oct 2002
    Location
    Gammapolis
    Posts
    1,474

    Are we going to get used to this?

    Are we going to get used to ASP.NET specific (yellow) errors in web pages around the world? I have come across lots of pages that break with that kind of errors. Frustrating!
    'Heading for the automatic overload'
    Marillion, Brave, The Great Escape, 1994

    'How will WE stand the FIRE TOMORROW?'
    Eloy, Silent Cries and Mighty Echoes, The Vision - Burning, 1979

  2. #2
    Addicted Member
    Join Date
    Jan 1999
    Posts
    165
    Can you provide a few examples?

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Oct 2002
    Location
    Gammapolis
    Posts
    1,474
    Well, I dont keep track of all pages with error. The latest one was:
    http://www.aspfree.com/authors/gfweis/GetIdentity.aspx
    'Heading for the automatic overload'
    Marillion, Brave, The Great Escape, 1994

    'How will WE stand the FIRE TOMORROW?'
    Eloy, Silent Cries and Mighty Echoes, The Vision - Burning, 1979

  4. #4
    PowerPoster
    Join Date
    Jan 2001
    Location
    Florida
    Posts
    3,216
    this is the result of not using try catches and deciding appropriately what you are going to do with errors.

  5. #5

    Thread Starter
    Frenzied Member
    Join Date
    Oct 2002
    Location
    Gammapolis
    Posts
    1,474
    Yes, but till now we were used to get javascript errors and such. And this is quite new and growing.
    'Heading for the automatic overload'
    Marillion, Brave, The Great Escape, 1994

    'How will WE stand the FIRE TOMORROW?'
    Eloy, Silent Cries and Mighty Echoes, The Vision - Burning, 1979

  6. #6
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    I have to ask. Who cares? Its meaningless what the error looks like.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  7. #7
    Addicted Member
    Join Date
    Jan 1999
    Posts
    165
    I think it does matter what the error looks like - its quite scary from a ordinary person to be presented with this! - and not helpful to them at all.
    Besides, all that needs to be done it to configure the app in its config (amongst other places) to display custom error page.

  8. #8
    Lively Member
    Join Date
    Aug 2002
    Location
    outerspace
    Posts
    126
    YEah some errors can be trapped at least and you wont get that kind of message. However ive been getting some untrapable errors on some of my apps due to the webserver when certain dll get locked proablly b y viruse protectionnow that sucks
    "All those who wonder are not lost" -j.r.r tolkien

  9. #9

    Thread Starter
    Frenzied Member
    Join Date
    Oct 2002
    Location
    Gammapolis
    Posts
    1,474
    I have to ask. Who cares?
    Sometimes it may show a weak code, not so good for a reputable web site.
    Its meaningless what the error looks like.
    And its ugly looking.
    'Heading for the automatic overload'
    Marillion, Brave, The Great Escape, 1994

    'How will WE stand the FIRE TOMORROW?'
    Eloy, Silent Cries and Mighty Echoes, The Vision - Burning, 1979

  10. #10
    Addicted Member
    Join Date
    Jan 1999
    Posts
    165
    Just to clarify - its possible to configure a default error page for the whole app or indivual pages which is presented when unhandled errors occur.

  11. #11
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    Originally posted by Lunatic3
    Sometimes it may show a weak code, not so good for a reputable web site.

    And its ugly looking.
    That is why we have something called custom error pages.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  12. #12
    PowerPoster
    Join Date
    Jan 2001
    Location
    Florida
    Posts
    3,216
    Originally posted by robdotnet00
    YEah some errors can be trapped at least and you wont get that kind of message. However ive been getting some untrapable errors on some of my apps due to the webserver when certain dll get locked proablly b y viruse protectionnow that sucks
    Just remember one word.....Finally.

  13. #13

    Thread Starter
    Frenzied Member
    Join Date
    Oct 2002
    Location
    Gammapolis
    Posts
    1,474
    That is why we have something called custom error pages.
    See, We have at least two good way to avoid that page (trapping errors, and custom error pages) but still growing number of ugly error pages, what does it show?
    'Heading for the automatic overload'
    Marillion, Brave, The Great Escape, 1994

    'How will WE stand the FIRE TOMORROW?'
    Eloy, Silent Cries and Mighty Echoes, The Vision - Burning, 1979

  14. #14
    PowerPoster
    Join Date
    Jan 2001
    Location
    Florida
    Posts
    3,216
    You know what is REALLY funny? From VS.NET IDE if you try to register your webservice with the UDDI you get the same ugly yellow error page coming from Microsoft's website!

  15. #15
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    It doesnt show anything except an error that the site devlopers havent fixed and that didnt make a custom error page.

    Again. Who cares? It doesnt effect your project what other people do.

    And as far as it being ugly. There are more badly dsigned WORKING websites that are uglier.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  16. #16

    Thread Starter
    Frenzied Member
    Join Date
    Oct 2002
    Location
    Gammapolis
    Posts
    1,474
    'Heading for the automatic overload'
    Marillion, Brave, The Great Escape, 1994

    'How will WE stand the FIRE TOMORROW?'
    Eloy, Silent Cries and Mighty Echoes, The Vision - Burning, 1979

  17. #17

    Thread Starter
    Frenzied Member
    Join Date
    Oct 2002
    Location
    Gammapolis
    Posts
    1,474
    It doesnt effect your project what other people do.
    For sure it doesn't. I am talking about something new that we are going to face more and more in our every day web surfing...
    'Heading for the automatic overload'
    Marillion, Brave, The Great Escape, 1994

    'How will WE stand the FIRE TOMORROW?'
    Eloy, Silent Cries and Mighty Echoes, The Vision - Burning, 1979

  18. #18
    Lively Member
    Join Date
    Aug 2002
    Location
    outerspace
    Posts
    126

    Unhappy

    Finally wouldnt even stop my prob it isnt even hitting the dll because it is locked. no code is being exucuted. Gotta find a asp.net friendly virus checker.
    "All those who wonder are not lost" -j.r.r tolkien

  19. #19
    PowerPoster
    Join Date
    Jan 2001
    Location
    Florida
    Posts
    3,216
    Originally posted by robdotnet00
    Finally wouldnt even stop my prob it isnt even hitting the dll because it is locked. no code is being exucuted. Gotta find a asp.net friendly virus checker.
    I have friend over here that said that he had to totally uninstall Norton Antivirus because even with the Script Blocking turned off it still caused problems. Maybe that is your problem too?

  20. #20
    Lively Member
    Join Date
    Aug 2002
    Location
    outerspace
    Posts
    126
    I know when they disable it has no problems but when they have it on it locks my files. They policy of the company is to have virus checking on all servers active and up to date. I belive were using mcCafree. But iknow in general virus checking software doesnt like development environments in general. I just think maybe they need to put in place a policy that will not scan the files where i have my apps or skip scanning .dlls in that directory. Sometimes though the software locks parts of the .netframework too so its a fun situation.
    "All those who wonder are not lost" -j.r.r tolkien

  21. #21
    PowerPoster
    Join Date
    Jan 2001
    Location
    Florida
    Posts
    3,216
    Originally posted by robdotnet00
    I know when they disable it has no problems but when they have it on it locks my files. They policy of the company is to have virus checking on all servers active and up to date. I belive were using mcCafree. But iknow in general virus checking software doesnt like development environments in general. I just think maybe they need to put in place a policy that will not scan the files where i have my apps or skip scanning .dlls in that directory. Sometimes though the software locks parts of the .netframework too so its a fun situation.
    Look into disabling the realtime scanning on your computer. That might help

  22. #22
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    I think we will definately see more of them around the web as more people start using asp.net. It is super simple to fix, but there are reasons why maybe you want to show them still. For me, I can't debug on my hosting server. So therefor I need errors to show. I am implementing the error logging code from msdn which should help out some, but for testing purposes and catching all the bugs, I need the errors to show.

    But, at least I do know how to turn them off and provide a custom error page when I need to do it. When I feel that I have caught 99% of the bugs, then I will turn on the custom error pages and not show those anymore.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width