How can we help you today? How can we help you today?

Operation could destabilize the runtime

Hello

I use Ants Profiler since some years to profile SharePoint and everything is fine.
But since version 8.2 I'm not able to profile SharePoint 2013.

Each time I "start profiling" the system will start correctly and then I have "Operation could destabilize the runtime" error in SharePoint.

Everything works fine if I don't use ANTS Profiler !

Does someone has the same problem?

Regards

Cédric
cedric.petter
0

Comments

2 comments

  • Chris.Allen
    This is what Microsoft say about profiling and latest sharepoints. I hope it might help:


    // Uncomment the following SecurityPermission attribute only when doing Performance Profiling on a farm solution
    // using the Instrumentation method, and then remove the SecurityPermission attribute when the code is ready
    // for production. Because the SecurityPermission attribute bypasses the security check for callers of
    // your constructor, it's not recommended for production purposes.
    // [System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityAction.Assert, UnmanagedCode = true)]
    Chris.Allen
    0
  • cedric.petter
    Hi Chris

    Thanks for your answer.
    But I don't know where I have to uncomment this code !
    I don't have this in all my code !

    Regards
    cedric.petter
    0

Add comment

Please sign in to leave a comment.