I\'m developing an ASP.NET MVC 4 application using VS 2010 and EF 4.3. It retrieves some data from an external database and all worked as expected until I tried to recompile
Actually there is CreatedOn column in __MigrationHistory table so the problem might be something EF migrations related. If there are no codechanges,pending migrations or anything the error is indeed a very strange case.
PS. I found this, it might prove helpful: http://bstechnical.blogspot.fi/2012/08/invalid-column-name-createdon-code-first.html