locked
Long running server side code RRS feed

  • Question

  • Hi all,

    What are the possible options for the server side code that might take more than few minutes to complete? I googled and found that plugins and custom workflow activities have 2 minutes limit for CRM Online instances.

    Exception when timeout occurs:

    The plug-in execution failed because the operation has timed-out at the Sandbox Client.
    System.TimeoutException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #B02E0D0E


    blog: <a href="http://technologynotesforyou.wordpress.com">http://technologynotesforyou.wordpress.com</a> | skype: ali.net.pk


    • Edited by Khadim Ali Friday, April 17, 2015 1:48 PM
    Friday, April 17, 2015 1:34 PM

All replies

  • Hi,

    Better to go with the option of Custom Web-service.

    Regards


    Ayaz

    Wednesday, April 22, 2015 11:21 AM
  • Well.

    I implemented paging in QueryExpression to process batch of records while in each session.

    Ref: Page large result sets with QueryExpression

    Regards,


    blog: <a href="http://technologynotesforyou.wordpress.com">http://technologynotesforyou.wordpress.com</a> | skype: ali.net.pk

    Tuesday, May 5, 2015 12:07 PM