web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Activation of BPF throwing error - An attribute with the specified name already exists

(0) ShareShare
ReportReport
Posted on by 11,615 Moderator

We recently refreshed Prod to Dev/QA. Developed a brand new BPF & deployed to QA, the BPF was not showing on the form. So deactivated the BPF & tried to activate it again in QA. Then it started throwing this error:

Duplicate Field Name

A field with this name already exists. Please enter a different unique name. If you contact support, please provide the technical details.

pastedimage1568207780320v1.png

Unhandled exception: 
Exception type: System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]
Message: System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Microsoft.Crm.CrmException: An attribute with the specified name already exists
   at Microsoft.Crm.Dialogs.ActivateDialogPage.ConfigureForm()
   at Microsoft.Crm.Application.Controls.AppUIPage.OnPreRender(EventArgs e)
   at Microsoft.Crm.Application.Controls.AppPage.OnPreRender(EventArgs e)
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.HandleError(Exception e)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest()
   at System.Web.UI.Page.ProcessRequest(HttpContext context)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously): Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #87FE6398Detail: 
<OrganizationServiceFault xmlns:i="">www.w3.org/.../XMLSchema-instance" xmlns="">schemas.microsoft.com/.../Contracts">
  <ActivityId>f77551f3-e133-48b1-a271-310baa514e4a</ActivityId>
  <ErrorCode>-2147220970</ErrorCode>
  <ErrorDetails xmlns:d2p1="">schemas.datacontract.org/.../System.Collections.Generic" />
  <HelpLink i:nil="true" />
  <Message>System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---&gt; Microsoft.Crm.CrmException: An attribute with the specified name already exists
   at Microsoft.Crm.Dialogs.ActivateDialogPage.ConfigureForm()
   at Microsoft.Crm.Application.Controls.AppUIPage.OnPreRender(EventArgs e)
   at Microsoft.Crm.Application.Controls.AppPage.OnPreRender(EventArgs e)
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.HandleError(Exception e)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest()
   at System.Web.UI.Page.ProcessRequest(HttpContext context)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously): Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #87FE6398</Message>
  <Timestamp>2019-09-11T12:55:28.4278413Z</Timestamp>
  <ExceptionRetriable>false</ExceptionRetriable>
  <ExceptionSource i:nil="true" />
  <InnerFault>
    <ActivityId>f77551f3-e133-48b1-a271-310baa514e4a</ActivityId>
    <ErrorCode>-2147192813</ErrorCode>
    <ErrorDetails xmlns:d3p1="">schemas.datacontract.org/.../System.Collections.Generic" />
    <HelpLink i:nil="true" />
    <Message>An attribute with the specified name already exists</Message>
    <Timestamp>2019-09-11T12:55:28.4278413Z</Timestamp>
    <ExceptionRetriable>false</ExceptionRetriable>
    <ExceptionSource i:nil="true" />
    <InnerFault i:nil="true" />
    <OriginalException i:nil="true" />
    <TraceText i:nil="true" />
  </InnerFault>
  <OriginalException i:nil="true" />
  <TraceText i:nil="true" />
</OrganizationServiceFault>

I made sure there are no duplicate fields (even display name), able to deactivate/activate in Dev environment without issues.

Anyone faced this issue in the past?

*This post is locked for comments

I have the same question (0)
  • Verified answer
    NODAL Profile Picture
    860 on at

    Hi Arun, 

    Not so sure but you can try following method. 

    Open BPF editor. 

    open browser developer tools preferably chrome. 

    Try activating bpf. 

    Check network tab in dev tools. 

    Some api call might(soap) get failed and can give you more relavant error message in response. 

    Regards, 

    Ketan

  • Suggested answer
    Arun Vinoth Profile Picture
    11,615 Moderator on at

    Brilliant!

    I checked those chrome toolbar earlier but overlooked the "parameters" which is actually kinda inner exception gives more detailed information about the exception. This time I didn't miss it. Thank you for reminding me :)

    Column names in each table must be unique. Column name 'stageid' in table 'iis_projectinspectionsBase' is specified more than once.

    5557.png

    After your hint, I got the next help from this thread - [View:https://community.dynamics.com/365/f/dynamics-365-general-forum/315288/sql-error-column-names-in-each-table-must-be-unique/913951:750:50]

    But still not working for me. Awaiting screen share session with MS support. Lets see.

  • Suggested answer
    Arun Vinoth Profile Picture
    11,615 Moderator on at

    It was a MS bug again. Somehow stageid & traversedpath attributes got created but missing processid attribute is the background of this issue (atleast for me).

    MS support & Dev team worked together & applied mitigation settings in our environments to enable/activate BPF.  Its fixed now.

  • Community member Profile Picture
    10 on at

    In working through a Microsoft ticket for this error:

    If your error occurs while modifying the out of the box business process flow, try doing a "Save As" to create a new business process flow.  Now it will Activate.

    If this works, also make sure to update the Process Order so your new process is at the top of the list.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans