Welcome to EMC Consulting Blogs Sign in | Join | Help

Howard van Rooijen's EMC Consulting Blog (2004 - 2010)

This blog has now moved to http://howard.vanrooijen.co.uk/blog - please update your subscriptions if you wish to receive new content.

Configure MIME Type for Silverlight 2.0 in IIS

I helped Richard Griffin deploy a Silverlight 2.0 DeepZoom demo he had put together at the end of last week on an internal server. We deployed the application inside a virtual directory in IIS but the application would not load in the browser. Using Fiddler it became apparent that the main Silverlight application was requesting a .xap file from the ClientBin directory but this was coming back as a 404. IIS wont serve unknown filetypes, in order for .XAP files to be served by IIS you need to add a new MIME Type:

Extension: .xap
Mime Type: application/x-silverlight-app

Published 10 March 2008 15:56 by howard.vanrooijen
Filed under: , ,

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

 

gene furibondo said:

Thank you!  this saved me a few hours of banging my head against the wall.

December 15, 2008 19:31
 

cry said:

hi, but after i add new MIME into my II6, it not work. still blank. After restart iis, it dtill same.

December 22, 2008 08:02
 

Wolf said:

You are the man!!!

Thank you!

Btw is there any installation file that will do this automatically?

March 13, 2009 17:41

Leave a Comment

(required) 
(optional)
(required) 
Submit

This Blog

Syndication

News

This blog has now moved - please visit http://howard.vanrooijen.co.uk/blog for new content!
Add to Live.com
Powered by Community Server (Personal Edition), by Telligent Systems