I'm receiving the following error:
The specified value is not an instance of type 'Edm.Int32'
Parameter name: value
whilst using the entity framework. I believe this to be a projection problem with enums as previously mentioned in the following question:
What I'm confused about is, my code works perfectly on my local PC, but as soon as the code is published onto the production server, the server throws those errors. I'm making sure that my reference to the entity framework is being copied to the server (EF 4.4) and nothing else is being cached etc.
Is there anything I need to check on the production server to get this working?