Server Error in '/' Application.

Value cannot be null.
Parameter name: str

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.ArgumentNullException: Value cannot be null.
Parameter name: str

Source Error:


Line 203:
Line 204:        //Meta
Line 205:        Page.Title = textInfo.ToTitleCase(item.name);
Line 206:
Line 207:        for (int i = Page.Header.Controls.Count - 1; i >= 0; i--)

Source File: c:\inetpub\vhosts\thebarninsanford.com\httpdocs\App_Controls\EventControl.ascx.cs    Line: 205

Stack Trace:


[ArgumentNullException: Value cannot be null.
Parameter name: str]
   System.Globalization.TextInfo.ToTitleCase(String str) +5438951
   App_Controls_EventControl.LoadMetaInformation(Event item) in c:\inetpub\vhosts\thebarninsanford.com\httpdocs\App_Controls\EventControl.ascx.cs:205
   App_Controls_EventControl.Page_Load(Object sender, EventArgs e) in c:\inetpub\vhosts\thebarninsanford.com\httpdocs\App_Controls\EventControl.ascx.cs:149
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


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