Profiling a medium-trust ASP.NET application - get CoCreateInstance failure

Locked Profiling a medium-trust ASP.NET application - get CoCreateInstance failure

  • Tuesday, July 24, 2012 6:15 PM
     
     

    My profiler (using the ICorProfiler* implementation) cannot run against an ASP.NET application running in medium-trust level. The error is

     .NET Runtime version 4.0.30319.269 - Loading profiler failed during CoCreateInstance.  Profiler CLSID: '{FF68FEB9-E58A-4B75-A2B8-90CE7D915A26}'.  HRESULT: 0x8007007e.  Process ID (decimal): 772.  Message ID: [0x2504].

    I've looked at creating a custom .NET trust configuration file but cannot find any way to get around this problem. Does anyone know if there is a way to do this?

    Thanks,

     Bob

All Replies