The live demo site at
www.thebeerhouseexample.com causes a server error when you try to make a forum post. If I ignore the post and reload the page, I can see the post. The one I made is "Which Becks is Best?". Please advise. Thanks.
>>>
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 4:
Line 5: <% Html.RenderPartial("~/Views/Shared/Message.ascx"); %>
Line 6: <% var userVote = (int)ViewData["userVote"]; %>
Line 7:
Line 8: <div id="posts">
Source File: c:\Inetpub\wwwroot\TheBeerHouseExample\Views\Forum \ViewPost.aspx Line: 6