Shane Bartholomeusz

Geek and lover of all things tech related

Month: August 2018

Fix: Unable to Uninstall CRM Profiler

Problem

While trying to debug a new custom workflow plugin in my Dynamics 365 environment I encountered the below error.CRM Profiler Error Continue reading

Fix NullReferenceException in CRM Plugin Registration Utility

Problem

If you encounter the below error when in Dynamics CRM while trying to profile a custom workflow plugin using the CRM Plugin Registration utility

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.

at PluginProfiler.Library.WorkflowXamlUtility.InstrumentStep(XmlNode activityNode, XmlNamespaceManager ns, InstrumentedStepConfiguration step, String workflowAssemblyName)

at PluginProfiler.Library.WorkflowXamlUtility.InstrumentXaml(CrmServiceClient service, String xaml, IList`1 steps)

at PluginProfiler.Library.ProfilerManagementUtility.EnableWorkflow(CrmServiceClient service, String overrideKeyFileName, Guid workflowId, Boolean persistToEntity, String persistenceSessionKey, Boolean includeSecureInformation, Boolean isContextReplay, CustomActivityStep[] workflowSteps)

at Microsoft.Crm.Tools.PluginRegistration.CommonControls.ProfilerSettingsViewModel.btnOk_Click()
System.NullReferenceException CRM Plugin Registration Screenshot
Continue reading

© 2025 Shane Bartholomeusz

Theme by Anders NorenUp ↑