Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

404 error with ClientBin

Tags:

silverlight

I have a few .xap files under my clientbin folder. However I am not able to get the silverlight controls working as it seems to get a 404 error - fiddler says so :)

Much appreciate your help

like image 384
Indra Avatar asked Jun 01 '10 13:06

Indra


1 Answers

You will need to add a mapping for .xap to the mime type "application/x-silverlight-app" in your IIS mime map. See:-

http://www.adefwebserver.com/DotNetNukeHELP/Misc/Silverlight/SettingMimeType.html

IIS6 and beyond will serve up a 404 if asked to deliver a file the extension of which it can't find a mime map for. The wild card .* to application/octet-stream is not present on default installs of IIS6 and above.

like image 103
AnthonyWJones Avatar answered Nov 14 '22 23:11

AnthonyWJones