I'm having issues debugging an mvc5.2.3 project. If there is an error anywhere the page doesn't error out with a nice easy to read error about what just happened. It outputs this character encoded garbage:
��}kw�8���9g�'=�mObI��N���I:y7��������R"d�C�j����z��Y�E�,zv�vl �B��� x���O?�뇗ƢZ�O��'Ϳ~�,P7�ӿ��J���|�JҨJ��xYy�d\�9����,Z��W �^�E����Y�����uW��]%3tD�x`���eu�+Ϙ����u�8�G�$�9~��(�<���(�\T�Y^,��N��б1����,O��x�F�Ϗo P�j�Ba!˨�L��*_G���-�U��i���%�6���o����@��
my web.config has:
<?xml version="1.0" encoding="utf-8"?>
<compilation debug="true" targetFramework="4.5" />
<customErrors mode="Off" />
have also tried adding to web.config:
<globalization fileEncoding="utf-8" requestEncoding="utf-8" responseEncoding="utf-8" />
I've also tried updating all packages to their latest versions by running
Update-Package
in the Package Manager Console. Quite a few versions on things were wrong, so I thought this might fix it but no dice...
I know when it outputs like this that I have an error in my code somewhere. I've been ignoring it but as my code gets more complex it's getting more difficult to figure out where any issues are.
Help!