views:

115

answers:

1

I;m trying to get WCF Silverlight faults working as per this : MSDN aricle

After adding the SL fault to my Web.config file I get the following warning:

The element 'behavior' has invalid child element 'silverlightFaults'. List of possible elements expected: 'serviceAuthorization, serviceCredentials, serviceMetadata, serviceSecurityAudit, serviceThrottling, dataContractSerializer, serviceDebug, serviceTimeouts, persistenceProvider, workflowRuntime'.

Ignoring the warning doesn't work and my Silverlight application cannot add the WCF service.

Any ideas?

A: 

Check out http://forums.silverlight.net/forums/p/98385/273886.aspx. Basically, you did not specify the full assembly info in the behavior extension section or your version number is out of synch with the assembly.

frinkfree