Server Error in '/' Application.

Object reference not set to an instance of an object.

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.NullReferenceException: Object reference not set to an instance of an object.

Source Error:


Line 181:
Line 182:	templateBuilder.Append("\r\n          
\r\n Line 183: templateBuilder.Append(linkurl(catemodel.call_index,catemodel.id)); Line 184: Line 185: templateBuilder.Append("\" title=\"");

Source File: d:\webapp\new-net\cstaif.com\aspx\default\category.aspx    Line: 183

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ASP.aspx_default_category_aspx.OnInit(EventArgs e) in d:\webapp\new-net\cstaif.com\aspx\default\category.aspx:183
   System.Web.UI.Control.InitRecursive(Control namingContainer) +140
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +480


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