Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Why save is gone in infinite loop.

(0) ShareShare
ReportReport
Posted on by

I am creating the opportunity and after filling the form trying to save it, but it's remaining unsaved and just round blue dotted circle revolves around save button continuously.

why this is happening , can anyone help me in resolving this.

*This post is locked for comments

  • Lingamuthu Profile Picture
    Lingamuthu 85 on at
    RE: Why save is gone in infinite loop.

    I'm also facing same issues on online crm 365 while update opportunity form save button click continuously, plugin will trigger to create custom entity record multiple entries at a time.

    Also added below code on execution method

    if (context.Depth > 1) { return; }

    But it didn't work. Online crm don't have an option to restart server.

    Any help is appreciated!

    Thanks.

  • ashlega Profile Picture
    ashlega 34,475 on at
    RE: Why save is gone in infinite loop.

    :)) At least it's working.. I think you may need to enable server-side tracing next time it happens (if it happens again). If the problem is on the server, somehow, there might be more details in the logs then.

  • EmployeeOcta Profile Picture
    EmployeeOcta on at
    RE: Why save is gone in infinite loop.

    Hello Alex,

    I have check with F12 debugger tools but no issues.

    I have restarted the server and now it's working.

    don't know whether it's a correct solution or not.

  • ashlega Profile Picture
    ashlega 34,475 on at
    RE: Why save is gone in infinite loop.

    Hi,

     that error you posted is mentioning async operation, so I'm not sure it would be affecting "save" in any way.

     Are there any custom javascripts or business rules?

     If you have other opportunity forms, try one of those maybe? (if you don't, create another one without any javascript web resources and see how that works)

     Are there any custom plugins?

     Did you try F12 (debugging tools) to see if a javascript error shows up when you click "save"?

  • EmployeeOcta Profile Picture
    EmployeeOcta on at
    RE: Why save is gone in infinite loop.

    I tried with above mentioned things but nothing is working .

    shall i restart the server if it will help.

  • joman Profile Picture
    joman 617 on at
    RE: Why save is gone in infinite loop.

    unfortunately we can't debug Microsoft.Crm.Workflow.WorkflowExpansionPlugin

    So

    Try to restart async service.

    Try to disable your plugin.

    If something will help, you need to search, what make an exception.

  • EmployeeOcta Profile Picture
    EmployeeOcta on at
    RE: Why save is gone in infinite loop.

    Yes Joman,

    I have typed the error which i find in the system job.

  • joman Profile Picture
    joman 617 on at
    RE: Why save is gone in infinite loop.

    First of all, try to disable your plug-in and save. If it'll help, then problem is in it.

    When you can try debug it.

    [quote user="EmployeeOcta"]

    if (context.Depth > 1)

                   {

                       return;

                   }

    [/quote]

    This is not a reason of loop. If this will be a reason, then loop will be 8 or 12 times and then will be a error. I think, that it some else huge job in it.

  • EmployeeOcta Profile Picture
    EmployeeOcta on at
    RE: Why save is gone in infinite loop.

    while checking in system jobs getting below error.

    System.InvalidOperationException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #B62B1D14

    Plugin Trace:-

    Microsoft.Crm.Asynchronous.Workflow: Microsoft.Crm.Workflow.WorkflowExpansionPlugin.

    Error Message:

    Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: System.InvalidOperationException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #B62B1D14Detail:
    <OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
    <ErrorCode>-2147220970</ErrorCode>
    <ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
    <Message>System.InvalidOperationException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #B62B1D14</Message>
    <Timestamp>2017-06-29T06:06:35.0164431Z</Timestamp>
    <InnerFault i:nil="true" />
    <TraceText>[Microsoft.Crm.Asynchronous.Workflow: Microsoft.Crm.Workflow.WorkflowExpansionPlugin]
    [1539b512-0e10-e711-80ec-005056971933: ]
    </TraceText>
    </OrganizationServiceFault>
    at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.Execute(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode)
    at Microsoft.Crm.Extensibility.InprocessServiceProxy.ExecuteCore(OrganizationRequest request)
    at Microsoft.Crm.Workflow.WorkflowExpansionPlugin.Execute(IServiceProvider serviceProvider)
    at Microsoft.Crm.Asynchronous.V5ProxyPlugin.Execute(IServiceProvider serviceProvider)
    at Microsoft.Crm.Asynchronous.EventOperation.InvokePlugin(AsyncExecutionContext context, IPlugin pluginInstance)

  • EmployeeOcta Profile Picture
    EmployeeOcta on at
    RE: Why save is gone in infinite loop.

    Above code is in the create of another entity which is subgrid on the current form.

    so i believe above code is not to do anything with this.

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,711 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans