0

使用自定义表单模块(教程),我构建了一个简单的联系我们小部件。它正在正确保存,因为我可以在表格中看到一些数据ciss_Orchard_Projections_StringFieldIndexRecord

但是,单击Submissions链接后,我收到此错误:

The page cannot be displayed because an internal server error has occurred.

我打开了错误日志,它显示:

2013-01-25 01:28:01,189 [14] Orchard.DisplayManagement.Implementation.DefaultDisplayManager - 动作1 by System.Action1 [[Orchard.DisplayManagement.Implementation.ShapeDisplayingContext, Orchard.Framework, Version=1.6.0.0, Culture=neutral, PublicKeyToken=null]] System.NullReferenceException:对象引用未设置为对象的实例。在 Orchard.Widgets.Shapes.b_e (ShapeDisplayingContext 显示)在 Orchard.DisplayManagement.Implementation.DefaultDisplayManager.<>c _DisplayClassc.b__3(动作1 action) in c:\Users\sebros\My Projects\Orchard\src\Orchard\DisplayManagement\Implementation\DefaultDisplayManager.cs:line 68 at Orchard.InvokeExtensions.Invoke[TEvents](IEnumerable1 事件,动作1 dispatch, ILogger logger) in c:\Users\sebros\My Projects\Orchard\src\Orchard\InvokeExtensions.cs:line 17 2013-01-25 01:29:39,785 [13] Orchard.DisplayManagement.Implementation.DefaultDisplayManager - NullReferenceException thrown from Action1

我应该从哪里开始调试呢?

我可以“清理”数据库以删除此违规记录(也许)?

4

0 回答 0