Server Error in '/' Application.

category error in weblog index

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Exception: category error in weblog index

Source Error:


Line 19:             throw new Exception("category error in weblog index");
Line 20: 
Line 21:         if(category!=null)
Line 22:         {
Line 23:             categoryside.ParentId = category.ParentId.Value;

Source File: c:\inetpub\vhosts\yekzan.com\httpdocs\themes\yekzandesktop\ctrls\weblog\index.ascx    Line: 21

Stack Trace:


[Exception: category error in weblog index]
   ASP.themes_yekzandesktop_ctrls_weblog_index_ascx.Page_Load(Object sender, EventArgs e) in c:\inetpub\vhosts\yekzan.com\httpdocs\themes\yekzandesktop\ctrls\weblog\index.ascx:21
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   Xanix.Web.PortalControl.PasargadUserControl.OnLoad(EventArgs e) in D:\XanixWork\Projects\XanixPortal\Presentation\Xanix.Web.PortalControl\WebUI\UserControl.cs:550
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3650.0