I have a WCF Service running fine on my local machine. I put it on the servers, and I am receiving the following error:
An error occurred while receiv
This error can be because of contract mismatch. Consider the three layered application below...
UI Layer
|
Process Layer
|
Data Access Layer
-> Contract Between Process and UI layer has the same enum with missing (Onhold = 3). Enum: Start = 1, Stop = 2.
-> Contract Between Data Access And Process layer has enum Enum: Start = 1,Stop = 2,Onhold = 3.
In this case we will get the same error in process layer response.
The same error comes in other contract mismatch in multilayered application.