lucasalexander / AlexanderDevelopment.ProcessRunner

This is an open source Dynamics CRM solution for scheduling and executing recurring workflows
http://alexanderdevelopment.net/
Apache License 2.0
24 stars 8 forks source link

Invalid Pointer Error #5

Open yleclerc opened 4 years ago

yleclerc commented 4 years ago

I am trying to run a recurring workflow every morning at 6am.

It should run against 1,200 records or so. But I fails after the first few instances of the workflow with that message: Invalid Pointer ValidateOpen - Encountered disposed CrmDbConnection when it should not be disposed

I have found some reference regarding this issue: http://burnignorance.com/ms-crm-app-development-tips/invalid-pointer-error-in-custom-workflow-in-ms-crm/

I tried to play with the page size, going from 10 to 2,000, but nothing works.

Thanks for your help!

ghost commented 4 years ago

I'm having exactly the same issue (8.2 on premise, you?). Did you find a workaround?

yleclerc commented 4 years ago

No luck so far. The problem seems to be intermittent. One day it works. The next day, it doesn't.

Yes, CRM 8.2 on-premise fur us too!