IE11 User Agent-Collection of common programming errors
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 “Loading…” indicator.
I have managed to track this down to others having similar issues with the user agent being the culprit.
So to test I pulled up the development tools, changed the user agent to anything other than default, and viola, page loaded without issue.
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… 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.
In all these cases the navigator.userAgent query on the java console reports to be “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”
If I change the user agent string to IE10 in emulator I get “Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0)”
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.
The question is almost the same as this one, however none of the suggestions there seem to fix it.
Force IE 11 “User agent string” using tags
Code behind on the page is very basic, so not much there to troubleshoot.
any other suggestions or suggestions to what I may have botched in the other troubleshooting would be greatly appreciated….