yellow-screen-of-death

NullReferenceException on instantiated object?

大城市里の小女人 提交于 2019-12-20 05:52:35
问题 This is a segment of code from an app I've inherited, a user got a Yellow screen of death: Object reference not set to an instance of an object on the line: bool l_Success ... Now I'm 95% sure the faulty argument is ref l_Monitor which is very weird considering the object is instantiated a few lines before. Anyone have a clue why it would happen? Note that I have seen the same issue pop up in other places in the code. IDMS.Monitor l_Monitor = new IDMS.Monitor(); l_Monitor.LogFile.Product_ID =

i18n yellow screen of death

烂漫一生 提交于 2019-12-13 16:16:17
问题 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 information useful would also consider Swedish as the coding lingua franca. The Moldavians can just turn to Moldavian StackOverflow and post their queries for speedy help. Does anybody know how to get these messages in English? 回答1: The exception messages

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

偶尔善良 提交于 2019-12-09 12:59:43
问题 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 problems (the RadEditor control). So the bin looks something like this: RadChart.Net2.dll RadEditor.Net2.dll (we want to get rid on only this one) RadGrid.Net2.dll RadInput.Net2.dll RadPanelbar.Net2.d RadSpell.NET2.dll RadTabStrip.Net2.d

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

醉酒当歌 提交于 2019-12-03 15:23:01
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 problems (the RadEditor control). So the bin looks something like this: RadChart.Net2.dll RadEditor.Net2.dll (we want to get rid on only this one) RadGrid.Net2.dll RadInput.Net2.dll RadPanelbar.Net2.d RadSpell.NET2.dll RadTabStrip.Net2.d RadToolbar.Net2.dl RadTreeView.Net2.d RadUpload.Net2.dll RadWindow.Net2.dll Telerik.Web.UI.dll (this is the new

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

别来无恙 提交于 2019-11-29 10:29:33
问题 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? 回答1: Yes there is a way that you can do this. In the Application_Error event in the global.asax file, get the last exception as an System.HttpUnhandledException. Your code will look like this: var lastException = Server.GetLastError() as HttpUnhandledException; string Ysod = lastException.GetHtmlErrorMessage()

ASP.NET MVC: Weird characters in error page

对着背影说爱祢 提交于 2019-11-28 09:02:07
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 this: �� I�%&/m�{J�J��t�� $ؐ@�����iG#)�*��eVe]f@�흼��{���{��;�N'���?\fdl��J�ɞ!���?~|?"��Ey�')=��y6����h���ͼhR� �L�w�|��2=��Ez<����7�:5�<�+oy ��:� �T����W�v�<[��~2�g�2��?�ʋ�y�hYՋ������t� _N���M�l�����{�,��Xn���Q�}�����*g�������7�� ~� �j'u>K�{ �IW4�>�U�w�|=-fYzR-��� When accessing pages with errors directly on the server via Remote Desktop (Windows Server 2008 R2, IE8), IE even tries to download the response but get's an error (message box). Anybody

ASP.NET MVC: Weird characters in error page

血红的双手。 提交于 2019-11-27 02:36:18
问题 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 this: �� I�%&/m�{J�J��t�� $ؐ@�����iG#)�*��eVe]f@�흼��{���{��;�N'���?\fdl��J�ɞ!���?~|?"��Ey�')=��y6����h���ͼhR� �L�w�|��2=��Ez<����7�:5�<�+oy ��:� �T����W�v�<[��~2�g�2��?�ʋ�y�hYՋ������t� _N���M�l�����{�,��Xn���Q�}�����*g�������7�� ~� �j'u>K�{ �IW4�>�U�w�|=-fYzR-��� When accessing pages with errors directly on the server via Remote Desktop (Windows Server