Server Error in '/Community' Application

Discussion in 'Hosting Services / Control Panel' started by steelcastco, Jan 25, 2004.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. After changing a section title via the Admin | Edit Sections, I try to view my site and it aborts with a server error. [:(] (See below for error and stack trace)

    Any ideas on what caused and how to fix?</font id="Verdana"></font id="size2">

    All help appreciated,
    Julia

    My site: steelcastco.web105.discountasp.net/Community/

    Server Error in '/Community' Application.</font id="red">
    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 144:
    Line 145:<!--Web Box Start-->
    Line 146: <community:WebBoxList Runat="Server" />
    Line 147:

    Line 148: <community:WebServiceBoxList id="WebServiceBoxes" RepeatDirection="Horizontal" Runat="Server"/>


    Source File: e:\web\steelcastco\htdocs\community\Communities\Common\Themes\Professional\Skins\PageSkins\Default.ascx Line: 146

    Stack Trace:
    [NullReferenceException: Object reference not set to an instance of an object.]
    ASPNET.StarterKit.Communities.ContentPageUtility.CalculateContentPath(Int32 sectionID, Int32 contentID) +24
    ASPNET.StarterKit.Communities.ItemTitleLink.AddAttributesToRender(HtmlTextWriter writer) +199
    System.Web.UI.WebControls.WebControl.RenderBeginTag(HtmlTextWriter writer) +17
    System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +17
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +241
    System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +72
    System.Web.UI.Control.Render(HtmlTextWriter writer) +7
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +241
    ASPNET.StarterKit.Communities.ContentList.RenderContents(HtmlTextWriter writer) +194
    System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +29
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +241
    System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +72
    System.Web.UI.Control.Render(HtmlTextWriter writer) +7
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +241
    System.Web.UI.BasePartialCachingControl.Render(HtmlTextWriter output) +140
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +241
    System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +72
    System.Web.UI.Control.Render(HtmlTextWriter writer) +7
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +241
    System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +72
    System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) +7
    System.Web.UI.WebControls.DataListItem.RenderItemInternal(HtmlTextWriter writer, Boolean extractRows, Boolean tableLayout) +40
    System.Web.UI.WebControls.DataListItem.RenderItem(HtmlTextWriter writer, Boolean extractRows, Boolean tableLayout) +223
    System.Web.UI.WebControls.DataList.System.Web.UI.WebControls.IRepeatInfoUser.RenderItem(ListItemType itemType, Int32 repeatIndex, RepeatInfo repeatInfo, HtmlTextWriter writer) +54
    System.Web.UI.WebControls.RepeatInfo.RenderVerticalRepeater(HtmlTextWriter writer, IRepeatInfoUser user, Style controlStyle, WebControl baseControl) +883
    System.Web.UI.WebControls.RepeatInfo.RenderRepeater(HtmlTextWriter writer, IRepeatInfoUser user, Style controlStyle, WebControl baseControl) +24
    System.Web.UI.WebControls.DataList.RenderContents(HtmlTextWriter writer) +285
    System.Web.UI.WebControls.BaseDataList.Render(HtmlTextWriter writer) +27
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +241
    System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +72
    System.Web.UI.Control.Render(HtmlTextWriter writer) +7
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +241
    System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +72
    System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) +7
    System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +29
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +241
    ASP.Default_ascx.__Render__control1(HtmlTextWriter __output, Control parameterContainer) in e:\web\steelcastco\htdocs\community\Communities\Common\Themes\Professional\Skins\PageSkins\Default.ascx:146
    System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +27
    System.Web.UI.Control.Render(HtmlTextWriter writer) +7
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +241
    System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +72
    System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +44
    System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +262
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +241
    System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +72
    System.Web.UI.Control.Render(HtmlTextWriter writer) +7
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +241
    System.Web.UI.Page.ProcessRequestMain() +1912

    ----------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.903 </font id="size1">
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    This error is usually caused by access to an invalid item. For example, if you are trying to access an array element that do not exist.

    I suggest you try post your question to the ASP.net forum as well. Many CSK experts lurk in that forum, http://www.asp.net/Forums/ShowForum.aspx?tabindex=1&ForumID=88

    quote:Originally posted by steelcastco

    After changing a section title via the Admin | Edit Sections, I try to view my site and it aborts with a server error. [:(] (See below for error and stack trace)

    Any ideas on what caused and how to fix?</font id="Verdana"></font id="size2">

    All help appreciated,
    Julia

    My site: steelcastco.web105.discountasp.net/Community/

    Server Error in '/Community' Application.</font id="red">
    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 144:
    Line 145:<!--Web Box Start-->
    Line 146: <community:WebBoxList Runat="Server" />
    Line 147:

    Line 148: <community:WebServiceBoxList id="WebServiceBoxes" RepeatDirection="Horizontal" Runat="Server"/>


    Source File: e:\web\steelcastco\htdocs\community\Communities\Common\Themes\Professional\Skins\PageSkins\Default.ascx Line: 146

    Stack Trace:
    [NullReferenceException: Object reference not set to an instance of an object.]
    ASPNET.StarterKit.Communities.ContentPageUtility.CalculateContentPath(Int32 sectionID, Int32 contentID) +24
    ASPNET.StarterKit.Communities.ItemTitleLink.AddAttributesToRender(HtmlTextWriter writer) +199
    System.Web.UI.WebControls.WebControl.RenderBeginTag(HtmlTextWriter writer) +17
    System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +17
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +241
    System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +72
    System.Web.UI.Control.Render(HtmlTextWriter writer) +7
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +241
    ASPNET.StarterKit.Communities.ContentList.RenderContents(HtmlTextWriter writer) +194
    System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +29
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +241
    System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +72
    System.Web.UI.Control.Render(HtmlTextWriter writer) +7
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +241
    System.Web.UI.BasePartialCachingControl.Render(HtmlTextWriter output) +140
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +241
    System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +72
    System.Web.UI.Control.Render(HtmlTextWriter writer) +7
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +241
    System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +72
    System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) +7
    System.Web.UI.WebControls.DataListItem.RenderItemInternal(HtmlTextWriter writer, Boolean extractRows, Boolean tableLayout) +40
    System.Web.UI.WebControls.DataListItem.RenderItem(HtmlTextWriter writer, Boolean extractRows, Boolean tableLayout) +223
    System.Web.UI.WebControls.DataList.System.Web.UI.WebControls.IRepeatInfoUser.RenderItem(ListItemType itemType, Int32 repeatIndex, RepeatInfo repeatInfo, HtmlTextWriter writer) +54
    System.Web.UI.WebControls.RepeatInfo.RenderVerticalRepeater(HtmlTextWriter writer, IRepeatInfoUser user, Style controlStyle, WebControl baseControl) +883
    System.Web.UI.WebControls.RepeatInfo.RenderRepeater(HtmlTextWriter writer, IRepeatInfoUser user, Style controlStyle, WebControl baseControl) +24
    System.Web.UI.WebControls.DataList.RenderContents(HtmlTextWriter writer) +285
    System.Web.UI.WebControls.BaseDataList.Render(HtmlTextWriter writer) +27
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +241
    System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +72
    System.Web.UI.Control.Render(HtmlTextWriter writer) +7
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +241
    System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +72
    System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) +7
    System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +29
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +241
    ASP.Default_ascx.__Render__control1(HtmlTextWriter __output, Control parameterContainer) in e:\web\steelcastco\htdocs\community\Communities\Common\Themes\Professional\Skins\PageSkins\Default.ascx:146
    System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +27
    System.Web.UI.Control.Render(HtmlTextWriter writer) +7
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +241
    System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +72
    System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +44
    System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +262
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +241
    System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +72
    System.Web.UI.Control.Render(HtmlTextWriter writer) +7
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +241
    System.Web.UI.Page.ProcessRequestMain() +1912

    ----------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.903 </font id="size1">
    </blockquote id="quote"></font id="quote">
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page