Register XAP file extention in IIS
If you are having problems loading a Silverlight 2.0 application, and you have exhausted all options, you may need to register the XAP file extension in IIS. I banged my head against the wall (well, not really) trying to figure out why my application wasn’t loading. It turns out to be a simple fix. Register the MIME type for .xap to application/x-silverlight-app.
Below are screen shots of where to find MIME type in IIS7.


Thanks! I had almost given up getting the Silverlight 2.0 beta app to show up after publishing.
[...] Register XAP File Extension in IIS (Corey Schuman) [...]
This also had me stummped for a while, thanks for the info, I have a shared hosting account to play with this stuff and the support guys there also had no idea…
ok, Thanks again
Eat Well, Be Happy and Live Long…
Hi,
Does it work also on IIS 6? Because you mentioned IIS7…
Thank you,
Kinga
typo: application\x-silverlight-app should be application/x-silverlight-app.
Thanks Felix, updated the typo.
Thank you for information! Yes, it works on IIS 6. I hope that guys from Microsoft will fix this issue.
[...] blog (inc. screenshots). Note that if your web server is on IIS (prior to version 7) you need to register that MIME type. As an aside, my web server happens to be Apache (shocking I know!) and I had to configure nothing [...]