A day in the life...

public class GeekEarth : Earth { }
posts - 26, comments - 8236, trackbacks - 0

Thursday, November 10, 2011

ASP MVC Silverlight control not appearing–404 not found

Just a quick tip in case you have deployed your ASP MVC app with silverlight controls in it which are not appearing.  I experienced this recently when deploying to IIS6.  The solution is

  1. Open the IIS manager app (Start->Admin->Internet Information Services (IIS) Manager)
  2. Expand the local computer node
  3. Then expand the Websites nodes
  4. Right-click your website and select “Properties”
  5. Click the “Http Headers” tab
  6. At the bottom of the page click the “MIME Types” button
  7. Click the “New” button
  8. For the extension type in .xap
  9. For the MIME Type type in application/x-silverlight-app

All done Smile

posted @ Thursday, November 10, 2011 11:17 AM | Feedback (119) |

Powered by: