When I publish my website and put it on the live server the site falls over with the error below. The code works fine localy in visual studio and I have checked my server has connectivity to the database. The entity data model is in the APP_code file. Possibly that is wrong? Thanks
Schema specified is not valid. Errors:
App_Code.portal.msl(26,12) : error 2019: Member Mapping specified is not valid. The type 'Edm.DateTimeOffset[Nullable=False,DefaultValue=,Precision=]' of member 'updated' in type 'fldtportalModel.accounting_traffic' is not compatible with 'MySql.timestamp[Nullable=False,DefaultValue=,Precision=0]' of member 'updated' in type 'fldtportalModel.Store.accounting_traffic'.
EDIT Just to clarify im using exactly the same databse on live and on my local.
Did you read the exception message?
Your
DateTimeOffsetfield in the model is not compatible with thetimestampfield in the database.