find a location for property in a new city

Thursday, 29 April 2010

Error in Silverlight application code: 2104 Could not download the Silverlight application. Check web server settings

Setting up a Silverlight application for the first time I got a JavaScript error of "Unhandled Error in Silverlight Application Code: 2104" with an accompanying message "Could not download the Silverlight application. Check web server settings"

Being new to this and largely just experimenting with Silverlight for the first time wasn't 100% what to do. At least it pointed me in the right direction with its "Check web server settings" comment at the end.

I checked the MIME types for my site. Sure enough there was no mention of the .xap extension. Yes, that would be the problem.


I added a MIME type with extension ".xap" and MIME type of "application/x-silverlight-app" and it all worked pleasantly.

I thought this was a bit weird that it didn't come pre-registered but oh well, hope you find this useful.

Follow britishdev on Twitter


  1. Thanks for posting this useful content, Good to know about new things here, Let me share this, . Hadoop training in pune

  2. Very helpful post.Thanks for your great information! Keep sharing.
    erp in chennai | erp software providers in chennai

  3. I found a lot of interesting information here. A really good post, very thankful and hopeful that you will write many more posts like this one.

    Webdesign Lüdenscheid

  4. Really good post !! thanks to share blog commenting list… Morpheus tv Peggo apk Uktvnow

  5. In any event it ended a really fantastic trip for us on an absolute high. A case of being in the right place at the right time!" GBWhatsAPP Anti Ban APK

  6. برای سفارش ترجمه فوری و دقیق با بهترین کیفیت به سایت ترجمه انلاین مراجعه کنید تا ترجمه شما در کوتاه ترین زمان برای شما انجام شود

  7. I definitely enjoying every little bit of it. It is a great website and nice share. I want to thank you. Good job! You guys do a great blog, and have some great contents. Keep up the good work. download reddit video

  8. I definitely enjoying every little bit of it and I have you bookmarked to check out new stuff you post. playstore for pc

  9. This comment has been removed by the author.