在我的本地sitecore 66安装上,进行任何随机页面演示>详情>编辑控件第二个弹出窗口(编辑一个)会引发以下错误:
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.]
Sitecore.Shell.Applications.Layouts.DeviceEditor.DeviceEditorForm.OnLoad(EventArgs e)
有什么想法吗?
答案 0 :(得分:0)
将网站核心升级安装从6.4升级到6.6。 错误消息中的重要部分是错误位置
Sitecore.Shell.Applications.Layouts.DeviceEditor
。运行标准sitecore 6.6安装与本地安装之间的比较后,我发现文件sitecore \ shell \ applications \ layout \ deviceeditor.xml已过时。用正确的版本替换文件解决了问题。