Website Applications, Compatibility Views, and User Agents
-
Hello, I have an ASP.NET web application that uses .NET 4.0 as the target framework. The application was created a couple of years ago on a Windows XP machine using Visual Studio 2010. The application was deployed to a Windows 2008 server and has been working fine. The website has a Master page and on the Home page there are several hyperlinks that, when clicked, will redirect you to other pages within the application (it is an Intranet site and is not exposed to the Internet). Recently, I retired my Windows XP machine and I purchased a new machine running Windows 8 (it was initially version 8, but is now 8.1). I took my VS 2010 setup and installed Visual Studio 2010 on my Windows 8.1 machine (I think it was legal for me to re-use VS2010, since I wiped the hard drive of the Windows XP machine prior to disposing it). So Windows 8.1 is new in my environment and so is IE 11. Several days ago I used the Windows 8.1 / VS2010 machine to create a new web page for my website. I then republished the site, deploying it to the *same* Windows 2008 server. But after using the Win8.1 machine to redeploy the site, none of the hyperlinks work on the Home page, unless I do one of the following things first: • Go to the Tools menu in IE, click Compatibility View Settings, and add my website to compatibility view or… • Press F12 in IE and change the User Agent String to Internet Explorer 9 Every time I close and restart IE, I have to choose one of the options above in order to get my hyperlinks to work. At first I thought this was an IE 11 problem, but then I tested a Windows 7 laptop running IE 10, and ran into the same problem. How can I fix this? Thank you