{"id":7349,"date":"2014-06-07T02:30:05","date_gmt":"2014-06-07T02:30:05","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/06\/07\/ie11-user-agent-collection-of-common-programming-errors\/"},"modified":"2014-06-07T02:30:05","modified_gmt":"2014-06-07T02:30:05","slug":"ie11-user-agent-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/06\/07\/ie11-user-agent-collection-of-common-programming-errors\/","title":{"rendered":"IE11 User Agent-Collection of common programming errors"},"content":{"rendered":"<p>I have a MVC web application that uses the 2010 report viewer. written in C# VS2010<\/p>\n<p>IE11 users are having difficulty loading the page containing the control, it sits indefinitely on the &#8220;Loading&#8230;&#8221; indicator.<\/p>\n<p>I have managed to track this down to others having similar issues with the user agent being the culprit.<\/p>\n<p>So to test I pulled up the development tools, changed the user agent to anything other than default, and viola, page loaded without issue.<\/p>\n<p>So all of the typical ways to address this such as .NET 4.5.1 installed on server (Server 2008 R2 STD), and APP_Browsers directory and an ie.browser file, as the first line of the section, etc&#8230; all have failed. Likewise I have tried putting the browser file in the .NET directory with its native files, to no end, and I have compiled them into the GAC with no luck either.<\/p>\n<p>In all these cases the navigator.userAgent query on the java console reports to be &#8220;Mozilla\/5.0 (Windows NT 6.1; WOW64; Trident\/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; rv:11.0) like Gecko&#8221;<\/p>\n<p>If I change the user agent string to IE10 in emulator I get &#8220;Mozilla\/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident\/6.0)&#8221;<\/p>\n<p>So changing in emulator works, and the change itself does what I need, but I cannot seem to get it to override from ANYWHERE other than emulator.<\/p>\n<p>The question is almost the same as this one, however none of the suggestions there seem to fix it.<\/p>\n<p>Force IE 11 &#8220;User agent string&#8221; using tags<\/p>\n<p>Code behind on the page is very basic, so not much there to troubleshoot.<\/p>\n<pre><code>\n\n\n\n\n\n    \n    \n\n\n        \n        \n        \n        \n            \n            \n        \n    \n\n\n<\/code><\/pre>\n<p>any other suggestions or suggestions to what I may have botched in the other troubleshooting would be greatly appreciated&#8230;.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have a MVC web application that uses the 2010 report viewer. written in C# VS2010 IE11 users are having difficulty loading the page containing the control, it sits indefinitely on the &#8220;Loading&#8230;&#8221; indicator. I have managed to track this down to others having similar issues with the user agent being the culprit. So to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7349","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7349","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=7349"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7349\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=7349"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=7349"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=7349"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}