Quantcast
Channel: Common Language Runtime Internals and Architecture forum
Viewing all articles
Browse latest Browse all 1710

Loading profiler failed.

$
0
0

I have implemented a sample Profiler. But the dll which is getting loaded gets crashed. And event viewer log says this message.

.NET Runtime version 4.0.30319.18449 - Loading profiler failed. There was an unhandled exception while trying to instantiate the profiler COM object. Please ensure the CLSID is associated with a valid profiler designed to work with this version of the runtime. Profiler CLSID: '{9AB88800-18E8-42F0-8F8D-E022AE3C4517}'. Process ID (decimal): 3796. Message ID: [0x250f].

I am trying to run this application on IIS 8.
I verifies that path to the dll is been given correct and also the variables
COR_ENABLE_PROFILING=1
COR_PROFILER={9AB88800-18E8-42F0-8F8D-E022AE3C4517}
COMPLUS_ProfAPI_ProfilerCompatibilitySetting=EnableV2Profiler

were also present and using Process Explorer am able to see w3wp process using these values.
Does that error mean profiling dll is compiled with wrong version?
This profiler is working fine without crashing when I use it in IIS 7. Does this have to do anything with IIS ?



Viewing all articles
Browse latest Browse all 1710

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>