Questions tagged [yellow-screen-of-death]

ASP.NET related errors

A Yellow Screen of Death occurs when an ASP.NET web application encounters a problem and the page instance crashes.

22 questions
21
votes
1 answer

ASP.NET MVC: Weird characters in error page

Since I uploaded an updated version of an ASP.NET MVC 1 application to the server, the Yellow Screen of Death has changed to something like…
davehauser
  • 5,844
  • 4
  • 30
  • 45
13
votes
5 answers

How does the ASP.NET "Yellow Screen of Death" display code?

I thought .Net code gets compiled into MSIL, so I always wondered how do Yellow Screens produce the faulty code. If it's executing the compiled code, how is the compiler able to produce code from the source files in the error message? Feel free to…
Kevin
  • 13,044
  • 11
  • 55
  • 76
11
votes
1 answer

Microsoft.VisualStudio.Web.PageInspector.Runtime.NativeMethods.CloseHandle

I have hit the yellow page of death. So I googled for the message: [SEHException (0x80004005): Een extern onderdeel heeft een uitzondering veroorzaakt.] Microsoft.VisualStudio.Web.PageInspector.Runtime.NativeMethods.CloseHandle(IntPtr hHandle)…
JP Hellemons
  • 5,977
  • 11
  • 63
  • 128
7
votes
4 answers

ASP.NET - Hacking the yellow screen of death

In some of my books that I've read, it is stated that it is good to hide yellow screens of death (obviously), but not only for the reason in that it is quite informal to users, but also because hackers can use the information to hack your…
contactmatt
  • 18,116
  • 40
  • 128
  • 186
6
votes
6 answers

Can the ASP.NET Yellow Screen of Death (YSOD) be generated on demand or captured?

We'd like to just capture the YSOD output to use in an erorr reporting email, from a Global.asax error handler, for instance. Is there any way of leveraging the built-in ysod generator?
6
votes
2 answers

YSOD Yellow Screen Of Death JavaScript RegExp - Syntax Error

I built up this regex at http://regextester.com to parse YSOD but VS is complaining about a syntax error. I am sure I am missing an escape somewhere but I am coming up blank. Here is is in original form. any help is appreciated. var rxYSOD =…
Sky Sanders
  • 36,396
  • 8
  • 69
  • 90
5
votes
4 answers

Enable Yellow Screen of Death on MVC 3

I had to take over an MVC 3 project from another developer. One of the first things he did was to stop the yellow screen of death so that all exceptions are only logged to a file. You now only get a generic message saying an error has occurred. I…
Jaco Pretorius
  • 24,380
  • 11
  • 62
  • 94
5
votes
1 answer

How do you allow two DLL's with same namespace.class to exist in the same application?

Specifically, we are trying to upgrade our telerik controls to the latest version. Unfortunately, the old DLL's are so old that many of the control properties have changed vastly so we've decided to upgrade only the telerik control that is giving us…
sestocker
  • 3,522
  • 6
  • 27
  • 32
3
votes
1 answer

Yellow screen of death only working in IE

I have inherited a large application and whenever an exception occurs I get a screen of gibberish in Chrome: However in IE it shows the yellow screen of death as expected: I can't figure out why this would even happen. Could it be an encoding…
Terry
  • 14,099
  • 9
  • 56
  • 84
2
votes
1 answer

Can the ASP.NET MVC Yellow Screen of Death (YSOD) be generated on demand

As asked here. I want to know if it is possible to get the YSOD's HTML Rendering for exceptions to be sent by mail WITHOUT the use of ELMAH? I am handling the errors and showing a custom error page to the user. I am also sending the exception…
Nick-ACNB
  • 655
  • 1
  • 7
  • 23
2
votes
2 answers

i18n yellow screen of death

System.InvalidOperationException:Värdet null kan inte tilldelas en medlem av typen System.Boolean eftersom den är en värdetyp som inte kan ha värdet null. Thank you Microsoft, intentions are good, I know. As if anybody who really finds this…
Martin
  • 2,956
  • 7
  • 30
  • 59
1
vote
1 answer

HttpWebResponse.StatusCode isn't trapping 500 Errors

My Question: Does a HttpWebResponse.StatusCode detect Asp.Net errors? Mainly a yellow screen of death? Some Background: I am working on a simple c# console app that will test servers and services to make sure they are still functioning properly. I…
1
vote
2 answers

How would I hook into/replace the "end user" YSOD?

I want to display the YSOD when it would be providing useful information during development or locally on the servers but a semi-generic page in other cases. I know that I could set the defaultRedirect attribute of the application's
Bill Barry
  • 3,423
  • 2
  • 24
  • 22
1
vote
1 answer

Show Yellow Screen of Death (YSOD) to specific IP Address

We have deployed our solution to a closed environment, and sometimes it is hard to debug problems because we can't even collect logs fast enough. We devised a way to download the local log files via our own web forms application, but if the problem…
julealgon
  • 7,072
  • 3
  • 32
  • 77
1
vote
6 answers

Link from ASP.NET yellow error page directly to VS source code

When an ASP.NET application errors out and generates the yellow-screen display, I'd like to create some kind of link from the error page which would jump directly to the correct line of code in Visual Studio. I'm not sure how to approach this, or if…
Gabriël
  • 1,323
  • 2
  • 22
  • 34
1
2