Skip to main content

Posts

Showing posts from June, 2013

WCF ERROR - An unsecured or incorrectly secured fault was received from the other party

Error  :  “ An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail ”.  We  got above security while accessing the WCF service deployed on our Development server Cause  : This type of error we normally receive because of a server time skew. The remote server and the client's system time must be within (typically) 5 minutes of each other. If they are not, security validation will fail and WCF service will throw security error. The Development serve and client time difference was 10mins and Hence the service was throwing an error related to security. Solution : We just   have updated the server time same as client machine and then it started working. Message security mechanism in WCF supports WS-SecurityConversation standard, which consists of establishing a session between client and server. A special request should be sent for a session to be established before any other calls