Profiling ASP.NET: Operation could destabilize the runtime
jaap.q42
Posts: 36 Bronze 2
I have a depency on Common.Logging.2.1.0.0 which wasn't release so I built it myself from github.
I'm getting the VerificationException Operation could destabilize the runtime. exception which I've already found on these forums.
Running IIS7 on Windows 7 .NET 4, using ANTS Performance Profiler 6.3 Prof.
I've been able to do this:
* <system.web><trust level="Full"/>
* got profiling working with method timings only
* Altered The Common.Logging dll (since I already built it myself) to include [assembly: System.Security.SecurityRules(System.Security.SecurityRuleSet.Level1)] instead of [assembly: SecurityTransparent]
The line which was reported by the exception seems stange:
Line 86: public static readonly string COMMON_LOGGING_SECTION = "common/logging";
although ANTS might be doing things there to make the line numbers all weird.
Related to:
http://www.red-gate.com/messageboard/vi ... hp?t=11404
I'm getting the VerificationException Operation could destabilize the runtime. exception which I've already found on these forums.
Running IIS7 on Windows 7 .NET 4, using ANTS Performance Profiler 6.3 Prof.
I've been able to do this:
* <system.web><trust level="Full"/>
* got profiling working with method timings only
* Altered The Common.Logging dll (since I already built it myself) to include [assembly: System.Security.SecurityRules(System.Security.SecurityRuleSet.Level1)] instead of [assembly: SecurityTransparent]
The line which was reported by the exception seems stange:
Line 86: public static readonly string COMMON_LOGGING_SECTION = "common/logging";
although ANTS might be doing things there to make the line numbers all weird.
Related to:
http://www.red-gate.com/messageboard/vi ... hp?t=11404
Comments
However,
DELETING the PDB files worked, obviously, because I only want methods with source, so when I removed the pdb file, ANTS has no way to find the source!