IE 11 用户代理字符串使用 asp.net 1.1
IE 11 user agent string using asp.net 1.1
我们有一个旧的 asp.net 1.1 应用程序,目前 运行 在 IIS 5.2 和 Windows Server 2003 下。我们的网络组可能会将我们转移到 IE 11,同时测试我们注意到一些表格被破坏了。使用 IE 11 开发者工具,如果我们将用户代理字符串更改为 IE 9,则可以更正表单。
是否可以在不更改 aspx.vb 代码的情况下将用户代理更改为 IE9?
我们正在研究升级到 .net 4.5 的可能性,看看是否可以解决问题。
http://blogs.telerik.com/aspnet-ajax/posts/13-12-19/how-to-get-your-asp.net-application-working-in-ie11
<configuration> <system.web>
<clientTarget>
<add alias="ie9" userAgent="Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)" />
</clientTarget> </system.web> </configuration>
我在 Stack Overflow 上进行了一些搜索,找到了解决您问题的方法:
解决方案是遵循 this MSDN 文章。
You can retarget the application to run under .NET Framework 4. Retargeting requires that you add a element to the application's configuration file that allows it to run under .NET Framework 4
此处参考问题:Compatibility problems with Internet Explorer 10/11 and an old .net framework 1.1 website
我们有一个旧的 asp.net 1.1 应用程序,目前 运行 在 IIS 5.2 和 Windows Server 2003 下。我们的网络组可能会将我们转移到 IE 11,同时测试我们注意到一些表格被破坏了。使用 IE 11 开发者工具,如果我们将用户代理字符串更改为 IE 9,则可以更正表单。
是否可以在不更改 aspx.vb 代码的情况下将用户代理更改为 IE9?
我们正在研究升级到 .net 4.5 的可能性,看看是否可以解决问题。 http://blogs.telerik.com/aspnet-ajax/posts/13-12-19/how-to-get-your-asp.net-application-working-in-ie11
<configuration> <system.web>
<clientTarget>
<add alias="ie9" userAgent="Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)" />
</clientTarget> </system.web> </configuration>
我在 Stack Overflow 上进行了一些搜索,找到了解决您问题的方法:
解决方案是遵循 this MSDN 文章。
You can retarget the application to run under .NET Framework 4. Retargeting requires that you add a element to the application's configuration file that allows it to run under .NET Framework 4
此处参考问题:Compatibility problems with Internet Explorer 10/11 and an old .net framework 1.1 website