Force IE 11 "User agent string" using tags
compatibility, cross-browser, internet-explorer, internet-explorer-11, javascript
Solution
Solved! Website is up just installing Dotnet framework 4.5 on server
Actually I didn't find a way to force programmatically browsers User agent string (this was the original question). But repaired website with 0 code..
Just made lot of tests and on one server I found out that website was working, on other server it wasn't.
The "good server" was a Win2012, and "bad servers" were Win2008. On Win2012 Aspnet 4.5 was running, and on Win2008 it wasn't.
I installed dotnet framework 4.5 on bad servers too, and everything started working!
Problem
My website is broken in IE11. We all know that HTML tags allow developer to force IE compatibility mode; in example ``` <meta http-equiv="X-UA-Compatible" content="IE=8, IE=9" /> ``` worked great and solved the visualization problems for IE10. But actually on IE11, even if `Compatibility mode` is set to `IE9`, `User agent string` is set to `default` and javascript doesn't work. Changing manually `User agent string` to `IE10` solved my problems. For shure I'm going to solve the real problems that cause website errors, but actually I need a fast, programatic way to force "User agent string" to IE10, since I can't contact every user. Can someone help?