关于InternetExplorer保护模式错误和ie保护模式有什么用的问题就给大家分享到这里,感谢你花时间阅读本站内容,更多关于asp.net–Silverlight初始化错误2110Interne
关于Internet Explorer保护模式错误和ie保护模式有什么用的问题就给大家分享到这里,感谢你花时间阅读本站内容,更多关于asp.net – Silverlight初始化错误2110 Internet Explorer、azure – Windows XP中Internet Explorer 8中的证书错误、css – Internet Explorer 11中的绝对定位错误、css – 什么将Internet Explorer引入怪癖模式?等相关知识的信息别忘了在本站进行查找喔。
本文目录一览:- Internet Explorer保护模式错误(ie保护模式有什么用)
- asp.net – Silverlight初始化错误2110 Internet Explorer
- azure – Windows XP中Internet Explorer 8中的证书错误
- css – Internet Explorer 11中的绝对定位错误
- css – 什么将Internet Explorer引入怪癖模式?
Internet Explorer保护模式错误(ie保护模式有什么用)
我在Visual Studio中的代码正在使用Selenium Webdriver
2.24.0。我正在使用的测试框架是Nunit。我的代码工作得很好(加载差异浏览器,驱动网站)直到发布2.24.0版本。
我将新的IE独立服务器添加到我的项目中。
现在,每当我运行代码时,NUnit都会遇到此错误消息。
FirstSeleniumTest.SeleniumTest.TestGoogle:SetUp : System.InvalidOperationException : Unexpected error launching Internet Explorer. Protected Mode settings are not the same for all zones. Enable Protected Mode must be set to the same value (enabled or disabled) for all zones. (NoSuchDriver)TearDown : System.NullReferenceException : Object reference not set to an instance of an object.
然后,命令提示符随即弹出。
Started InternetExplorerDriver server (64-bit)2.24.0.0Listening on port 50329
我在IE上禁用了保护模式。仍然没有运气。
如何使我的代码恢复正常的网络驱动?
答案1
小编典典您应确保为 所有
4个安全区域(Internet,本地Intranet,受信任的站点,受限制的站点)启用或禁用保护模式。换句话说,所有安全区域的设置值都应该相同。
asp.net – Silverlight初始化错误2110 Internet Explorer
问题是,我们的一些客户端尝试在Internet Explorer中访问应用程序时收到错误.该应用程序在Google Chrome中正常运行.
该错误最初表现为显示Silverlight加载动画,达到100%,消失,留下白页或简单地贴在100%.
启用JavaScript调试后,会出现一个错误对话框,通知用户以下内容:
Line: 62 Error: Unhandled Error in Silverlight Application Code: 2110 Category: InitializeError Message: 2110 An error has occurred.
我们不能比这更进一步.任何人都可以在这个问题上有所了解吗?
非常感谢,
马丁.
解决方法
在我的情况下,答案是将编译平台设置为“任何cpu”,我得到了x86中的2110错误,并使用“任何cpu”正确加载.
azure – Windows XP中Internet Explorer 8中的证书错误
我们的应用程序托管在Azure网站的专用实例中,并具有GeoTrust颁发的EV证书.证书在所有浏览器上都能正常运行,但在Windows XP上运行的Internet Explorer 8除外.我们收到以下警告:
本网站提供的安全证书是针对不同网站的地址发布的.
当我去查看证书时,我只能通过MSIT Machine Auth CS 2看到* .azurewebsites.net的证书问题.
我们在上一个问题中找到了有关此问题的更多信息:IE8 SSL Cert Problems while other browsers work like a charm
解决方案是删除IIS上的SNI配置,但我们不能在azure网站上执行此操作.我们能做什么?
解决方法
获得一个专门的实例应该可以解决您的问题,虽然我没有测试过专用的azure网站是否获得了它独特的IP,所以您可能想自己尝试一下.
更新:将证书上传到标准模式azure网站时,您似乎可以indeed choose not to use SNI.
css – Internet Explorer 11中的绝对定位错误
这是HTML,不必要的部分被删除:
<div> <div> <div id="corner"></div> ... page contents here </div> </div>
这里是CSS:
.container { margin: 0; min-height: 100%; padding: 0; } .page-content::after { content: ""; display: block; height: 1px; } .page-content { background: linear-gradient(137deg,transparent 121px,#ffffff 20px) repeat scroll 0 0 rgba(0,0); margin: 190px 100px 150px; max-width: 64em; padding: 10px 120px 145px; z-index: 2; } .page-content { margin: auto; max-width: 64em; padding: 0 1em 1em; } #corner { background-color: #ffffff; background-image: url("corner.png"); display: block; height: 200px; left: 120px; position: absolute; top: 20px; width: 200px; z-index: -1; }
正如你可以看到在这个截图中,#corner元素的位置不正确.
我真的不知道要尝试什么,因为这是特定于Internet Explorer.在过去几个小时内尝试过不同的代码,没有运气到目前为止.
解决方法
position:相对于包含元素设置绝对定位的元素的边界等于父元素而不是整个页面.
所以左边的值:0px不等于页面的左上角,而不是父元素的左边.
这有点令人惊讶,这只是在ie11中发生,虽然它是一个非常简单的问题,这使我怀疑可以轻松地获得第二个解决方案,但是再次,不得不支持IE,因为〜ie6我想我不是真的那样惊讶如果它只是IE吸吮.
css – 什么将Internet Explorer引入怪癖模式?
解决方法
编辑:有一个< feff>该字符是文件开头的Unicode BOM签名。由于您可能没有实际可以看到的文本编辑器,请尝试删除整个第一行并粘贴
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
并且不要使用BOM unicode签名保存文件。如果这不行,请尝试一个不同的文本编辑器。
我们今天的关于Internet Explorer保护模式错误和ie保护模式有什么用的分享已经告一段落,感谢您的关注,如果您想了解更多关于asp.net – Silverlight初始化错误2110 Internet Explorer、azure – Windows XP中Internet Explorer 8中的证书错误、css – Internet Explorer 11中的绝对定位错误、css – 什么将Internet Explorer引入怪癖模式?的相关信息,请在本站查询。
本文标签: