开发者

404 error with ClientBin

开发者 https://www.devze.com 2023-01-01 13:50 出处:网络
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 :)

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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号