Tuesday, December 17, 2013

An unsecured or incorrectly fault error WCF

I encountered this error while executing the following snippet,

factory.CreateChannel().Issue(rst)       // Here the rst is a RequestSecurityToken object and 
                                                          //  factory is a WSTrustChannelFactory object

It seems that this was due to incorrect clock skew between my machine (client) and the server (where the WCF service was running). After correcting the time of my machine the error went away.

0 comments:

Post a Comment