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.

Solution

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

13 comments:

  1. 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

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

    ReplyDelete
  3. 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

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

    ReplyDelete
  5. This comment has been removed by the author.

    ReplyDelete
  6. Two full thumbs up for this magneficent article of yours. I've really refreshing examining this article today and I figure this might be a champion among other article that I've scrutinized yet. If its all the same to you keep this work proceeding in a comparative quality. wedding dress

    ReplyDelete
  7. I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post. zcode discount

    ReplyDelete
  8. It seems that the website has something wrong. Download the game app at game guardian apk

    ReplyDelete