Problems with crossdomain.xml, silverlight 4?

Up vote 0 down vote favorite share g+ share fb share tw.

For some reason my crossdomain. Xml is never accepted by Silverlight and I'm getting the SecurityException everytime. I'm using SL4 and HTTPS.

The server is offline to begin with, the first request fails. After 60 seconds, the client again requests for the crossdomain. Xml, I return the file, as given below, but I get the security exception.

I'm using Fiddler to return the file. Also interesting is that it works with clientaccesspolicy. Xml but that is requested only the first time and all subsequent requests only ask for crossdomain.xml.

The file is as below silverlight silverlight-4.0 https crossdomain. Xml link|improve this question edited Feb 21 '11 at 19:51Jeff Yates24.8k658101 asked Feb 21 '11 at 18:00Chan293 80% accept rate.

Crossdomain. Xml file should have another content.

Unfortunately I still get the security exception. I'm not sure why does it not request for the clientaccesspolicy. Xml again because that works but the crossdomain.

Xml does not. – Chan Feb 22 '11 at 11:31.

Take a look to this post from SO: SecurityError when calling a HTTPS-WCF Service from Silverlight 4.

Samvel the thread above is exactly the same problem as mine. As you must have noticed it worked for him with the clientaccesspolicy. Xml, however when there is only a crossdomain.

Xml it doesn't work. Having a clientaccesspolicy is actually masking the issue. For some reason the crossdomain.

Xml is not getting accepted, in SL4 if the server is offline to begin with, the client requests for a policy file every 60 seconds, however it only requests for the crossdomain. Xml from the 2nd try onwards and that is the whole issue. – Chan Feb 22 '11 at 11:38.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions