Silverlight应用程序代码4004中的Silverlight 3未处理错误 [英] Silverlight 3 Unhandled Error in Silverlight Application Code 4004

查看:487
本文介绍了Silverlight应用程序代码4004中的Silverlight 3未处理错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从Expression Encoder  2升级到Expression E.  3。我使用较旧的Silverlight 2在我们的网站上运行了210多个视频。使用新的Encoder 3,我们
发现大多数计算机都能很好地播放视频,但在我们的十台计算机中使用两台办公室综合体新的Silverlight 3无法播放(所有旧的Silverlight 2视频都在所有10台电脑上播放)。这是来自其中一台
计算机的网页错误详细信息:


 


用户代理:Mozilla / 4.0(兼容; MSIE 8.0; Windows NT 5.1; Trident / 4.0; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727) 时间戳:
星期二,2009年9月1日16:14:58 UTC
    消息:Silverlight应用程序中的未处理错误
代码:4004    类别:ManagedRuntimeError      
消息:System.Exception:[Arg_COMException] 参数: 调试
资源字符串不可用。通常,密钥和参数提供了足够的信息来诊断问题。请参阅
< font face ="Myriad Pro"> http://go.microsoft.com/fwlink/?linkid=106663&Version=3.0.40723.0&File=mscorlib.dll&Key=Arg_COMException
  
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
  在MS.Internal.XcpImports.Analytics_Start()   在System.Windows.Analytics..ctor()   
at Microsoft.Expression.Encoder.AdaptiveStreaming.PlaybackInfo..ctor(MediaElement me)
&NBSP;&NBSP;在Microsoft.Expression.Encoder.AdaptiveStreaming.AdaptiveStreamingSource.set_MediaElement(MediaElement
value)
  ;&NBSP;在ExpressionMediaPlayer.MediaPlayer.StartSmoothStreamingPlayback()   在ExpressionMediaPlayer.MediaPlayer.SmoothStreamingLoaded(对象
sender,OpenReadCompletedEventArgs e)
  在Microsoft.Expression.Encoder.PlugInLoader.PlugInLoader.XAPReadCompleted(Object sender,OpenReadCompletedEventArgs e)   &NBSP; System.Net.WebClient.OnOpenReadCompleted(OpenReadCompletedEventArgs e)   
在System.Net.WebClient.OpenReadOperationCompleted(Object arg)    
  行:84 字符:13 代码:
0

URI:
http://silverlight.sailrite.com/testing-atn-top-climber/default.html


  很奇怪它适用于大多数计算机,但不适用于这两种计算机。我不希望只有80%的客户能够使用我们的视频。任何人都可以帮忙吗?

 

解决方案

2"不好"视频的编码方式与其他视频完全相同?


您是否尝试直接在有问题的2台电脑上播放这些视频(播放wmv的本地副本)?结果是什么?


您是否在有问题的计算机上检查安装的编解码器?


您是否尝试重新编码有问题的视频?


Upgraded from Expression Encoder 2 to Expression E. 3. I have over 210 videos working on our website using older Silverlight 2. Using the new Encoder 3 we have found that most computers play the video well, but on two out of ten computers in our office complex the new Silverlight 3 does not play (all older Silverlight 2 videos play on all 10 computers). This is the webpage error details from one of those computers:

 

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727)Timestamp: Tue, 1 Sep 2009 16:14:58 UTC  Message: Unhandled Error in Silverlight Application Code: 4004    Category: ManagedRuntimeError       Message: System.Exception: [Arg_COMException]Arguments:Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=3.0.40723.0&File=mscorlib.dll&Key=Arg_COMException   at MS.Internal.XcpImports.CheckHResult(UInt32 hr)   at MS.Internal.XcpImports.Analytics_Start()   at System.Windows.Analytics..ctor()   at Microsoft.Expression.Encoder.AdaptiveStreaming.PlaybackInfo..ctor(MediaElement me)   at Microsoft.Expression.Encoder.AdaptiveStreaming.AdaptiveStreamingSource.set_MediaElement(MediaElement value)   at ExpressionMediaPlayer.MediaPlayer.StartSmoothStreamingPlayback()   at ExpressionMediaPlayer.MediaPlayer.SmoothStreamingLoaded(Object sender, OpenReadCompletedEventArgs e)   at Microsoft.Expression.Encoder.PlugInLoader.PlugInLoader.XAPReadCompleted(Object sender, OpenReadCompletedEventArgs e)   at System.Net.WebClient.OnOpenReadCompleted(OpenReadCompletedEventArgs e)   at System.Net.WebClient.OpenReadOperationCompleted(Object arg)      Line: 84Char: 13Code: 0

URI: http://silverlight.sailrite.com/testing-atn-top-climber/default.html

 Very strange that it works on most computers, but not these two. I don't want only 80% of my customers to be able to use our videos. Can anyone help?

 

解决方案

Are the 2 "bad" videos encoded exactly the same way as the other ones?

Did you try to play these videos directly on the 2 computers having the problem (playing a local copy of the wmv) ? What's the result ?

Did you check installed codecs on the computers having the problem ?

Did you try to recode the videos having the problem ?


这篇关于Silverlight应用程序代码4004中的Silverlight 3未处理错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆