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

Report
All responses (
Answers (