On my development machine everything is working fine, however as soon as I publish it to the server I get
System.InvalidCastException: Specified cast is not valid
This is happening on
db.SubmitChanges();
I've check out https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=351358 and it still causes me errors
I also ran the Windows Update and everything is up to date on the server