0

I have started working on a WIF saml WCF service. I seem to have everything setup how I think it should, security service, client token WCF service etc. When I run the website that is calling the WCF service it pops-up with a windows card space dialog and the following error in the Windows Event Log.

Incoming policy failed validation. No valid claim elements were found in the policy XML.

Additional Information:
at System.Environment.get_StackTrace()
at Microsoft.InfoCards.Diagnostics.InfoCardTrace.BuildMessage(InfoCardBaseException ie)
at Microsoft.InfoCards.Diagnostics.InfoCardTrace.TraceAndLogException(Exception e)
at Microsoft.InfoCards.Diagnostics.InfoCardTrace.ThrowHelperError(Exception e)
at Microsoft.InfoCards.InfoCardPolicy.Validate()
at Microsoft.InfoCards.Request.PreProcessRequest()
at Microsoft.InfoCards.ClientUIRequest.PreProcessRequest()
at Microsoft.InfoCards.Request.DoProcessRequest(String& extendedMessage)
at Microsoft.InfoCards.RequestFactory.ProcessNewRequest(Int32 parentRequestHandle, IntPtr rpcHandle, IntPtr inArgs, IntPtr& outArgs)

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
Luke Wilkinson
  • 439
  • 8
  • 17

1 Answers1

1

From memory, disable Cardspace by setting:

ChannelFactory.Credentials.SupportInteractive = false
rbrayb
  • 46,440
  • 34
  • 114
  • 174