Issue with deployment on Https server

Aug 10, 2012 at 1:38 PM


This is not related to Simple MVVM but I am hoping Tony or anyone can provide some insight into what is happening. I have a site where the web client ( web forms ) reside which has to run under https. This form has to call and load my xap file from an http server. Same internal network but two different iis servers i.e. cross domain. I am unable to load the xap file on the http server. In testing if I make both servers http the xap loads with no issue however if I set them both to https or leave one of the servers as https and the other http the xap will not load. The silverlight viewer initializes but it will not load the xap. I have setup a clientaccesspolicy.xml file with the following. 


<?xml version="1.0" encoding="utf-8"?>
		  <allow-from http-request-headers="*">
		    <domain uri="https://*" />
	   	    <resource path="/" include-subpaths="true"/>


html code loading xap:


<div id="silverlightControlHost">
 <object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="100%" height="100%">
	<param name="source" value="" />
	<param name="onError" value="onSilverlightError" />
	<param name="background" value="silver" />
	<param name="minRuntimeVersion" value="4.0.60310.0" />
	<param name="autoUpgrade" value="true" />
	<a href="" style="text-decoration:none">
 		<img src="" alt="Get Microsoft Silverlight" style="border-style:none"/>
</object><iframe id="_sl_historyFrame" style="visibility:hidden;height:0px;width:0px;border:0px"></iframe></div>

(Note: in the source I have tried https as well and no luck :(   )


Can anyone provide some insight into why this is not working. Is it a security block in Silverlight that is preventing this?

My apologies in advance for posting a non-simple mvvm topic but you guys are my last hope at figuring this out I have posted on other forums and not received any suggestions.  

I'd appreciate any suggestions

Thanks again and love the toolkit!



Aug 10, 2012 at 6:20 PM

After some more testing and reading from MSDN this doesn't look like it will be possible due to the security of Silverlight.