交叉邮件: https ://orchard.codeplex.com/discussions/472561
我正在使用 Orchard CMS,我目前正在将我的项目从 1.6 升级到 1.7.2 版本。创建特定内容项时,我首先遇到此错误:
could not insert: [Orchard.ContentManagement.Records.ContentItemRecord][SQL: INSERT INTO Orchard_Framework_ContentItemRecord (Data, ContentType_id) VALUES (?, ?)]
SQL Server Compact timed out waiting for a lock. The default lock time is 2000ms for devices and 5000ms for desktops. The default lock timeout can be increased in the connection string using the ssce: default lock timeout property. [ Session id = 2,Thread id = 16096,Process id = 10760,Table name = Orchard_Framework_ContentItemRecord,Conflict type = x lock (x blocks),Resource = PAG (idx): 1066 ]
之后,我根本无法创建任何内容项,只是继续得到这个:
null id in Orchard.ContentManagement.Records.ContentItemRecord entry (don't flush the Session after an exception occurs)
我仍在验证这是否是由具有自定义部分和表(1-n 关系)的特定内容类型引起的,但到目前为止,即使使用现有的普通内容类型,我也看到了问题Orchard 中的字段(实际上只是文本字段)。
但如果其他人看到了这一点并且有一些想法,请分享您拥有的任何东西,我们将不胜感激。谢谢!