2

我已经安装了最新版本的 kenticoCMS (v.7) 并创建了一个新的公司网站。现在我想在根网站上创建一个新页面,但是当我点击新页面项目时,这会产生错误。我在另一个网站上尝试过同样的方法,但错误仍然是一样的。

提前致谢!

Server Error in '/KenticoCMS' 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:


Line 209:        get
Line 210:        {
Line 211:            return mStep ?? (mStep = DocumentManager.Step);
Line 212:        }
Line 213:    }


Source File: f:\Asp.net\KenticoCMS\CMSModules\Content\Controls\EditMenu.ascx.cs    Line: 211

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   CMS.DocumentEngine.WorkflowManager.GetNodeWorkflowScopeInternal(TreeNode node) +342
   CMS.DocumentEngine.WorkflowManager.GetNodeWorkflowInternal(TreeNode node) +135
   CMS.DocumentEngine.WorkflowManager.GetPublishedWorkflowStepInternal(TreeNode node) +11
   CMS.DocumentEngine.WorkflowManager.GetStepInfoInternal(TreeNode node) +65
   CMS.DocumentEngine.TreeNode.get_WorkflowStep() +90
   CMS.FormControls.CMSDocumentManager.get_Step() +36
   CMSModules_Content_Controls_EditMenu.get_Step() in f:\Asp.net\KenticoCMS\CMSModules\Content\Controls\EditMenu.ascx.cs:211
   CMSModules_Content_Controls_EditMenu.ReloadMenu() in f:\Asp.net\KenticoCMS\CMSModules\Content\Controls\EditMenu.ascx.cs:448
   CMSModules_Content_Controls_EditMenu.OnPreRender(EventArgs e) in f:\Asp.net\KenticoCMS\CMSModules\Content\Controls\EditMenu.ascx.cs:336
   System.Web.UI.Control.PreRenderRecursiveInternal() +103
   System.Web.UI.Control.PreRenderRecursiveInternal() +175
   System.Web.UI.Control.PreRenderRecursiveInternal() +175
   System.Web.UI.Control.PreRenderRecursiveInternal() +175
   System.Web.UI.Control.PreRenderRecursiveInternal() +175
   System.Web.UI.Control.PreRenderRecursiveInternal() +175
   System.Web.UI.Control.PreRenderRecursiveInternal() +175
   System.Web.UI.Control.PreRenderRecursiveInternal() +175
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2496


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.547 
4

1 回答 1

1

是否可以使用堆栈跟踪复制和粘贴整个错误消息?此外,似乎有一些损坏的文件 - 我不知道是哪个文件,因为屏幕截图没有显示引发异常的文件的路径。

因此,要刷新文件,我建议例如应用最新的修补程序

于 2012-12-20T16:08:11.827 回答