Non-threaded

Forums » Bugs & Problems » Read Thread

Post reports about problems or bugs in here.
This bug was closed 8/29/2019: Fixed with update v20190005

Server application error?

5 years ago

When I tried to open the newly created storygames link I got this message:

Server Error in '/' Application.

Specified cast is not valid.

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.InvalidCastException: Specified cast is not valid.

Source Error:
 

Line 392: ItemStyle-Wrap="false"> Line 393: <ItemTemplate> Line 394: <p style="color: #990000"><b><%# (int)Eval("Rating_Count") >= 10 ? Eval("Rating_Level") : "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;?" %></b> Line 395: <cys:ThemedImage runat="Server" Line 396: Src="checkmark.gif" Height="14" Width="14"


Source File: c:\Websites\ChooseYourStory\ChooseYourStory.com\Stories\Category.aspx    Line: 394

Stack Trace:
 

[InvalidCastException: Specified cast is not valid.] ChooseYourStory.Web.UI.Stories.Category.__DataBind__control23(Object sender, EventArgs e) in c:\Websites\ChooseYourStory\ChooseYourStory.com\Stories\Category.aspx:394 System.Web.UI.Control.OnDataBinding(EventArgs e) +98 System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +174 System.Web.UI.Control.DataBindChildren() +246 System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +191 System.Web.UI.Control.DataBindChildren() +246 System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +191 System.Web.UI.WebControls.GridView.CreateRow(Int32 rowIndex, Int32 dataSourceIndex, DataControlRowType rowType, DataControlRowState rowState, Boolean dataBind, Object dataItem, DataControlField[] fields, TableRowCollection rows, PagedDataSource pagedDataSource) +244 System.Web.UI.WebControls.GridView.CreateChildControls(IEnumerable dataSource, Boolean dataBinding) +5059 System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) +97 System.Web.UI.WebControls.GridView.PerformDataBinding(IEnumerable data) +18 System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) +165 System.Web.UI.Control.DataBindChildren() +246 System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +191 System.Web.UI.Control.DataBindChildren() +246 System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +191 System.Web.UI.Control.DataBindChildren() +246 System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +191 System.Web.UI.Control.DataBindChildren() +246 System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +191 ChooseYourStory.Web.UI.Stories.Category.Page_PreRender(Object sender, EventArgs e) in c:\Websites\ChooseYourStory\ChooseYourStory.com\Stories\Category.aspx:209 System.EventHandler.Invoke(Object sender, EventArgs e) +0 System.Web.UI.Control.OnPreRender(EventArgs e) +11900580 System.Web.UI.Control.PreRenderRecursiveInternal() +162 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6875


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

It's been like 2 hours now and I tried using my phone and PC but still the same.

Server application error?

5 years ago

Same here. Somebody probably fcked the Rating_Count variable(in db?) (of a story ?) and it's returning something that cant be casted into an int.

Edit: maybe it's just the ones that rated a new story that are impacted

Edit: Eval(), really?

Server application error?

5 years ago

It's an on going problem http://chooseyourstory.com/forums/bugs-and-problems/message/23955, it happens sometimes when new ones are published and it goes back to normal after a while.

Server application error?

5 years ago

I hope Mizal's balloons and confetti cannon is fixed yet

 

Server application error?

5 years ago
It was introduced with some changes JJJ made just before he vanished so we've just had to live with it awhile, but it's the first thing Killa and Ogre are going to be fixing.

Server application error?

5 years ago
The new story list can still be accessed with the RSS feed button next to that category at least, what really sucks is that whatever genre it's in gets locked out too. It's fun when a bunch of different contest stories hit at once.