2

最近、信頼できる In-Browser の Silverlight 5 アプリケーションを運用 Web サーバーにデプロイしました。App.xaml.cs UnhandledException ハンドラーによってかなり頻繁に ArgumentExceptions がキャプチャされます。これまでのところ、例外の原因を特定できていません。

デバッガーで実行している場合、例外は表示されません (Debug->Exceptions.... でキャプチャーの例外を明示的に有効にしています)。このエラーが頻繁に表示されるユーザーもいれば、まったく表示されないユーザーもいます。ユーザーは、表示された ErrorWindow から [OK] ボタンをクリックするだけで、すべてが正常に機能するため、致命的なエラーではないようです。

ユーザーの迷惑にならないように、ArgumentException 型のハンドラーを追加し、それを処理済みとしてマークして続行します。しかし、私はまだエラーをログに記録しており、問題を解決できるように実際のソースを特定したいと考えています. 例外を無視するだけでは、長期的な解決策とは思えません。

スタック トレースは以下にあり、すべての ArgumentExceptions で同じです。

トラブルシューティングを改善し、この例外の原因を特定する方法についてのアイデアはありますか?

ありがとう、

ティム

Unhandled Exception: [Arg_ArgumentException] 
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=5.0.10411.00&File=mscorlib.dll&Key=Arg_ArgumentException :    
   at MS.Internal.XcpImports.CheckHResult(UInt32 hr) 
   at MS.Internal.XcpImports.SetValue(IManagedPeerBase obj, DependencyProperty property, Double d) 
   at MS.Internal.XcpImports.SetValue(IManagedPeerBase doh, DependencyProperty property, Object obj) 
   at System.Windows.DependencyObject.SetObjectValueToCore(DependencyProperty dp, Object value) 
   at System.Windows.DependencyObject.SetEffectiveValue(DependencyProperty property, EffectiveValueEntry& newEntry, Object newValue) 
   at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation) 
   at System.Windows.DependencyObject.RefreshExpression(DependencyProperty dp) 
   at System.Windows.Data.BindingExpression.SendDataToTarget() 
   at System.Windows.Data.BindingExpression.SourceAcquired() 
   at System.Windows.Data.BindingExpression.PerformTargetLoaded() 
   at System.Windows.Data.BindingExpression.TargetLoaded(Object o, RoutedEventArgs e) 
   at MS.Internal.CoreInvokeHandler.InvokeEventHandler(UInt32 typeIndex, Delegate handlerDelegate, Object sender, Object args) 
   at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex
4

0 に答える 0