I have a Silverlight application I built with the create webpage activated.
When I click myapp.aspx in the myapp.WEB folder everything works fine.
But after I uploaded the whole myapp.WEB folder to my webhotel and runs the page nothing shows on the screen. Only white.
If I right-click, it says Silverlight.
How to debug?
It’s a Silverlight 4 app and the aspx page is .NET 3.5
The BODY looks like this:
<div id="silverlightControlHost">
<object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="100%" height="100%">
<param name="source" value="ClientBin/AnimationEx.xap"/>
<param name="onError" value="onSilverlightError" />
<param name="background" value="white" />
<param name="minRuntimeVersion" value="4.0.50826.0" />
<param name="autoUpgrade" value="true" />
<a href="http://go.microsoft.com/fwlink/?LinkID=149156&v=4.0.50826.0" style="text-decoration:none">
<img src="http://go.microsoft.com/fwlink/?LinkId=161376" alt="Get Microsoft Silverlight" style="border-style:none"/>
</a>
</object><iframe id="_sl_historyFrame" style="visibility:hidden;height:0px;width:0px;border:0px"></iframe></div>
</form>
You said you’re using .net version 3.5, but the BODY has
I believe you have to have IIS setup with the target version being 4.0 in order to make that work. That would be under the settings for your site.