Notifications
Announcements
Is there a way to track the progress of uninstalling a solution? The solution delete is running for about 10 hours now. Appreciate a quick response. Thank you!
*This post is locked for comments
Hi Reshmid,
There really isn't a great way to track the progress of uninstalling a solution in Microsoft CRM, but what I usually do if you are using an OnPremise install, is to start a SQL Profiler trace on the SQL Server and ensure that you are including RPC Starting, RPC Completed, Batch Starting, and Batch Completed events. This way you can see the queries generated and should see some deletes of attributes and components related to the solution if it's truly still processing. The other thing that can sometimes happen is that there may have been SQL Blocking that caused the process to stop and the error didn't get bubbled back up to the application.
Hopefully this helps some.
Chad Rexin
Hi Chad,
Solution delete consumes lot of time and I think to start a SQL profiler trace may make it worse. Running the below scripts will tell if the deletion is running or it is hung.
select count(AttributeId) from attribute (nolock);
select count(EntityId) from Entity (nolock);
I like this as it is a nice light weight means of monitoring progress. It's not perfect, but maybe wrapping it in a loop, it could give a more automated means of monitoring the progress.
Chad
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
Thanks to all of our 2025 Community Spotlight stars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
ZS-27011425-0 1