Monday, August 22, 2011

Frequent Cause of WCF Exception "The connection was closed unexpectedly"

There are so many blogs explained about the reason for getting "Frequent Cause of WCF Exception "The connection was closed unexpectedly"". The key issue could be,
if there are any not nullable numeric data type in your data contract and if you populated those properties with null values from db then the client will throw the above error.