As title says: there is an Arg_TargetInvocationException
that throws exception from time to time when user navigates to Page. Difficulty is that error is unstable and appears randomly.
Note: I'm using SL4,EF,MVVM.
Some logs:
Info Common.Utilities.Logging.NLogWrapper Client: System.ServiceModel.DomainServices.Client.DomainOperationException: Invoke ope开发者_C百科ration 'LogMessage' failed. Exception of type 'System.ServiceModel.DomainServices.Client.DomainOperationException' was thrown.
at System.ServiceModel.DomainServices.Client.OperationBase.Complete(Exception error) at System.ServiceModel.DomainServices.Client.InvokeOperation.Complete(Exception error) at System.ServiceModel.DomainServices.Client.DomainContext.CompleteInvoke(IAsyncResult asyncResult) at System.ServiceModel.DomainServices.Client.DomainContext.<>c_DisplayClass38.b_34(Object )
Another one:
Info Common.Utilities.Logging.NLogWrapper Client:
Load operation failed for query 'GetScenariosAndScripts'. Exception of type 'System.ServiceModel.DomainServices.Client.DomainOperationException' was thrown. at System.ServiceModel.DomainServices.Client.WebDomainClient`1.EndQueryCore(IAsyncResult asyncResult) at System.ServiceModel.DomainServices.Client.DomainClient.EndQuery(IAsyncResult asyncResult) at System.ServiceModel.DomainServices.Client.DomainContext.CompleteLoad(IAsyncResult asyncResult)
And in browser I've got error message:
Unable to navigate to /Start/SomePage: [Arg_TargetInvocationException]
精彩评论