(急救)silverlight部署后,少数客户计算机访问加载100%后白屏。不报任何错误和异常。

天晓 2012-08-01 04:14:56
(急救)silverlight部署后,少数客户计算机访问加载100%后白屏。不报任何错误和异常。

http://invest.tripsos.cn/silverlight/

用户名:lydc,密码:888888

项目部署后,大部分用户访问正常,少部分用户访问加载100%后白屏,重新刷新也没用。
用户也安装了silverlight5.0。

开发采用的是silverlight5.0。

备注1:已经取消了silverlight应用程序中的设置:通过使用应用程序库缓存减小XAP大小(R)。
备注2:百度google上面的方法已经全部用尽,所以那些不需要尝试。
备注3:IE脱机文件缓存文件也全部清除了,也换了google的浏览器,白屏的用户依然还是白屏。

我的QQ号码:260511433
...全文
760 10 打赏 收藏 转发到动态 举报
写回复
用AI写文章
10 条回复
切换为时间正序
请发表友善的回复…
发表回复
无敌凯月 2012-08-28
  • 打赏
  • 举报
回复
你的silverlight 编译环境是64位吗?


如果是 在32位环境下编译 再发布试试
ajaxfeifei 2012-08-17
  • 打赏
  • 举报
回复
请问已经解决了么?我也遇到同样的问题。
honeydai 2012-08-02
  • 打赏
  • 举报
回复
学习中,又测试了,不同地点的三台干净机器,没有重现!
天晓 2012-08-02
  • 打赏
  • 举报
回复
jv9
(冷秋寒)

数据集合应该不存在。我把页面所有代码全部注释,后台没一句代码,前台放一个TextBlock控件。运行不会有问题。但如果对TextBlock设置字体大小,粗体等等就会白屏,并出现上面这样的错误。如果去掉TextBlock设置字体大小,粗体等等就马上正常了。

但是在另外一台计算机的开发环境中不会出现这样的问题。
  • 打赏
  • 举报
回复
[Quote=引用楼主 的回复:]
已经取消了silverlight应用程序中的设置:通过使用应用程序库缓存减小XAP大小(R)。
[/Quote]

不要启用这样缓存。通过将应用程序分解到多个XAP中(而不是DLL中)来加载,并动态加载XAP,来减小一次性加载XAP文件大小。它不需要启用这种缓存。

启用“应用程序缓存”我遇到了很多“权限问题”,发现取消这个设置就没问题了。

通过动态加载XAP完全可以达到同样的目的,因为动态加载XAP之后也就会把其它XAP中的DLL加载到当前环境中来了。而这不需要启用“应用程序缓存”功能。
jv9 2012-08-02
  • 打赏
  • 举报
回复
如果出现白屏,在保证客户端浏览器和Silverlight版本没有问题的情况下,基本是因为代码或者服务错误造成的。

楼主Debug的信息,可能是数据集合中数据成员值异常造成,建议一步一步debug,查看数据集合成员值,是否有空值,或者非法数据。
cacaca6 2012-08-01
  • 打赏
  • 举报
回复
做得不错,我这里可以访问

good job man..
天晓 2012-08-01
  • 打赏
  • 举报
回复
经过调试,是上面这个问题。但还是无从下手。
天晓 2012-08-01
  • 打赏
  • 举报
回复
http://192.168.20.107:8888/silverlight

xh123

- e {System.Windows.ApplicationUnhandledExceptionEventArgs} System.Windows.ApplicationUnhandledExceptionEventArgs
- base {System.Windows.ApplicationUnhandledExceptionEventArgs} System.EventArgs {System.Windows.ApplicationUnhandledExceptionEventArgs}
- 静态成员
Empty {System.EventArgs} System.EventArgs
- ExceptionObject {System.Exception: 对 COM 组件的调用返回了错误 HRESULT E_FAIL。} System.Exception
+ Data {System.Collections.ListDictionaryInternal} System.Collections.IDictionary {System.Collections.ListDictionaryInternal}
- InnerException null System.Exception
- 静态成员
- 非公共成员
_COMPlusExceptionCode -532462766 int
s_EDILock {object} object
Message "对 COM 组件的调用返回了错误 HRESULT E_FAIL。" string
StackTrace null string
- 静态成员
- 非公共成员
_COMPlusExceptionCode -532462766 int
s_EDILock {object} object
- 非公共成员
_className "System.Exception" string
+ _data {System.Collections.ListDictionaryInternal} System.Collections.IDictionary {System.Collections.ListDictionaryInternal}
_dynamicMethods null object
_exceptionMethod null System.Reflection.MethodBase
_exceptionMethodString null string
_helpURL null string
_HResult -2146233088 int
_innerException null System.Exception
_ipForWatsonBuckets 0 System.UIntPtr
_message "对 COM 组件的调用返回了错误 HRESULT E_FAIL。" string
_remoteStackIndex 0 int
_remoteStackTraceString null string
_source null string
_stackTrace null object
_stackTraceString null string
_watsonBuckets null object
_xcode -532462766 int
_xptrs 0 System.IntPtr
BinaryStackTraceArray null object
DynamicMethodArray null object
HelpLink null string
HResult -2146233088 int
IPForWatsonBuckets 0 System.UIntPtr
RemoteStackTrace null string
Source null string
WatsonBuckets null object
Handled false bool
- 非公共成员
base {System.Windows.ApplicationUnhandledExceptionEventArgs} System.EventArgs {System.Windows.ApplicationUnhandledExceptionEventArgs}
- _exception {System.Exception: 对 COM 组件的调用返回了错误 HRESULT E_FAIL。} System.Exception
- Data {System.Collections.ListDictionaryInternal} System.Collections.IDictionary {System.Collections.ListDictionaryInternal}
- [System.Collections.ListDictionaryInternal] {System.Collections.ListDictionaryInternal} System.Collections.ListDictionaryInternal
Count 0 int
IsFixedSize false bool
IsReadOnly false bool
IsSynchronized false bool
+ Keys {System.Collections.ListDictionaryInternal.NodeKeyValueCollection} System.Collections.ICollection

{System.Collections.ListDictionaryInternal.NodeKeyValueCollection}
SyncRoot {object} object
+ Values {System.Collections.ListDictionaryInternal.NodeKeyValueCollection} System.Collections.ICollection

{System.Collections.ListDictionaryInternal.NodeKeyValueCollection}
+ 非公共成员
IsFixedSize false bool
IsReadOnly false bool
+ Keys {System.Collections.ListDictionaryInternal.NodeKeyValueCollection} System.Collections.ICollection

{System.Collections.ListDictionaryInternal.NodeKeyValueCollection}
+ Values {System.Collections.ListDictionaryInternal.NodeKeyValueCollection} System.Collections.ICollection

{System.Collections.ListDictionaryInternal.NodeKeyValueCollection}
- InnerException null System.Exception
+ 静态成员
Message "对 COM 组件的调用返回了错误 HRESULT E_FAIL。" string
StackTrace null string
- 静态成员
- 非公共成员
_COMPlusExceptionCode -532462766 int
s_EDILock {object} object
- 非公共成员
_className "System.Exception" string
+ _data {System.Collections.ListDictionaryInternal} System.Collections.IDictionary {System.Collections.ListDictionaryInternal}
_dynamicMethods null object
_exceptionMethod null System.Reflection.MethodBase
_exceptionMethodString null string
_helpURL null string
_HResult -2146233088 int
_innerException null System.Exception
_ipForWatsonBuckets 0 System.UIntPtr
_message "对 COM 组件的调用返回了错误 HRESULT E_FAIL。" string
_remoteStackIndex 0 int
_remoteStackTraceString null string
_source null string
_stackTrace null object
_stackTraceString null string
_watsonBuckets null object
_xcode -532462766 int
_xptrs 0 System.IntPtr
BinaryStackTraceArray null object
DynamicMethodArray null object
HelpLink null string
HResult -2146233088 int
IPForWatsonBuckets 0 System.UIntPtr
RemoteStackTrace null string
Source null string
WatsonBuckets null object
_handled false bool
白鸽 2012-08-01
  • 打赏
  • 举报
回复
别那么肯定,白屏几乎就是错误引起的。用HttpWatch抓一下!应该能看出来!我之前也是做过这样的代码感觉没问题,部分用户还能用,就我自己的电脑用不了!100%就白屏,后来用Httpwatch抓了一下就是代码有问题

8,735

社区成员

发帖
与我相关
我的任务
社区描述
WPF/Silverlight相关讨论
社区管理员
  • WPF/Silverlight社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧