Hello,
We recently upgrade CRM 2015 on-premise to CRM 365 on-premise. While upgrading, we monitor the business process flow is still working when upgrading to CRM 2016. but it disappeared after upgrading to CRM 365 (December 2016 Update for Dynamics 365), the issue is still there even after upgrading to update 2.3.
Method 1. it doesn't help when we try this link by deactivate and re-activate BPF: http://www.leicht-bewoelkt.de/bug-in-bpf-with-dec-update
Method 2. it also doesn't help when we try this link (the solution provided by Microsoft): https://jiripesik.com/2017/01/07/business-process-flow-disappears-after-december-update-in-microsoft-dynamics-crm/
For method 1: after deactivate and re-activate BPF, reload the page, then we get the follow error message, which preventing us to open the form. click OK, it close the form, go back to list view.
Then we found the following warning message in event viewer:
Event code: 3005 Event message: An unhandled exception has occurred. Event time: 12/12/2018 11:25:11 AM Event time (UTC): 12/12/2018 6:25:11 PM Event ID: d59a823ccab94e20b835b6f1b4d9a1ab Event sequence: 3209 Event occurrence: 13 Event detail code: 0 Application information: Application domain: /LM/W3SVC/1/ROOT-1-131891079180895007 Trust level: Full Application Virtual Path: / Application Path: C:\Program Files\Microsoft Dynamics CRM\CRMWeb\ Machine name: DEV-CRM365-01 Process information: Process ID: 5824 Process name: w3wp.exe Account name: LEGALAID\SVC_DEV_CRM365_AS Exception information: Exception type: NullReferenceException Exception message: Object reference not set to an instance of an object. at Microsoft.Crm.Platform.Server.SelectionAlgorithmService.<RetrieveDefaultProcessInstanceFallback>b__4(IBusinessEntity instance) at System.Linq.EnumerableSorter`2.ComputeKeys(TElement[] elements, Int32 count) at System.Linq.EnumerableSorter`1.Sort(TElement[] elements, Int32 count) at System.Linq.OrderedEnumerable`1.<GetEnumerator>d__1.MoveNext() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at Microsoft.Crm.Platform.Server.SelectionAlgorithmService.RetrieveDefaultProcessInstance(Guid targetEntityId, Int32 targetEntityTypeCode, String targetEntityLogicalName, Boolean moreProcessData, IExecutionContext executionContext, Boolean allowPinProcess, Boolean mruFetchOnly) at Microsoft.Crm.Application.Components.Application.ProcessControlProcessCacheUtils.GetPreferredProcessId(Int32 entityTypeCode, Guid parentEntityId, Boolean& skipFallback) at Microsoft.Crm.Application.Components.Application.ProcessControlProcessCacheUtils.GetProcess(Guid parentEntityId, Int32 entityTypeCode, Guid appModuleId, Boolean fallbackToDefault) at Microsoft.Crm.Application.InlineEdit.ReadFormDataBuilder.GetProcessIdForEntity(Guid entityId, Int32 entityTypeCode) at Microsoft.Crm.Application.InlineEdit.ReadFormDataBuilder..ctor(String recordId, String entityTypeCode, Guid formId, FormFactor formFactor) at Microsoft.Crm.Application.Pages.Form.FormDataPage.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) Request information: Request URL: dev-crm365-01/.../Data.aspx;_CreateFromType=&_gridType=10095&counter=1544639111418&etc=10095&extraqs=?_gridType=10095&etc=10095&id=13b17E641B7-1476-E711-8103-00155D3BFBAD13d&opened=grid&process=&processts=763119335&rskey=13b8555CC6D-A924-424F-A7A8-F9CD10014EE913d&formid=ff3a3db3-8296-4031-bed4-6ed725cd92a9&id={17E641B7-1476-E711-8103-00155D3BFBAD}&oid=17e641b7-1476-e711-8103-00155d3bfbad&opened=grid&pagemode=iframe&pagetype=entityrecord&process=&processts=763119335&rskey={8555CC6D-A924-424F-A7A8-F9CD10014EE9} Request path: /Integration/form/Data.aspx User host address: 192.168.207.109 User: LEGALAID\jhao Is authenticated: True Authentication Type: Negotiate Thread account name: LEGALAID\SVC_DEV_CRM365_AS Thread information: Thread ID: 98 Thread account name: LEGALAID\SVC_DEV_CRM365_AS Is impersonating: False Stack trace: at Microsoft.Crm.Platform.Server.SelectionAlgorithmService.<RetrieveDefaultProcessInstanceFallback>b__4(IBusinessEntity instance) at System.Linq.EnumerableSorter`2.ComputeKeys(TElement[] elements, Int32 count) at System.Linq.EnumerableSorter`1.Sort(TElement[] elements, Int32 count) at System.Linq.OrderedEnumerable`1.<GetEnumerator>d__1.MoveNext() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at Microsoft.Crm.Platform.Server.SelectionAlgorithmService.RetrieveDefaultProcessInstance(Guid targetEntityId, Int32 targetEntityTypeCode, String targetEntityLogicalName, Boolean moreProcessData, IExecutionContext executionContext, Boolean allowPinProcess, Boolean mruFetchOnly) at Microsoft.Crm.Application.Components.Application.ProcessControlProcessCacheUtils.GetPreferredProcessId(Int32 entityTypeCode, Guid parentEntityId, Boolean& skipFallback) at Microsoft.Crm.Application.Components.Application.ProcessControlProcessCacheUtils.GetProcess(Guid parentEntityId, Int32 entityTypeCode, Guid appModuleId, Boolean fallbackToDefault) at Microsoft.Crm.Application.InlineEdit.ReadFormDataBuilder.GetProcessIdForEntity(Guid entityId, Int32 entityTypeCode) at Microsoft.Crm.Application.InlineEdit.ReadFormDataBuilder..ctor(String recordId, String entityTypeCode, Guid formId, FormFactor formFactor) at Microsoft.Crm.Application.Pages.Form.FormDataPage.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) Custom event details:
Can anyone help us this?
Thanks.
*This post is locked for comments
Hi gents,
any updates here?
Recently updated from 8.1.1 to 8.2.3 encountering the same issue :-(
Hi,
Will suggest you to raise a support case to Microsoft.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156