Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Issue registering Images through new CRM Developer Toolkit.

(0) ShareShare
ReportReport
Posted on by 265

There is a very odd issue with the Image Registration in the CRM Developer Toolkit.

I have a plugins project which deploys fine through CRM Developer Toolkit.

If I then remove all message processing steps and the assembly from the CRM organisation in order to do a 'clean slate' installation of all plugins, the deployment always fails at certain image registration steps, with no error message other than 'operation failed':

Registering Step (College Interview Pre Update) against Type name = ADSS.Plugins.CollegeInterview
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose: 16 :    ==>Executed Command - Create : Register Step : duration: 00:00:00.1185196
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose: 16 :    ==>Executed Command - RetrieveMultiple : Update Dates : duration: 00:00:00.0332684
Adding Image (PreImage) to plugin step - Typename = ADSS.Plugins.CollegeInterview
Deploy or Update operation Failed. Elapsed Time: 00:00:01.7947090

Completed CRM Deployment - Deploy Result: Failed - Ended At 12:07 - Elapsed Time: 00:00:20.8123669

If I then deploy the plugin again, either by selecting just the plugin that failed to deploy before or by redeploying all plugins, the deployment of that plugin completes without error, but then fails again at a subsequent image registration for another plugin.


So I can complete the entire process, but instead of being able to do this as a single action, it probably takes me 5-10 separate attempts (in a project with many plugins and images.)

*This post is locked for comments

  • Verified answer
    Ben Walker Profile Picture
    Ben Walker 265 on at
    RE: Issue registering Images through new CRM Developer Toolkit.

    Seems as if this is fixed in the latest version of the toolkit (1.3.2000.8884).

    Thanks MattB

  • Ben Walker Profile Picture
    Ben Walker 265 on at
    RE: Issue registering Images through new CRM Developer Toolkit.

    More info: More often than not, the only way to get round the problem is to register the failing plugins one-by-one. Once that's been completed successfully, the deployment tool is happy to move on to the next one, and registering everything a second or subsequent time works without any problems.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,430 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans