Specified cast is not valid.
Line 5: <% Html.RenderPartial("~/Views/Shared/Message.ascx"); %>
Line 6: <% var userVote =(Int )ViewData["userVote"]; %>
Line 7:
Line 8: <div id="posts">
This error is thrown when I try to view a particular forum post. ForumView.aspx. The ViewPost Action in page 338.
what's causing the Cast to fail?
Source File: Views\Forum\ViewPost.aspx Line: 6
|