开发者

Arg_TargetInvocationException random error

开发者 https://www.devze.com 2023-04-10 22:59 出处:网络
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.

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.

What can lead to such kind of error?

How can it be fixed?

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]

0

精彩评论

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