Silverlight Error #2104 Could not download the silverlight application in IIS6

 
If you receive this error while trying to deploy your Silverlight application, make sure you did the following things:

 
1. Adjust the Content Expiration Setting

You should adjust the content expiration setting to 1 minute. The following procedure outlines how to do this with IIS.

  1. Right-click  your Web Site and select Properties from the context menu.

  2. Select the HTTP Headers tab and click "Enable Content Expiration".

  3. Set the content to expire after 1 minute.

2. Register MIME Types and File Extensions

You must register some MIME types and file extensions so that the browser on the client's system can load the correct handler. You need to add the following types:

Extension

MIME Type

.xap

application/octet-stream

.xaml

application/xaml+xml

The .xap needs to have that mime type, in order to be able to be downloaded.

3. Execute permissions must be Scripts Only.

  1. Right-click  your Web Site and select Properties from the context menu.

  2. Select the Directory tab and change "Execute Permissions" to Script only.

 


Hope this helps. 

Published Saturday, June 14, 2008 3:43 PM by Javier.Villarreal
Filed under: ,

Comments

# re: Silverlight Error #2104 Could not download the silverlight application in IIS6

Tuesday, June 17, 2008 7:44 PM by Ivana Tilca

i am trying to solve this issue but in IIS 7 :( no property area :(

help ?

# re: Silverlight Error #2104 Could not download the silverlight application in IIS6

Monday, June 30, 2008 4:07 PM by Manish

thanks for posting this. I spend couple of hours, and then find this article and my problem is solved in next 5 mins.

Thanks again.

# re: Silverlight Error #2104 Could not download the silverlight application in IIS6

Tuesday, July 08, 2008 4:13 AM by Dennis de Laat

Finally a working solution. Thanks!

# re: Silverlight Error #2104 Could not download the silverlight application in IIS6

Saturday, September 06, 2008 8:22 PM by Nick

Finally all the answers on one page...Thanks

# re: Silverlight Error #2104 Could not download the silverlight application in IIS6

Wednesday, October 15, 2008 7:43 PM by Louie

This page addressed several problems with my site configuration vs silverlight.

Thanks!!

# re: Silverlight Error #2104 Could not download the silverlight application in IIS6

Sunday, October 19, 2008 7:59 AM by Shivlee

thanks for the solution..

# re: Silverlight Error #2104 Could not download the silverlight application in IIS6

Thursday, November 06, 2008 5:00 PM by Johan

Thankyou for this solution, great!

# re: Silverlight Error #2104 Could not download the silverlight application in IIS6

Wednesday, December 10, 2008 3:34 PM by Manoj Taneja

Thanks A LOT,,,,,WORKING GREAT!!!!

# re: Silverlight Error #2104 Could not download the silverlight application in IIS6

Monday, December 22, 2008 10:49 AM by Tom

Thanks!! For some reason it only happened on Windows Server 2003, I never had to do this in Windows XP.

# re: Silverlight Error #2104 Could not download the silverlight application in IIS6

Saturday, December 27, 2008 6:00 AM by me

How about a ASP.NET Development Server?

I have a web application in VS 2005 and a I try to open in IE a page with Silverlight on it and i get this error.

Could you tell me how to configure de ASP.NET Development server the same way as you did with IIS?

Thank you.

# re: Silverlight Error #2104 Could not download the silverlight application in IIS6

Friday, January 30, 2009 5:05 PM by Javier.Villarreal

--> me

You could try to use this approach:

www.apijunkie.com/.../Fix-for-Could-not-download-the-Silverlight-application-error.aspx

in order to avoid configuring the VS 2008 or VS 2005 Development Servers at all.

# re: Silverlight Error #2104 Could not download the silverlight application in IIS6

Friday, June 12, 2009 9:33 AM by Jason

Problem solved, thanks!

# re: Silverlight Error #2104 Could not download the silverlight application in IIS6

Tuesday, June 16, 2009 2:56 PM by RoseyV

Thanks!!!

# re: Silverlight Error #2104 Could not download the silverlight application in IIS6

Thursday, August 06, 2009 3:46 PM by Nev

Thanks - you're a star!!

# re: Silverlight Error #2104 Could not download the silverlight application in IIS6

Wednesday, August 19, 2009 4:57 AM by JoeriH

Finally the complete solution, thanks a lot!

# re: Silverlight Error #2104 Could not download the silverlight application in IIS6

Friday, August 28, 2009 1:45 PM by Mariusz

Perfect. Elegant and clear solution!

# re: Silverlight Error #2104 Could not download the silverlight application in IIS6

Monday, September 14, 2009 12:51 AM by Irshad Kurmally

Solved my problem on spot. THX DUDE!

# re: Silverlight Error #2104 Could not download the silverlight application in IIS6

Monday, September 14, 2009 1:10 AM by Sungho, Lee

Problem solved, thanks!

# re: Silverlight Error #2104 Could not download the silverlight application in IIS6

Thursday, September 17, 2009 2:50 PM by Tomas Lindberg

Thanks a lot, great help, I have just enough of doing with editing and encoding without the need to also be a web expert, lucky there are good guys out there, if you ever need any encoding help, you have my url

# re: Silverlight Error #2104 Could not download the silverlight application in IIS6

Sunday, October 18, 2009 11:46 PM by Brahmam

Still i am get the Same Problem.

i am new for SilverLight..............

Error:2104

# re: Silverlight Error #2104 Could not download the silverlight application in IIS6

Monday, October 19, 2009 12:09 AM by Brahmam

Please help me..........

# re: Silverlight Error #2104 Could not download the silverlight application in IIS6

Friday, October 23, 2009 5:01 PM by rlbaum

Thanks.  Very good information.

# re: Silverlight Error #2104 Could not download the silverlight application in IIS6

Saturday, December 05, 2009 6:00 AM by Ebbs

Thanx man, you saved my life!!

# re: Silverlight Error #2104 Could not download the silverlight application in IIS6

Tuesday, January 12, 2010 6:38 PM by Sanwar

I might sound a bit naiive but I do not understand what you mean by -- Right click on your website? Did you mean the URL in the browser. I came across thsi error when I was trying to run a default Silverlight application

# re: Silverlight Error #2104 Could not download the silverlight application in IIS6

Wednesday, February 03, 2010 9:57 AM by Frank

Well done.  I followed all these steps, and now my application works!

# re: Silverlight Error #2104 Could not download the silverlight application in IIS6

Friday, February 05, 2010 10:50 AM by shashank

You are the man. thanks a ton.

# re: Silverlight Error #2104 Could not download the silverlight application in IIS6

Sunday, February 07, 2010 6:58 PM by Javier.Villarreal

@Sanwar

Right click on your website, after you open Internet Information Services (IIS). It should appear at the left side in a tree view. You may see the Default Web Site there.

# re: Silverlight Error #2104 Could not download the silverlight application in IIS6

Tuesday, February 16, 2010 7:27 PM by artemis

can you translate for Mac Firefox users?

# re: Silverlight Error #2104 Could not download the silverlight application in IIS6

Thursday, February 18, 2010 12:58 PM by cashif

Thanks

    My Problem has been fixed

# re: Silverlight Error #2104 Could not download the silverlight application in IIS6

Friday, February 26, 2010 9:44 AM by Luiz Vianna

Solved my problem. Many thanks!

# re: Silverlight Error #2104 Could not download the silverlight application in IIS6

Wednesday, April 07, 2010 1:47 PM by Anupama

Thanks, that worked for me.

# re: Silverlight Error #2104 Could not download the silverlight application in IIS6

Sunday, April 25, 2010 6:40 AM by Dmitry

Doesn't help with vs2010 IIS7 Silverlight3

# re: Silverlight Error #2104 Could not download the silverlight application in IIS6

Thursday, June 10, 2010 9:52 AM by Randy

Sanwar and artemis

The above instructions are for the developer or web server admin who is trying to get the application to work for the users.  This is not a change that the user can effect through his/her browser.

# re: Silverlight Error #2104 Could not download the silverlight application in IIS6

Friday, June 18, 2010 12:19 AM by abudis

Thanks, that worked for me.

# re: Silverlight Error #2104 Could not download the silverlight application in IIS6

Tuesday, July 20, 2010 2:20 AM by Narendra Patel

Thanks a lot.

I have done the above setting and now  my apllication is working fine.

# re: Silverlight Error #2104 Could not download the silverlight application in IIS6

Saturday, August 14, 2010 3:37 PM by Frank Wu

If you forgot to add the Silverlight Application in the Web/Properties, you would also get this error message.

# re: Silverlight Error #2104 Could not download the silverlight application in IIS6

Tuesday, August 31, 2010 3:30 AM by Richard Bos

Hey,

Just wanted to say thanks, your solution worked for me. :)

Richard

# re: Silverlight Error #2104 Could not download the silverlight application in IIS6

Friday, September 03, 2010 1:11 AM by Rajan

Please let me know the solution for vs2010 IIS7 Silverlight4. I am facing same issue. but after refreshing pae certain number of times it works. I need a permanent fix. Thanks a lot in advance.

# re: Silverlight Error #2104 Could not download the silverlight application in IIS6

Thursday, September 16, 2010 5:33 PM by Greg

same as Rajan above me, did anyone got this fixed for silverlight4 on IIS7 yet? I did the recommendations above and still get the 2104 error.

# re: Silverlight Error #2104 Could not download the silverlight application in IIS6

Friday, December 24, 2010 7:19 AM by Sai Rama Reddy

Thanks alot.. my application problem resolved :)

# re: Silverlight Error #2104 Could not download the silverlight application in IIS6

Wednesday, January 19, 2011 7:29 AM by Alliston

Really thanks, Silverlight 4 application running very well on IIS 6 :)

# re: Silverlight Error #2104 Could not download the silverlight application in IIS6

Wednesday, January 19, 2011 10:09 AM by AlexF

your solution didnt work. project works in VS 2010 but not working on IIS 6.

# re: Silverlight Error #2104 Could not download the silverlight application in IIS6

Tuesday, February 22, 2011 6:49 AM by sheeno

use these MIME types..

.xap     application/x-silverlight-app

.xaml    application/xaml+xml

.xbap    application/x-ms-xbap

# re: Silverlight Error #2104 Could not download the silverlight application in IIS6

Thursday, July 21, 2011 5:27 PM by mezzanine74

you saved my life (:

in the middle of the night, i will sleep very happy here in moscow.. spasibo !!

# re: Silverlight Error #2104 Could not download the silverlight application in IIS6

Monday, July 25, 2011 3:40 PM by Kp

Nicely done! Thanks!

# re: Silverlight Error #2104 Could not download the silverlight application in IIS6

Tuesday, August 09, 2011 3:02 AM by Gavin Macleod

any help for this error in iis 7?

# re: Silverlight Error #2104 Could not download the silverlight application in IIS6

Monday, September 05, 2011 8:42 AM by Roman

Thanks! I got a different problem 404 could not find Silverlight.xap but this solfed it.

# re: Silverlight Error #2104 Could not download the silverlight application in IIS6

Wednesday, September 14, 2011 8:12 PM by Juan Felipe

Thank's great job!!!

# re: Silverlight Error #2104 Could not download the silverlight application in IIS6

Tuesday, July 10, 2012 9:37 AM by re: Silverlight Error #2104 Could not download the silverlight application in IIS6

re: Silverlight Error #2104 Could not download the silverlight application in IIS6

# re: Silverlight Error #2104 Could not download the silverlight application in IIS6

Saturday, December 01, 2012 10:27 AM by -

<a href="http://www.spywareremovaltoolkit.com">Spyware Removal</a>A_B_C_NX

# re: Silverlight Error #2104 Could not download the silverlight application in IIS6

Monday, April 29, 2013 8:55 AM by sureka

its working thanks a lot

Leave a Comment

(required) 
(required) 
(optional)
(required)