开发者

Loading Silverlight application with WCF-RIA into html div gives exception

In my Silverlight application(SilverLight app1) i have a html page and onlick of button i want to load Silvelight application(SilverLight app2) into div present in html page,Silverlight xap file is present in ClientBin folder. In this, when Silverlight application contains silverlight controls then it loads properly, but when i add WCF - RIA services into my application, then onclick of button it throws exceptio开发者_StackOverflown "Error: Unhandled Error in Silverlight Application Code: 2104

Category: InitializeError

Message: Could not download the Silverlight application. Check web server settings"

But when i run Silverlight application(SilverLight app2) it runs properly, but gives exception when trying to load into div in (SilverLight app1). I serached for this exception, it says this occurs due to MIME type not set in IIS, but it is set in my case and i am using VS2010. Thanks in advance.


http://weblogs.asp.net/javiervillarreal/archive/2008/06/14/silverlight-error-2104-could-not-download-the-silverlight-application-in-iis6.aspx

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜