.Net Profiler - Helper assembly is getting loaded twice for a process RRS feed

  • Question

  • Hi,

    I have registered the my profiler dll and also changed the environment variables to use my profiler dll. 

    After that When a request comes to a web application , the application is getting crashed . While looking into my logs i saw that the Helper assembly that has the function definitions that i inject is loaded twice for the same w3wp.exe . (i.e) they had been called ModuleLoadFinished function twice with different module id (same load address). 

    The last module that got loaded when it get crashed is my helper assembly (second time). Why this happens.? The OS is Windows server 2008 r2 and have .net frameworks till 4.5 . 

    ( I am also not sure that the two times loading of helper assembly is causing the crash of the web application that is being profiled. )

    Somewhere i learnt that this is the issue with CLR ..! I am still confused without a valid reason.


    • Edited by Selva VS Wednesday, September 2, 2015 9:39 AM
    Wednesday, September 2, 2015 9:38 AM


All replies