Posted on 2014-08-26
The type 'Edm.Int32' of the member 'RepNumber' in the conceptual side type 'Company.B2B.Model.Incentive' does not match with the type 'System.String' of the member 'RepNumber' on the object side type 'Company.B2B.Model.Incentive'.
I got this error because I recently change one class name 'RepNumber' from int to string on .cs wcf application. No error occur when it is debugged. and I have to make includeExceptionDetailInFaults="true"
to open above error.
The application is using wcf, and entity framework. I just don't know much about that and see any experts can help. Again, the only change we make is datatype from int to string. This error occurs when the service is consumed.