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)

Restoring database breaks plugins?

(0) ShareShare
ReportReport
Posted on by

Hello, 

I have a client who ran a plugin step which worked. Afterwords they took a snapshot of the database. Then later they restored the database and suddenly the plugin step which was working previously suddenly stops working. After setting up the plugin registration tool I walked through the code itself and it hit every line it was suppose to. In other words, the plugin step's job was to update a status of the entity. Walking through the code I was able to see it hit the line of the code that updated the status of the entity. But upon refreshing the page the entity doesn't seem to have updated the status and remains unchanged. This is a pre-operation step in Dynamics 2016 on-premise. I noticed also that the post-operation steps were not getting fired due to the profiler not logging any entries for those steps. I was wondering if anyone had a possible idea about what could have happened during the data restore that caused plugins to not work or get fired. Or a possible direction to go forward in.

*This post is locked for comments

I have the same question (0)
  • Felippe Profile Picture
    796 on at

    If you have the last version of plugin code,you can try unregister and register the plugin steps, to force a refresh.

    Your plugin are registered on database or GAC?

  • Community Member Profile Picture
    on at

    The plugins were registered in the database, It wasn't the issue apparently after some hours of debugging the solution presented itself but just restarting the async servers and  a restore the database to a previous point thank you  for your suggestions

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