Https and http Image URL Not loading in silverlight

Posted by Gopal_Nivas under Silverlight on 12/5/2012 | Points: 10 | Views : 1729 | Status : [Member] | Replies : 0
hi..

i have a silverlight web application.
in that application i am trying to load in https and http image url in 2 image control.

now in my local system the http enabled image url is loading but the https image url is not loading.


when i hosted the application in https enabled site, it displays the https enabled image url but not displaying the http enabled imageurl


how to handle this issue. i want to display both http and https image url's in my local system as well after hosting the application.


my client access policy :

<?xml version="1.0" encoding="utf-8"?>
<access-policy>
<cross-domain-access>
<policy>
<allow-from http-request-headers="Content-Type">
<domain uri="http://*" />
<domain uri="https://*" />



</allow-from>
<grant-to>
<resource include-subpaths="true" path="/">
</resource>
</grant-to>
</policy>
</cross-domain-access>
</access-policy>


my cross domain policy:
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-access-from domain="*" />
</cross-domain-policy>

my http and https imahe url's are:

https://www.gravatar.com/avatar/205e460b479e2e5b48aec07710c08d50.jpg
http://i594.photobucket.com/albums/tt25/...o/rose.png


so how to hanlde this issue.

need ur suggestions with examples..


regards
gopal.s




Responses

(No response found.)

Login to post response