I just configured my Visual studio 2010 with IIS express 8.0. It works perfectly but in case of any error in my code it is showing me crash page in encrypted format (Meaning - It shows full of boxes and some special characters). So every time i need to go event viewer to check the issue. Can you please help me in this?
This is how the message looks:
��I�%&/m�{J�J��t��$ؐ#�������iG#)���eVe]f#�흼��{����{����;�N'���?\fdl��J�ɞ!���?~|?"��Ey�')=��y6�����h���8]�����u]���u�-�������Gi[,�ߪ�?��WZ4i���uQ��t������>z��YQ6�Ҽ������S����YQ���|9+�O�f �ϫly�����A���U��?�_�������������������w�n<=>9��ypzr��/�:�]�W�b]f�/\N���ٲ%����G�(Eӏ�b���(��>�� 1~�]/����K���=^����Xe���1��Y����2�6�u�A:�f��/>����y�(��G�d^ϲe��!z���ђh���QS� �����iUV��I�M���ԃ�z�>�EV_���Z=J���������T���������f�����Z�s���� �-H¸���U�w�|=-fYzR-�������|��<&�o�Z()*�S!U��k�g����o��j��.�_�/^��u�/��J�Iն��Q���z�i�n�-gل���ݞ��Y^����H�8/���CMC� ԡO��w}V|W���\?�#�}t5/��#����G���{�:�iܩU(��8=^��b�؎��������vwv~���ٮ��YS���������|�(}\�l������-��b{4��3�y���4�������Q���آ%������~�^/g�f�U~AT$D���uq�F�sr�>͛i]�DVߝ/���P���i�ߥՔ�������2o����f�19h���|E�n��;������}x��:I~��e���N��5�ϑ�I~�h�}��JV>ͧ��f,x��'.���ﶮʒ�b�N�I�5���>ْ_2K4�*�s��9$r��U������M�Hw�ӺZ���C����{������lIf.?c3��wg<|���ϧ�t ��wgD�������{�h��o�-��fE/���(����#��Q���lY��9nɖ�
I just resolved the issue. Initially my application was working in integrated mode. I tried it with classic app pool and it started showing the real error message :-)
Related
I have an old WebForms app that I'm working on. I'm running in debug mode.
I get an error message when loading a page. It is a message from a dynamic script:
Javascript Runtime Error "False" is undefined
I'm stuck as to how to debug this. I was thinking that I might need to update a nuget package, but I don't know which one.
Update:
Get this error with IE 11. Do not get the error with Chrome.
Just in case someone else hits this. I was using LastPass password manager. For some reason the JavaScript did not behave when using Visual Studio debugging with IE. I turned the password manager (LastPass) off and we were home free.
I have made a Windows Phone application with Xamarin and Mvvmcross. When debugging the application it works perfectly. So the application was uploaded to the app store. but when the application got downloaded and run from the store it shut down immidiately after the icon gets clicked. So now i found out that the application does not work when running it on a device in release mode. (on a emulator it works fine).
First i got this exception
Error 1 Error : DEP6810 : MdilXapCompile.exe failed with error code 1004. See log file '~project.WinPhone\obj\Release\MDIL\MDILXapCompileLog.txt' for more details.
in this file there was an error
Compile filter argument specified non-existent file: ~project.WinPhone\obj\Release\MSIL\nl-NL\project.resources.dll
Invalid argument
This error made it unable to deploy the application to the device in release mode. I still have no idea why i got this error and how i am supposed to solve it. But i found a form of workaround by creating a 'nl-NL' map in the MSIL and adding the resource.dll to it. This made it able to deploy the application.
But when deploying the application in this state it crashed immediately. with the native debugger i could get it to break. it gave me this exception
Unhandled exception at 0x775E062F (COMBASE.DLL) in project.WinPhone.exe: 0xC000027B: An application-internal exception has occurred (parameters: 0x04F80AB8, 0x00000006).
Clicking on the Disassembly it had it's pointer on this line
77808534 bl SignalStartWerSvc (777FED78h)
It probably has something to do with my localizedresources, where i define some .resx files for filling the app with text. I did find out that this is causing me some problem with WP but i am not sure what i could do against it, i cannot use .resw files as have been suggested.
Has anyone ever had this sort of issue before and does anyone know how to solve it? It is keeping me from placing a working application on the app store, which is really frustrating.
Thank you in advance
When I open WebMatrix it works without problem and shows the start page.
When I click 'My sites' and choose my site or choose My site by click 'Open'=> My site or create new site (and choose the site type: Empty, App Gallery or Template Gallery) WebMatrix crashes. Note: It crashes when it needs to show the site pages.
I tried to re-install WebMatrix but that didn't help. I also tried to change the Workspace(by clicking 'Options' on the start page).
When it crashes, I get the message 'Windows is looking for a solution to the problem.' (My computer isn't in English so that might not exactly be the words) and then I am asked if I want to close/debug the program. I click 'Debug' and choose Visual Studio. I don't know how to debug a program, but I tried and it says to me that:
System.NullReferenceException was unhandled
Message: An unhandled exception of type 'System.NullReferenceException' occurred in Microsoft.WebMatrix.Core.dll
Additional information: Object reference not set to an instance of an object [-translated].
I have searched on the internet and here and I didn't find any solution to my problem.
Actual Answer
This bug is in the market for a time now. I have seen similar issue on another forum too, where the user was facing the same issue and same thing he tried but all in vain.
I think you need to wait for the next Update for your System, or try removing each and every component that WebMatrix installed, that means all the .NET Frameworks (4th version), Sql Dependencies Sql Server Ce, and all other files that were shipped along with WebMatrix to your computer. Remove them, and start the installing process once again freshly.
If nothing does the job, please uninstall WebMatrix 3 and install WebMatrix 2: Click here for link. I know it is awkward to go back a version, but you'll have to. Secondly you can mention this bug on their support/suggestion page. They would fix it.
http://webmatrix.uservoice.com/
I hope that would help you. And you'd be back in developing the apps :-)
Just for information
Secondly, do you understand what is meant by debug? Debugging is a method or process to remove the bugs from a software or an application etc. When you chose Visual Studio, it provided you or not provided you with the WebMatrix source code, I am not sure I never tried it. And you tried out debugging it. The exception is gave you, was a message saying that the parameter you're passing onto the next stage is a null. Which means it doesn't even exist and thus the value or the method cannot be executed and it breaks.
So we decided to try out the new Windows Server 8 / IIS 8.
Running in VS-Dev server I simply catch all server errors in Application_Error() in Global.asx and log these using log4net.
Now I have 2 problems, first is the exceptions doesnt seem to be caught in Application_Error() on our deveolpment server (as the server returns a statuscode of 500 to the browser).
Second is that my log4net doesnt log anything from the Webapplication.
Its a mvc 3.0 asp.net application using razor views.
My local machine is running Windows 7 / VSUltimate 2012.
Trust-level set to Full and the IIS_IUSRS usergroup have full access to the folder where im trying to write the log-files.
What I really want is to just log the exceptions somewhere so if theres a built in way of doing this in IIS 8 please let me know. (Maybe redirect to some error controller which gets the exception as a parameter?)
Cheers Tomas
I'm having a very similar problem after upgrading to Windows Server 2012 / IIS 8.
The exceptions are being added to the Windows event log. Open Event Viewer from the start menu, expand Windows > Application on the left and look for events in the "Web Event" category.
On our server the following change fixed the problem:
In IIS Manager, go to ".NET Error Pages", then on the right choose "Edit Feature Settings..." and change Mode to either On or Remote Only.
This is driving us crazy... In VS2010, MVC2 projects, not all projects.... both on a project that was upgraded from 2008/mvc1 and on a brand new project created within 2010/MVC2, we have the following behavior:
1) develop as normal..
2) hit F5 or CTRL-F5 to open up a browser
3) works great!
4) add a CSS file (or JS file or any file, or remove any file) in the project
5) immediately the dialog pops up "WebDev.WebServer20.exe has stopped working"
You have to close the program, and "F5" again - and all is right with the world...
Say we then modify an existing css file. No problem. But adding or removing one, immediate crash.
It seems like the development webserver is "locked on" to the project file and when it detects a change, it dies.
The Event Viewer is pretty unhelpful. The following is logged:
Faulting application WebDev.WebServer20.exe, version 10.0.30319.1, time stamp 0x4ba204ca, faulting module KERNEL32.dll, version 6.0.6001.18215, time stamp 0x49953395, exception code 0xe053534f, fault offset 0x000442eb, process id 0x%9, application start time 0x%10.
This is happening on all of our developer workstations, which include some with Windows Sever 2008, some with Windows XP, and some with Windows 7. All are running VS2010 Premium with ReSharper.
Also, the same thing happens on projects which target the 4.0 framework, only the error message referrs to WebDev.WebServer40.exe instead.
Google has revealed nothing. We've already tried "setting a static port" instead of a dynamic port - no help.
Please help if you can.
So, as it turns out, the problem was due to a certain use of MVCTurbine and StructureMap, but it seems likely that the problem would also occur with other IOC Containers, not just StructureMap.
The author of MVCTurbine has expressed that the fix will be in version 2.2 of that product.
In the meantime, one extra line of code in your Global.asax will solve this problem:
//VNEXT: after Turbine 2.2 we wont need this line anymore...
protected override void ShutdownContext() { CurrentContext = null; ServiceLocator = null; }
This article shows the particular use case we were addressing. The "normal plain vanilla" use of MVCTurbine and StructureMap would not have this problem.
Obviously, great thanks to Javier for being so responsive to help requests!