07 Sep 2010 
Support Center » Knowledgebase » ASP.NET RIA: Silverlight Error #2104 Could not download the silverlight application
 ASP.NET RIA: Silverlight Error #2104 Could not download the silverlight application
Solution

If you receive this error while trying to deploy your ASP.NET RIA control 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:

ExtensionMIME Type
.xapapplication/octet-stream
.xamlapplication/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.


Article Details
Article ID: 61
Created On: 01 Dec 2008 12:49 PM

 This answer was helpful  This answer was not helpful

 Back
 Login [Lost Password] 
Email:
Password:
Remember Me:
 
 Search
 Article Options
Home | Register | Submit a Ticket | Knowledgebase
Language:

Supported by Radar-Soft, L.L.C.