Hosting Silverlight 2.0 in IIS
If you host Silverlight 2.0 application in IIS you might find that the silverlight object is not loading. If that’s the case, first thing you should check is the MIME type list. By default, the Silverlight package extension *.xap is not included.
To resolve that, go to IIS Manager, properties of your web site and check the “Http Headers” tab.
Then click the MIME Types button. You should see a list as bellow.
If the .xap extension is not in the list then click New… and add the following entry:
Extension: .xap
MIME type: application/x-silverlight-app
Now, check your site. You should get the silverlight objects properly.
Categories: IIS, Silverlight
Silverlight 2