Derik Whittaker

Syndication

News


Silverlight Code 2104 – Could not download the silverlight app error

Today after pulling latest from our TFS server, and doing a few auto merges (turns out that the AutoMerge is at fault here again)(some day I will learn NOT to trust TFS to do anything, but doubt it) I tried to fire up our Silverlight Browser app and I was presented with this lovely error.

clip_image002

I was a bit stumped by this and did some google searches and everything wanted me to check my IIS settings.  I was pretty sure this could not be the cause because this was all local dev and we have not made any changes.  After digging around in my change log I noticed that during a merge our .xap file was renamed (this was with intent).  However, the server project did not pick up this rename change (technically there were 2 .xap entries in my proj file which did not help either).  So when server was trying to serve up the newly named .xap file it was not found, hence the error Smile

There are 2 possible solutions to this problem (assuming it is non-IIS)

  1. Make sure that the .xap file being served up by your server components is in fact the CORRECT .xap file your client wants.  I actually had to open the .proj file directly for the server to make the changes as the IDE will only show one .xap file I wanted.
  2. Make sure that your Default.aspx (or what ever page servers ur silverlight .xap file) has the correct file name in the source folder

Hope this helps,

Till next time,


Posted 10-10-2011 8:26 AM by Derik Whittaker
Filed under:

[Advertisement]

About The CodeBetter.Com Blog Network
CodeBetter.Com FAQ

Our Mission

Advertisers should contact Brendan

Subscribe
Google Reader or Homepage

del.icio.us CodeBetter.com Latest Items
Add to My Yahoo!
Subscribe with Bloglines
Subscribe in NewsGator Online
Subscribe with myFeedster
Add to My AOL
Furl CodeBetter.com Latest Items
Subscribe in Rojo

Member Projects
DimeCasts.Net - Derik Whittaker

Friends of Devlicio.us
Red-Gate Tools For SQL and .NET

NDepend

SlickEdit
 
SmartInspect .NET Logging
NGEDIT: ViEmu and Codekana
LiteAccounting.Com
DevExpress
Fixx
NHibernate Profiler
Unfuddle
Balsamiq Mockups
Scrumy
JetBrains - ReSharper
Umbraco
NServiceBus
RavenDb
Web Sequence Diagrams
Ducksboard<-- NEW Friend!

 



Site Copyright © 2007 CodeBetter.Com
Content Copyright Individual Bloggers

 

Community Server (Commercial Edition)