Steps:
1. Download and install latest version from codeplex.
2. Go to Administration > Forums
3. Add some more category.
4. Delete the default "Test Category"
5. System gives an error 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 452: }
Line 453:
Line 454: this.RaiseBubbleEvent(this, e);
Line 455: }
Line 456:
Source File: d:\yafnet_1236b34131cb\yafsrc\YAF.Controls\ThemeButton.cs Line: 454
Stack Trace:
[InvalidCastException: Specified cast is not valid.]
YAF.Pages.Admin.forums.CategoryList_ItemCommand(Object source, RepeaterCommandEventArgs e) +158
System.Web.UI.WebControls.Repeater.OnItemCommand(RepeaterCommandEventArgs e) +111
System.Web.UI.WebControls.Repeater.OnBubbleEvent(Object sender, EventArgs e) +40
System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +37
System.Web.UI.WebControls.RepeaterItem.OnBubbleEvent(Object source, EventArgs e) +88
System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +37