Greg

Greg

  • NA
  • 37
  • 0

WCF Windows Service - Error on Different Machines? - SOLVED

Nov 7 2007 9:12 AM
Hey all - me again!

Ok, I've managed to create my WCF Windows Service and I can consume it ok - well nearly!

Please note, when using 'basicHttpBinding' I experience no problems at all.

Ok, I've got a test box, a windows xp machine where I install my service. I need to use wsHttpBinding so as I can interrogate the username calling the web service and when its installed onto this box I have no problems at all using 'wsHttpBinding'.

However, when I move it over to my live box, a Windows Server 2003 machine, I get an error:
'An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail.'

Note - no changes have been made to my config file apart from the locations...

I've also re-written these to be IIS hosted and I get exactly the same behaviour. Anybody got an suggestions as I've been going round in circles for the past 2 days...?

Thanks,
Greg

Update - problem solved. Turned out the live server had an incorrect time. Can only assume the caller rejected the response due to the time associated with it. Thanks for reading tho!