I installed PageBlaster V2 on my home machine and it works. I installed it on my hosted production site and got: Operation could destabilize the runtime.Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Security.VerificationException: Operation could destabilize the runtime.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Stack Trace:
<pre>[VerificationException: Operation could destabilize the runtime.]
Snapsis.DNN.PageBlaster.DNNFilterProvider.ReplaceUserInfo(String sourceText) +123
Snapsis.DNN.PageBlaster.DNNFilterProvider.ReplaceDNNInfo(String sourceText) +121
Snapsis.DNN.PageBlaster.DNNFilterProvider.Write(String inputHtml) +418
Snapsis.HttpModules.PageBlaster.PageReplacementsFilter.Write(Byte[] buffer, Int32 offset, Int32 count) +1365
System.Web.HttpWriter.Filter(Boolean finalFiltering) +251
System.Web.HttpResponse.FilterOutput() +60
System.Web.HttpApplication.ResumeSteps(Exception error) +539
System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) +144
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +403
pre> |
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210 Googling this error message suggested it relates to the Medium trust level, so on my home machine I uncommented trust level="Medium"
in web.config and I can now reproduce the error here. PageBlaster V1.4.1 worked fine on this site before I tried to upgrade. Just added trust level="Full" to my hosted web.config. Didn't expect to be able to over-ride the site defaults, but it works! |