开发者

Silverlight occasionally fails to start my app

I have noticed that on occasion Internet Explorer running Silverlight 4 fails to start my app. Hitting F5 fixes this problem, but I would expect an error or oth开发者_StackOverflow中文版er problem to show itself during these failures. Has anyone had similar problems and what was the resolution? I am using Application Library Caching. Unfortunately I have not found a way to reproduce the problem; I can only sit back and expect to occur on occasion. I have seen this same problem occur with other apps we have deployed, though they do not share any code base.


You maybe experiencing a race condition when rendering the page. If you're using the object tag, then try using Silverlight.js to load the application after the page has loaded.

If it doesn't help, then remove any splash.xaml / javascript logic and load the application clean with the standard loading screen. If this solution helps, then there's something wrong with your splash screen.

Give these two a try.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜