为什么同一个网站IE打开行,而Opera打开竟然服务器报错!
http://career.shisu.edu.cn
IE一切正常,而Opera打开时出现以下错误:
Server Error in '/ ' Application.
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
DotNetNuke.MobileControls.MultiPanel.DoPaginateChildren(ControlPager pager, Control ctl, Int32& firstAssignedPage) +28
DotNetNuke.MobileControls.MultiPanel.PaginateRecursive(ControlPager pager) +163
DotNetNuke.MobileControls.MultiPanel.PaginateRecursive(ControlPager pager) +114
System.Web.UI.MobileControls.MobileControl.DoPaginateChildren(ControlPager pager, Control ctl, Int32& firstAssignedPage) +154
System.Web.UI.MobileControls.MobileControl.PaginateRecursive(ControlPager pager) +87
System.Web.UI.MobileControls.Panel.PaginateRecursive(ControlPager pager) +94
System.Web.UI.MobileControls.Form.PaginateForm() +213
System.Web.UI.MobileControls.Form.OnPreRender(EventArgs e) +47
System.Web.UI.Control.PreRenderRecursiveInternal() +62
System.Web.UI.Control.PreRenderRecursiveInternal() +125
System.Web.UI.Page.ProcessRequestMain() +1499
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032
真是奇怪了!难道.NET对浏览器还有亲疏之分?从来没见过,哪位高人给点思路,先谢过了!
------解决方案--------------------估计是使用ajax技术,在数据回发的时候,ie有数据,而Opera没有则导致错误发生。
------解决方案--------------------同意楼上的意见, 两种浏览器对 JavaScript 有差别的处理方式可能会产生这种问题.
------解决方案--------------------因为 IE 的容错能力比 Opera 强,所以 IE 正常而 Opera 不正常。
或者你使用了 W3C 标准以外的, IE 特有的一些属性(事件、方法)