Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>If you can right-click and get the Silverlight menu, your <code>object</code> tag is obviously rendering OK, which is a good start.</p> <p>You don't mention whether you see the "percent loading" blue-dot animation? If that appears then the plugin is loading your XAP file - BUT if you <em>don't</em> see the loading animation it's likely that there is a problem "getting" the XAP file itself. There are two common reasons:</p> <p>1) The <strong>server won't serve XAP files</strong>. This is actually quite common as by default IIS won't serve unknown file extensions, and for many hosting providers this includes <code>.XAP</code>. Checking this is very easy: just put the path to your XAP in the browser and try to download it... eg. <a href="http://racereplay.net/ClientBin/Silverlight2.xap" rel="nofollow noreferrer">http://racereplay.net/ClientBin/Silverlight2.xap</a> should pop-up a "Download this file" dialog. </p> <p>IF you get a <a href="http://racereplay.net/ClientBin/Silverlight3.xap" rel="nofollow noreferrer"><strong>404 Page Not Found</strong></a> then this is why your page isn't working.</p> <p>The fix in this case is either (i) update the IIS settings (you say you've setup the MIME types already, so just check they are correct) OR (ii) RENAME your <code>.XAP</code> to <code>.ZIP</code> (both the file itself AND in the <code>&lt;object&gt;</code> tag). Most servers have no problem with ZIP files, and Silverlight doesn't mind either.</p> <p>2) The <strong>path to the XAP</strong> might be wrong. Double-check that the path is correct, say for this example</p> <pre><code>&lt;object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="100%" height="100%"&gt; &lt;param name="source" value="../ClientBin/Silverlight2.xap"/&gt; </code></pre> <p>if the above tag is at <code>http://racereplay.net/SmhHalf/default.aspx</code>... copy the XAP path (source) onto the URL and verify that you get prompted to download the file, eg <a href="http://racereplay.net/SmhHalf/../ClientBin/Silverlight2.xap" rel="nofollow noreferrer"><code>http://racereplay.net/SmhHalf/../ClientBin/Silverlight2.xap</code></a></p> <p>The fix in this case is simply to get the path right. You mention the <code>&lt;object&gt;</code> tag is on a Masterpage, so you'll probably want an <em>absolute</em> path (eg. "/ClientBin/Your.XAP") because I guess your Masterpage could be used in <code>/default.aspx</code> and also in any subdirectory on your site (<code>/AboutUs/Help.aspx</code> or whatever).</p> <p>As Anthony said, the software on the server is irrelevant (except for the web server allowing <code>.XAP</code> files to be downloaded), so don't worry about .NET versions there.</p> <p>If you update your post as you try these suggestions (and perhaps the actual URLs themselves) others may be able to offer more advice.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload