Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Microsoft Dataverse
Unanswered

Plugin Registration Tool unable to profile

(0) ShareShare
ReportReport
Posted on by 58

hello,

 

I installed the PRT and tried out my first hello world plugin. I can find my trace message via XRMToolBox. All good so far. However, when I try to profile the code to poke around the state of the context, the profiling fails to start -- although the trace message seems to store anyway. When I trigger the plugin with the profiler turned on, I get the following error:

An exception occurred during the initialization of the Plug-in Profiler.
Unhandled Exception: System.ArgumentNullException: Value cannot be null.
Parameter name: s
at System.Convert.FromBase64String(String s)
at PluginProfiler.Plugins.PluginLoaderUtility.RefreshAssembly(IOrganizationService service, ProfilerConfiguration config, PluginInitializationContext context)
at PluginProfiler.Plugins.PluginLoaderUtility.RefreshPluginInitializationContext(IOrganizationServiceFactory factory, ProfilerConfiguration config, PluginInitializationContext currentContext)
at PluginProfiler.Plugins.ProfilerBase`1.InitializeProfiler(Dictionary`2 services, T operationContext, ProfilerPluginContext& context)

 

I followed instruction in this post (https://community.dynamics.com/forums/thread/details/?threadid=552f18ba-5536-ee11-bdf4-002248244c88) to set LegacyPluginProfiler to false, too. Didn't do any good. Can I get some pointer, please?

 

My PRT version reads 9.0.0.9692 in the Help About dialog, but i think i have 9.1.0.187 sine this is what pac tool is printing. 

Categories:

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Microsoft Dataverse

#1
mmbr1606 Profile Picture

mmbr1606 22 Super User 2025 Season 1

#2
stampcoin Profile Picture

stampcoin 17

#3
ankit_singhal Profile Picture

ankit_singhal 11 Super User 2025 Season 1

Overall leaderboard

Featured topics