Error loading custom item page.

GetPostTemplate query did not return any row.



at Vianett.Publishing.SystemFramework.ApplicationAssert.CheckCondition(Boolean condition, String errorText, Int32 lineNumber) in C:\projects\frigg\Website\SystemFramework\ApplicationAssert.cs:line 26 at Vianett.Publishing.DataAccess.TemplateDAL.GetPostTemplate(Int32 postTemplateID, Int32 templateTypeID, Boolean login, Boolean ignoreRelatedTemplate) in C:\projects\frigg\Website\DataAccess\TemplateDAL.cs:line 173 at Vianett.Publishing.BusinessFacade.TemplateSystem.GetPostTemplate(Int32 postTemplateID, Int32 templateTypeID, Boolean login, Boolean ignoreRelatedTemplate) in C:\projects\frigg\Website\BusinessFacade\TemplateSystem.cs:line 83 at Vianett.Publishing.Template.base_helper.CachePostTemplateRow(Int32 postTemplateID, Boolean login, Boolean ignoreRelatedTemplate) in C:\projects\frigg\Website\Template\baseclass\base_helper.cs:line 1924 at Vianett.Publishing.Template.base_helper.GetCachedPostTemplateRow(Int32 postTemplateID, Boolean login, Boolean ignoreRelatedTemplate) in C:\projects\frigg\Website\Template\baseclass\base_helper.cs:line 1914 at Vianett.Publishing.Template.Modulebase.GetCachedPostTemplateRow(Int32 postTemplateID, Boolean login, Boolean ignoreRelatedTemplate) in C:\projects\frigg\Website\Template\baseclass\modulebase.cs:line 463 at Vianett.Publishing.Web.PostTemplateModule.Page_Load(Object sender, EventArgs e) in C:\projects\frigg\Website\Web\usercontrol\mainmodule\ItemModule\PostTemplateModule.ascx.vb:line 65