Non-threaded

Forums » Bugs & Problems » Read Thread

Post reports about problems or bugs in here.
This bug was closed 4/28/2019: Combo'd into: http://chooseyourstory.com/forums/bugs-and-problems/message/24724

Newly Created Storygames doesn't work?

6 years ago

15/05/2017, 11:30PM

When clicking on the 'See All New Storygames" section from the "Storygame Categories" page, the hyperlink leads to an error page. I'm not sure if it happens on mobile. Note that I could still access the actual storygames. 

Below is everything that was on the page, hyperlink: http://chooseyourstory.com/Stories/new.aspx

 

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.DataBind(Boolean raiseOnDataBinding) +304 System.Web.UI.Control.DataBindChildren() +12421879 System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +321 System.Web.UI.Control.DataBindChildren() +12421879 System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +321 System.Web.UI.WebControls.GridView.CreateRow(Int32 rowIndex, Int32 dataSourceIndex, DataControlRowType rowType, DataControlRowState rowState, Boolean dataBind, Object dataItem, DataControlField[] fields, TableRowCollection rows, PagedDataSource pagedDataSource) +295 System.Web.UI.WebControls.GridView.CreateChildControls(IEnumerable dataSource, Boolean dataBinding) +4780 System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) +95 System.Web.UI.WebControls.GridView.PerformDataBinding(IEnumerable data) +19 System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) +222 System.Web.UI.WebControls.DataBoundControl.PerformSelect() +313 System.Web.UI.Control.DataBindChildren() +12421879 System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +321 System.Web.UI.Control.DataBindChildren() +12421879 System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +321 System.Web.UI.Control.DataBindChildren() +12421879 System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +321 System.Web.UI.Control.DataBindChildren() +12421879 System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +321 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.PreRenderRecursiveInternal() +113 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4297

 

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

Newly Created Storygames doesn't work?

6 years ago

This has been reported before, it's because a story in there has less then ten ratings.

Newly Created Storygames doesn't work?

6 years ago
I'm not sure anymore if that's the actual cause, but that Grapes story will be removed as soon as an admin gets around to it anyhow. Dead end links.

Newly Created Storygames doesn't work?

6 years ago

Just unpublished the story and now it's working again.

Newly Created Storygames doesn't work?

6 years ago

Still not working for me...

Newly Created Storygames doesn't work?

6 years ago
There's a new story up.