web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Using Plugin-Profiler throws error "0 bytes loaded from Microsoft.Crm.Sandbox.Helper"

(0) ShareShare
ReportReport
Posted on by 17
I am currently trying to use the Profiler for Dynamics CRM.
 
The Profiler was installed successfully by extracting the zip file from the CAB File and importing the solution.

Now when trying to profile a plugin step, for example "Create of contact" I get following error
"0 bytes loaded from Microsoft.Crm.Sandbox.Helper"

When trying to use the plugin without the profiler, it works as expected. I tried reinstalling the profiler using another version of the Plugin Regirstration Tool, but I get the same issue.
 
Exception Message: System.BadImageFormatException: Die Datei oder Assembly "0 bytes loaded from Microsoft.Crm.Sandbox.Helper, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" oder eine Abhängigkeit davon wurde nicht gefunden. Es wurde versucht, eine Datei mit einem falschen Format zu laden.
Dateiname: "0 bytes loaded from Microsoft.Crm.Sandbox.Helper, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" ---> System.BadImageFormatException: Ungültiges IL-Format.

   bei System.Reflection.RuntimeAssembly.nLoadImage(Byte[] rawAssembly, Byte[] rawSymbolStore, Evidence evidence, StackCrawlMark& stackMark, Boolean fIntrospection, Boolean fSkipIntegrityCheck, SecurityContextSource securityContextSource)
   bei System.Reflection.Assembly.Load(Byte[] rawAssembly, Byte[] rawSymbolStore, SecurityContextSource securityContextSource)
   bei Microsoft.Crm.Sandbox.SandboxAppDomainHelper.LoadPluginAssembly(Byte[] assemblyContents, Byte[] assemblySymbols)
   bei Microsoft.Crm.Sandbox.SandboxAppDomainHelper.LoadPluginAssembly(Byte[] assemblyContents, Byte[] assemblySymbols)
   bei Microsoft.Crm.Sandbox.SandboxAppDomain.LoadPluginAssembly(Guid pluginAssemblyId, Int32 pluginAssemblyHashCode, String assemblyName, Guid trackingId, Int32 depth, Boolean useDrawbridgeEnabled)
   bei Microsoft.Crm.Sandbox.SandboxWorker.ValidateAndGetAppDomainHelper(SandboxCallInfo callInfo, SandboxExecutionContext requestContext, Guid pluginAssemblyId, Guid pluginTypeId, Int32 sourceHash, String assemblyName, String pluginTypeName, SandboxTracker tracker, String coreFrameworkContext, SandboxRequestCounter& workerCounter)
   bei Microsoft.Crm.Sandbox.SandboxWorker.<>c__DisplayClass3_0.<Execute>b__0(): Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #29D79130

ErrorCode: -2147220970
HexErrorCode: 0x80040216

HelpLink: http://go.microsoft.com/fwlink/?LinkID=398563&error=Microsoft.Crm.CrmException%3a80040216&client=platform

TraceText: 
	[PluginProfiler.Plugins: PluginProfiler.Plugins.ProfilerPlugin]
	[386f70fb-cd58-f111-81ad-005056934d2a: Pluginname.CloseProcesses: Create of contact (Profiler)]

Aktivitäts-ID: 0555fb41-2fa2-4e4f-9cd6-0b7cea14d995

I have no idea what to test next, so I am grateful for any idea.

-Max 
 
I have the same question (0)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
11manish Profile Picture

11manish 85

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 76 Super User 2026 Season 1

#3
Subra Profile Picture

Subra 61

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans