Non-threaded

Forums » Bugs & Problems » Read Thread

Post reports about problems or bugs in here.
This bug was closed 8/30/2019: Fixed in v20190004 Update

All New Storygames Link Error

7 years ago
This may be the same issue that was addressed with the Everything Else Link ...

---


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") : "      ?" %></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() +12421591
System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +321
System.Web.UI.Control.DataBindChildren() +12421591
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() +12421591
System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +321
System.Web.UI.Control.DataBindChildren() +12421591
System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +321
System.Web.UI.Control.DataBindChildren() +12421591
System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +321
System.Web.UI.Control.DataBindChildren() +12421591
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


All New Storygames Link Error

7 years ago

Yeah, I think this is the error you get when you try to look at all the storygames in a category with one or more story that has a question mark rating.

Also, what's a stroygame?

All New Storygames Link Error

6 years ago
I really hate this bug because you know it has to be confusing and frustrating for visitors. Fantasy, Modern, and New are all locked out right now.

All New Storygames Link Error

6 years ago
Hey, the links seem to be working now... what changed?

All New Storygames Link Error

6 years ago
I think the new stories have enough ratings now.

All New Storygames Link Error

6 years ago
Yeah, the bug pops up when there's a story in a category with less then...10 ratings? I think? Whatever's needed to make the question mark go away.

Which I guess makes this one indirectly my fault, lol.