Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Restoring database breaks plugins?

Posted on by Microsoft Employee

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

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Restoring database breaks plugins?

    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

  • Felippe Profile Picture
    Felippe 796 on at
    RE: Restoring database breaks plugins?

    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?

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans