When running Silverlight Prism Template Quickstart of Silverlight – got this error .
After going over a few posts
checked out my Mime Types in IIS 7.5
You must have those extensions:
if you don’t have them just create new by Add function at the right top corner in the Actions panel .
Another way was to try to browse the .xap file to try to see the real error behind the problem . Got this error –
So it didn’t find my Silverlight binary – .xap file .
You should check in your Web dummy project the ClientBin folder , and your Silverlight .xap file there . If they are not there then add the Silverlight Application to web by right click on the Web –> Properties – > Silverlight Application – > Add –> Choose one of the Silverlight apps and configure if you want to use Wcf Ria Services and so on bellow – > Ok
So now you have the .xap in ClientBin.
Check out the root to the .xap file in the default.html in the Web app .
It should look like something like this –
<param name="source" value="ClientBin/Shell.xap"/>
Do pay attention to the path value. Could it be wrong in your case ?
Still getting the 2104..
One row above the previous html line comes this
<object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="100%" height="100%">
We saw that we have application/x-silverlight – app , but should we have application/x-silverlight-2 instead ?
Still got the bloody 2104 !!
Well the solution was simple as always –
I just browsed the html created when I added the Silverlight app of shell and the path there was - ClientBin/Debug/Shell.xap , then it’s working!
Solved through pain
Hope I’ve helped !