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

16 comments:


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

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

    ReplyDelete
  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

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

    ReplyDelete
  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

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

    ReplyDelete
  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

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

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

    ReplyDelete
  10. 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
  11. It's late discovering this demonstration. At any rate, it's a thing to be acquainted with that there are such occasions exist. I concur with your Blog and I will have returned to examine it more later on so please keep up your demonstration. du lịch tràng an

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