Monday, July 20, 2009

System.Security.SecurityException in Silverlight WCF

Here's one possible solution to a problem when a Security error is thrown:
Check the ServiceReferences.ClientConfig file in your Silverlight project. When adding a service reference, this file may have got a remote server name inside XML which is not the same as what you use for connecting to the service. This would create a pseudo cross-domain security problem.

No comments:

Post a Comment