Personalized Community is here!
Quickly customize your community to find the content you seek.
Have questions on moving to the cloud? Visit the Dynamics 365 Migration Community today! Microsoft’s extensive network of Dynamics AX and Dynamics CRM experts can help.
2022 Release Wave 2Check out the latest updates and new features of Dynamics 365 released from October 2022 through March 2023
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
We are getting an Error "Exception has been thrown by the target of an invocation" on accessing Queues, Activities and child records from left navigation. All of sudden we observed this issue.
We have tried Service restart, IISRESET but no use.
Please find below for more details on issue. Please suggest on this.
Event code: 3005 Event message: An unhandled exception has occurred. Event time: 6/7/2018 9:55:42 AM Event time (UTC): 6/7/2018 1:55:42 AM Event ID: e9836044c9a944f5b52694a13e6ad729 Event sequence: 13373 Event occurrence: 24 Event detail code: 0 Application information: Application domain: /LM/W3SVC/2/ROOT-1-131727554435719043 Trust level: Full Application Virtual Path: / Application Path: D:\Program Files\Microsoft Dynamics CRM\CRMWeb\ Machine name: ServerName Process information: Process ID: 4552 Process name: w3wp.exe Account name: Domain\ServiceAccount Exception information: Exception type: TargetInvocationException Exception message: Exception has been thrown by the target of an invocation. Request information: Request URL: servername/.../areas.aspx;oType=10074&security=5243431&tabSet=relshipeName Request path: /OrgName/userdefined/areas.aspx User host address: IP Address User: Domain\UserAccount Is authenticated: True Authentication Type: Negotiate Thread account name: Domain\ServiceAccount Thread information: Thread ID: 3 Thread account name: Domain\ServiceAccount Is impersonating: False Stack trace: at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object parameters, CultureInfo culture, Boolean skipVisibilityChecks) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object parameters, CultureInfo culture) at System.Web.Services.Protocols.LogicalMethodInfo.Invoke(Object target, Object values) at Microsoft.Crm.Extensibility.InternalOperationPlugin.Execute(IPluginExecutionContext context) at Microsoft.Crm.Extensibility.PluginStep.Execute(PipelineExecutionContext context) at Microsoft.Crm.Extensibility.Pipeline.Execute(PipelineExecutionContext context) at Microsoft.Crm.Extensibility.MessageProcessor.Execute(PipelineExecutionContext context) at Microsoft.Crm.Extensibility.InternalMessageDispatcher.Execute(PipelineExecutionContext context) at Microsoft.Crm.Extensibility.ExternalMessageDispatcher.Execute(String messageName, Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, PropertyBag fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId) at Microsoft.Crm.Sdk.RequestBase.Process(Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId) at Microsoft.Crm.Sdk.RequestBase.Process(CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId) at Microsoft.Crm.Sdk.CrmServiceInternal.Execute(RequestBase request, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId) at Microsoft.Crm.Sdk.InProcessCrmService.Execute(Object request) at Microsoft.Crm.Application.Platform.ServiceCommands.PlatformCommand.ExecuteInternal() at Microsoft.Crm.Application.Platform.ServiceCommands.RetrieveMultipleCommand.Execute() at Microsoft.Crm.ApplicationQuery.RetrieveByObject(String parentEntityName, Guid parentEntityId) at Microsoft.Crm.ApplicationQuery.RetrieveByObject() at Microsoft.Crm.ApplicationQuery.ExecuteAPI(String queryApi) at Microsoft.Crm.Application.Controls.AppGridDataProvider.GetDataXml(QueryBuilder qb) at Microsoft.Crm.Application.Controls.AppGridDataProvider.Execute() at Microsoft.Crm.Application.Controls.AppGridUIProvider.Render(HtmlTextWriter output) at Microsoft.Crm.Application.Components.UI.DataGrid.RenderData(HtmlTextWriter output) at Microsoft.Crm.Application.Components.UI.DataGrid.RenderInnerHtml(HtmlTextWriter output) at Microsoft.Crm.Application.Components.UI.DataGrid.Render(HtmlTextWriter output) at Microsoft.Crm.Application.Components.UI.CrmUIControlBase.RenderControl(HtmlTextWriter writer) at Microsoft.Crm.Application.Controls.AppAreaPage.Render(HtmlTextWriter output) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) Custom event details:
There are various reasons for this error to happen, and I don't think there is an easy answer.
Check the event viewer on your CRM Server to see if there is additional information.
I would enable logging on the CRM Server and Tracing on the SQL Server to try and pinpoint the location of the problem.
Also, since you are still on CRM 4, extended support has already ended by Microsoft on April of this year, so I am not sure you can get MS to help you on this issue:
See if logging/tracing helps you, or possibly someone else has a better suggestion.
Hope this helps.
Hi Aric Levin,
Thanks for you response.
The logs which I mentioned here from Web server Event viewer.
We are going to enable the Traces to find out more on this. We will update once this activity done.
Business Applications communities