在Kentico CMS版本7中创建页面时的对象引用

我已经安装了最新版本的kenticoCMS(v.7)并创建了一个新的公司站点。现在我想在根网站上创建一个新页面,但是当我点击新页面项目时,这是生成错误。我已经尝试过与另一个网站相同,但所有错误仍然存​​在。在Kentico CMS版本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

回答:

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

因此,要刷新文件,我会推荐例如应用最新的hotfix

以上是 在Kentico CMS版本7中创建页面时的对象引用 的全部内容, 来源链接: utcz.com/qa/264006.html

回到顶部