我尝试从源代码安装果园 CMS。我在 VS 2012 中打开它,我使用的是 Sql Server 2012。
我收到以下错误。
错误文字:
设置失败:无法执行查询 [ select rolerecord0_.Id as Id13_, rolerecord0_.Name as Name13_ from Test_Orchard_Roles_RoleRecord rolerecord0_ where rolerecord0_.Name=@p0 ] Name:p1 - Value:Anonymous [SQL: select rolerecord0_.Id as Id13_, rolerecord0_。名称为 Name13_ 来自 Test_Orchard_Roles_RoleRecord rolerecord0_ where rolerecord0_.Name=@p0]
我找不到此错误的任何解决方案。我哪里做错了?我该如何解决这个错误?当我选择内置存储时,它会运行。另外,如果我使用内置的有什么缺点吗?
更新(新的错误信息)
设置失败:无法执行查询 [ SELECT TOP (@p0) this_.Id as Id17_2_, this_.Number as Number17_2_, this_.Published as Published17_2_, this_.Latest as Latest17_2_, this_.Data as Data17_2_, this_.ContentItemRecord_id as ContentI6_17_2_, contentite1_.Id as Id16_0_, contentite1_.Data as Data16_0_, contentite1_.ContentType_id as ContentT3_16_0_, contenttyp4_.Id as Id18_1_, contenttyp4_.Name as Name18_1_ FROM Orchard_Framework_ContentItemVersionRecord this_ inner join Orchard_Framework_ContentItemRecord contentite1_ on this_.ContentItemRecord_id=contentite1_.Id left outer join Orchard_Framework_ContentTypeRecord contenttyp4_ on contentite1_.ContentType_id=contenttyp4_.Id WHERE contentite1_.Id = @p1 and this_.Published = @p2 ] 名称:cp0 - 值:2 名称:cp1 - 值:True [SQL: SELECT TOP (@p0) this_.Id 作为 Id17_2_ , 这个_。编号为 Number17_2_, this_.Published 为 Published17_2_, this_.Latest 为 Latest17_2_, this_.Data 为 Data17_2_, this_.ContentItemRecord_id 为 ContentI6_17_2_, contentite1_.Id 为 Id16_0_, contentite1_.Data 为 Data16_0_, contentite1_.ContentType_id 为 ContentT3_16_0_, contenttyp4_.Id 为Id18_1_, contenttyp4_.Name as Name18_1_ FROM Orchard_Framework_ContentItemVersionRecord this_ 内连接 Orchard_Framework_ContentItemRecord contentite1_ on this_.ContentItemRecord_id=contentite1_.Id 左外连接 Orchard_Framework_ContentTypeRecord contenttyp4_ on contentite1_.ContentType_id=contenttyp4_.Id WHERE contentite1_.p2 = @p1Id as Id16_0_, contentite1_.Data as Data16_0_, contentite1_.ContentType_id as ContentT3_16_0_, contenttyp4_.Id as Id18_1_, contenttyp4_.Name as Name18_1_ FROM Orchard_Framework_ContentItemVersionRecord this_ inner join Orchard_Framework_ContentItemRecord contentite1_ on this_.ContentItemRecord_id=contentite1_.Id left outer join Orchard_Framework_ContentTypeRecord contenttyp4_ on contentite1_. ContentType_id=contenttyp4_.Id WHERE contentite1_.Id = @p1 和 this_.Published = @p2]Id as Id16_0_, contentite1_.Data as Data16_0_, contentite1_.ContentType_id as ContentT3_16_0_, contenttyp4_.Id as Id18_1_, contenttyp4_.Name as Name18_1_ FROM Orchard_Framework_ContentItemVersionRecord this_ inner join Orchard_Framework_ContentItemRecord contentite1_ on this_.ContentItemRecord_id=contentite1_.Id left outer join Orchard_Framework_ContentTypeRecord contenttyp4_ on contentite1_. ContentType_id=contenttyp4_.Id WHERE contentite1_.Id = @p1 和 this_.Published = @p2]Id 左外连接 Orchard_Framework_ContentTypeRecord contenttyp4_ on contentite1_.ContentType_id=contenttyp4_.Id WHERE contentite1_.Id = @p1 和 this_.Published = @p2]Id 左外连接 Orchard_Framework_ContentTypeRecord contenttyp4_ on contentite1_.ContentType_id=contenttyp4_.Id WHERE contentite1_.Id = @p1 和 this_.Published = @p2]