inetmgr -- > select ur silverlight applciation -->Right click Properties --> HTTP Headers -- MIME Map --> File Types -- New Types -->
Add one by one the below mentioned:
Associated Extension Content Type(MIME)
.xaml application/xaml+xml .xap application/x-silverlight-app
.manifest application/manifest .application application/x-ms-application .xbap application/x-ms-xbap .deploy application/octet-stream .xps application/vnd.ms-xpsdocument
Microsoft® SilverlightTM is a cross-browser, cross-platform plug-in for delivering the next generation of .NET based media experiences and rich interactive applications for the Web. Silverlight offers a flexible programming model that supports AJAX, VB, C#, Python, and Ruby, and integrates with existing Web applications. Silverlight supports fast, cost-effective delivery of high-quality video to all major browsers running on the Mac OS or Windows.
In most cases, hosters do not need to perform particular deployments to support Silverlight. However, check for the following basic items that could prevent Silverlight from functioning correctly.
All MIME types needed to support Silverlight are implemented by default in Windows Server 2008 IIS 7.0 and Windows Vista SP1. Windows Vista RTM customers can add mime types by running 'IIS Manager', clicking on 'Mime Types', then clicking 'add' and adding the following mime types:
Alternatively, you can add the following mime types to your %windir%\system32\inetsrv\config\applicationHost.config file in the <staticContent> section.
<mimeMap fileExtension='.xaml' mimeType='application/xaml+xml' /> <mimeMap fileExtension='.xap' mimeType='application/x-silverlight-app' /> <mimeMap fileExtension='.xbap' mimeType='application/x-ms-xbap' />
To enable IIS 6.0 in Windows Server 2003 or IIS7 in Windows Vista RTM with the appropriate MIME Types, add:
Here is a VBS script you could run to enable each of these types:
If you copy and paste the code above into a VBS file and save it as ADDMIMETYPE.VBS the syntax to add each type would be:
ADDMIMETYPE.VBS .xap application/x-silverlight-app ADDMIMETYPE.VBS .xaml application/xaml+xmlADDMIMETYPE.VBS .xbap application/x-ms-xbap
1. Go to Start\Administrative Tools and run IIS Manager, see figure below:
2. Right click on the server name and select 'Properties', see figure below:
3. In the Properties Dialog, click on the 'MIME Types' button, see figure below:
4. In the 'MIME Types' Dialog, click the 'New' button, see figure below:
5. In the 'MIME Type' Dialog enter one MIME Type at the time:
see figure below:
For detailed information on Silverlight, visit http://silverlight.net/.
Interestingly…. I downloaded and ran the html source locally for the test url given for the test page, all I modified was the source pointing to the live URL (changed this line to <param name="source" value="http://gtt.com/ClientBin/SilverlightA..."/>). This never worked, just a blank screen with the browser never downloading the xap to the test page unlike here where its accessing their live test page http://gtt.com/SilverlightApplication... (note the xap file present)
Also ran some things in fiddler… Our site (correctly configured) returns a Result 200 OK. The customer’s website returns a 304 In a browser pasting our url prompts a download to the xap file, their url does nothing.
http://www.interactivewebs.com/deskto...
http://gtt.com/desktopmodules/silverl...
This page has some info on the http response code http://www.checkupdown.com/status/E30... Strange there’s these odd results.