Exception while Running Entity Framework existing application module in orchard cms

Topics: General, Writing modules
Jul 15, 2013 at 9:40 AM
Exception raise while Running Entity Framework existing application module in orchard cms

Exception: NHibernate.Exceptions.GenericADOException

{"could not execute query\r\n[ SELECT this_.Id as Id30_4_, this_.Number as Number30_4_, this_.Published as Published30_4_, this_.Latest as Latest30_4_, this_.Data as Data30_4_, this_.ContentItemRecord_id as ContentI6_30_4_, contentite1_.Id as Id29_0_, contentite1_.Data as Data29_0_, contentite1_.ContentType_id as ContentT3_29_0_, commonpart3_.Id as Id35_1_, commonpart3_.OwnerId as OwnerId35_1_, commonpart3_.CreatedUtc as CreatedUtc35_1_, commonpart3_.PublishedUtc as Publishe4_35_1_, commonpart3_.ModifiedUtc as Modified5_35_1_, commonpart3_.Container_id as Container6_35_1_, widgetpart2_.Id as Id38_2_, widgetpart2_.Title as Title38_2_, widgetpart2_.Position as Position38_2_, widgetpart2_.Zone as Zone38_2_, widgetpart2_.RenderTitle as RenderTi5_38_2_, widgetpart2_.Name as Name38_2_, contenttyp8_.Id as Id31_3_, contenttyp8_.Name as Name31_3_ FROM Orchard_Framework_ContentItemVersionRecord this_ inner join Orchard_Framework_ContentItemRecord contentite1_ on this_.ContentItemRecord_id=contentite1_.Id inner join Common_CommonPartRecord commonpart3_ on contentite1_.Id=commonpart3_.Id inner join Orchard_Widgets_WidgetPartRecord widgetpart2_ on contentite1_.Id=widgetpart2_.Id left outer join Orchard_Framework_ContentTypeRecord contenttyp8_ on contentite1_.ContentType_id=contenttyp8_.Id WHERE commonpart3_.Container_id in (?, ?) and this_.Published = ? ]\r\n Name:cp0 - Value:3 Name:cp1 - Value:4 Name:cp2 - Value:True\r\n[SQL: SELECT this_.Id as Id30_4_, this_.Number as Number30_4_, this_.Published as Published30_4_, this_.Latest as Latest30_4_, this_.Data as Data30_4_, this_.ContentItemRecord_id as ContentI6_30_4_, contentite1_.Id as Id29_0_, contentite1_.Data as Data29_0_, contentite1_.ContentType_id as ContentT3_29_0_, commonpart3_.Id as Id35_1_, commonpart3_.OwnerId as OwnerId35_1_, commonpart3_.CreatedUtc as CreatedUtc35_1_, commonpart3_.PublishedUtc as Publishe4_35_1_, commonpart3_.ModifiedUtc as Modified5_35_1_, commonpart3_.Container_id as Container6_35_1_, widgetpart2_.Id as Id38_2_, widgetpart2_.Title as Title38_2_, widgetpart2_.Position as Position38_2_, widgetpart2_.Zone as Zone38_2_, widgetpart2_.RenderTitle as RenderTi5_38_2_, widgetpart2_.Name as Name38_2_, contenttyp8_.Id as Id31_3_, contenttyp8_.Name as Name31_3_ FROM Orchard_Framework_ContentItemVersionRecord this_ inner join Orchard_Framework_ContentItemRecord contentite1_ on this_.ContentItemRecord_id=contentite1_.Id inner join Common_CommonPartRecord commonpart3_ on contentite1_.Id=commonpart3_.Id inner join Orchard_Widgets_WidgetPartRecord widgetpart2_ on contentite1_.Id=widgetpart2_.Id left outer join Orchard_Framework_ContentTypeRecord contenttyp8_ on contentite1_.ContentType_id=contenttyp8_.Id WHERE commonpart3_.Container_id in (?, ?) and this_.Published = ?]"}
Coordinator
Jul 15, 2013 at 9:10 PM
That's only part of the stack trace, it seems, and not even the full error message.