Quick Nav:  Online Store   |   Login | Register

Operation could destabilize the runtime

Rate this topic:

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
AuthorMessages
Paul Hallam
<20 Posts
Posts:7


12/30/2006 3:57 AM  

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!

John Mitchell
Posts:3353


12/30/2006 10:46 AM  
Thanks for making me aware of this. Yes, I'm using reflection to "plug-in" the DNN user provider. I'll probably have to give people another option if they only have medium trust.
Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
Forums >Snapsis Product Support >PageBlaster > Operation could destabilize the runtime



ActiveForums 3.7
Powered by: Snapsis Software