this is chendhil. i'm working in silverlight 4, WCF 4.0 with VS 2010 as IDE. I'm working in a customized framework project solution. Our project structure has four solutions , we are separating custom Base Class Libraries in a solution, WCF Services in another, application in 3 rd and Test cases in 4th solution. we are building these solutions in a unique order to run our framework applications by daily. from the past 2 days i'm getting an internal exception error on debugging the code which will be mentioned below:
System.Runtime.Serialization.InvalidDataContractException: Type 'System.ServiceModel.Security.MessageSecurityException' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. Alternatively, you can ensure that the type is public and has a parameterless constructor - all public members of the type will then be serialized, and no attributes will be required.
kindly advice me about the cause of the issue and solution to resolve it.