2
Reply

Security errors in Silverlight application.

Volodya Bychko

Volodya Bychko

Aug 3 2010 9:59 AM
2.6k
Hi,

We have following security errors in Silverlight application:

{System.ServiceModel.CommunicationException: An error occurred while trying to make a request to URI 'http://testserv-bd3ca0:8080/wm/rsguiapi'. This could be due to attempting to access a service in a cross-domain way without a proper cross-domain policy in place, or a policy that is unsuitable for SOAP services. You may need to contact the owner of the service to publish a cross-domain policy file and to ensure it allows SOAP-related HTTP headers to be sent. This error may also be caused by using internal types in the web service proxy without using the InternalsVisibleToAttribute attribute. Please see the inner exception for more details. ---> System.Security.SecurityException ---> System.Security.SecurityException: Security error.

But what is interesting that we do NOT make a cross-domain requests because Silverlight application and SOAP service are hosted in the same local network.

Note: SOAP service is hosted in VMware, maybe this could be a reason.

Answers (2)