System.Web.HttpException: Filtering is not allowed.

Last post 07-01-2009, 5:34 AM by Kenneth. 25 replies.
Page 1 of 2 (26 items)   1 2 Next >
Sort Posts: Previous Next
  •  02-02-2008, 2:25 PM 36749

    System.Web.HttpException: Filtering is not allowed.

    I have an instance of CuteEditor on a page with web controls that use AJAX .NET.  When I interact with one of these web controls (like, say, pressing a link button) I get a hard exception from Cute Editor :
     
    System.Web.HttpException: Filtering is not allowed.
       at System.Web.HttpResponse.set_Filter(Stream value)
       at CuteEditor.Impl.ResourceContext..ctor(HtmlTextWriter htmlwriter, HttpContext httpContext, NameValueCollection nvc)
       at CuteEditor.Editor.a.a.g(HtmlTextWriter A_0)
       at CuteEditor.Editor.a.a.h(HtmlTextWriter A_0)
       at CuteEditor.Editor.Render(HtmlTextWriter writer)
       at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
       at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
       at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
       at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
       at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
       at System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer)
       at System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer)
       at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
       at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
       at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
       at System.Web.UI.PageRequestManager.RenderFormCallback(HtmlTextWriter writer, Control containerControl)
       at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
       at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
       at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer)
       at System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output)
       at System.Web.UI.Adapters.ControlAdapter.Render(HtmlTextWriter writer)
       at Intelligencia.UrlRewriter.FormRewriterControlAdapter.Render(HtmlTextWriter writer)
       at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
       at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
       at System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer)
       at System.Web.UI.HtmlFormWrapper.System.Web.UI.IHtmlForm.RenderControl(HtmlTextWriter writer)
       at System.Web.UI.PageRequestManager.RenderPageCallback(HtmlTextWriter writer, Control pageControl)
       at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
       at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
       at System.Web.UI.Page.Render(HtmlTextWriter writer)
       at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
       at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
       at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
     

    What's the problem here?
  •  03-12-2008, 10:49 AM 37868 in reply to 36749

    Re: System.Web.HttpException: Filtering is not allowed.

    Try adding this to the app settings:
     
    <add key="CuteEditorEnableGZip" value="False" />
     
    Keep me posted

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  03-18-2008, 5:46 PM 38112 in reply to 37868

    Re: System.Web.HttpException: Filtering is not allowed.

    I am also receiving a similar error in IE 6, from the CuteEditor instance.  I get a client side debug error:
     
    Sys.WebForms.PageRequestManagerServerErrorException: Filtering is not allowed
     
    Any ideas?

  •  03-18-2008, 6:45 PM 38114 in reply to 38112

    Re: System.Web.HttpException: Filtering is not allowed.

    Try adding this to the app settings:
     
    <add key="CuteEditorEnableGZip" value="False" />
     
    Keep me posted
      

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  03-19-2008, 6:56 AM 38140 in reply to 38114

    Re: System.Web.HttpException: Filtering is not allowed.

    That does not correct the issue.  Any other ideas?
  •  03-19-2008, 11:55 AM 38150 in reply to 38140

    Re: System.Web.HttpException: Filtering is not allowed.

    acer152,
     
    Are you sure you add this option into the correct web.config using by the application?
     
    It's the only possible reason which caused this issue.

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  03-19-2008, 2:17 PM 38159 in reply to 38150

    Re: System.Web.HttpException: Filtering is not allowed.

    I am updating the only web.config for the site, in the site root.  Should there be one specific to CuteSoft?
     
    Also, notice the difference in error message:
     
    System.Web.HttpException
     
    vs.
     
    Sys.WebForms.PageRequestManagerServerErrorException: Filtering is not allowed  (the one I get)
     
    Not sure if that makes a difference for your answer.
     

  •  03-20-2008, 7:15 AM 38190 in reply to 38150

    Re: System.Web.HttpException: Filtering is not allowed.

    Any other ideas what might be causing this message?  Thanks!
  •  03-20-2008, 8:22 PM 38217 in reply to 38190

    Re: System.Web.HttpException: Filtering is not allowed.

    I get the same error when I insert the editor inside an MS AJAX <edititemtemplate> of the ReorderList control.
     
    Issue resolved.....
  •  03-21-2008, 8:14 PM 38253 in reply to 38217

    Re: System.Web.HttpException: Filtering is not allowed.

    Please post your resolution...
  •  03-22-2008, 7:21 AM 38258 in reply to 38253

    Re: System.Web.HttpException: Filtering is not allowed.

    I had cuteeditor wraped in an updatepanel, one of three updatepanels on my page.  When I removed the updatepanel specific to the editor and used only one for the entire page the error went away. 

  •  03-22-2008, 7:58 AM 38259 in reply to 38258

    Re: System.Web.HttpException: Filtering is not allowed.

    Adam - Do you have any comments on this?  Seems that UpdatePanels should not cause this error.  I have UpdatePanels as well, but not on the editor.
     
    Actually, I don't have any UpdatePanels on the page this is occuring.  I have a couple frames with update panels in them, but not the actual page.   I have the Cute Editor inside a <formview>, but no UpdatePanels.
     
    Any ideas?
  •  03-29-2008, 10:09 AM 38454 in reply to 38259

    Re: System.Web.HttpException: Filtering is not allowed.

    Buehler....?
  •  04-10-2008, 8:13 AM 39024 in reply to 38454

    Re: System.Web.HttpException: Filtering is not allowed.

    I also have this problem when trying to use more than one updatepanel.  I originally had 2 sets of GridViews/DetailsViews controls each set in a separate updatepanel.  This worked ok until I incorporated the CuteEditor. Then I got the error messages. Once I used only one updatepanel for both sets the problem went away.  It's not ideal, but it's what I had to do to get it to work.
  •  04-10-2008, 9:11 AM 39037 in reply to 39024

    Re: System.Web.HttpException: Filtering is not allowed.

    hbielich,
     
    Can you create a simple aspx page showing the problems and send it to me?
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  04-10-2008, 6:20 PM 39063 in reply to 39037

    Re: System.Web.HttpException: Filtering is not allowed.

    Adam,
    I worked all morning to make a "Simple" page to do what I described in the previous post - by trying to duplicate the error by placing each GridView/DetailsView set in it's own updatepanel.
    It now seems to be working properly though!  The main difference between the "Simplified" version and the one I had trouble with, is that the page that came up with the error used a master page.  I am not sure if that is the problem yet though.  There is so much to keep track of in the aspx code that I need to go over it in very fine detail again to see if I can determine the cause. I will come back with my findings when done. At least I have discovered the value of those expand/contract (+,-)markers in the margin to help visualize specific sections of code.
    Anyway, it at least looks like there is no problem when not using MasterPages.  We'll see if that's the problem...
     
    PS
      There still is a problem with the DetailsViews controls in design mode showing "There was an error rendering rhe control. Exception has been thrown by the target of an invocation.  But they do function properly. 
  •  04-10-2008, 6:55 PM 39065 in reply to 39063

    Re: System.Web.HttpException: Filtering is not allowed.

    Adam,
      I just constructed a page using a MasterPage and incorporated the "simplified" version.  Everything appears to be working properly, so the problem I saw earlier must have been with some code error I made - My Bad!
    Still get the rendering error, but I'm happy with the correct functionality.
  •  04-11-2008, 9:59 AM 39101 in reply to 39065

    Re: System.Web.HttpException: Filtering is not allowed.

    hbielich,
     
    We've located this problem and will fix this issue in the new version. Sorry for the inconvenience.

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  04-11-2008, 11:31 AM 39106 in reply to 39101

    Re: System.Web.HttpException: Filtering is not allowed.

    I'm glad you found it!  I thought it was in my code because when I made the simplest version it worked ok, but I've been trying like heck to find the problem with my code in the more complex versio, but have had no success.  I will now put each update panel on its own page.  Hopefully there won't be a problem with that.
    How long before the newv ersion comes out?
  •  04-26-2008, 9:42 PM 39781 in reply to 39037

    Re: System.Web.HttpException: Filtering is not allowed.

    I've got this error as well.  But it only started happening when I converted my project from Visual Studio 2005 to Visual Studio 2008?   Anyway I have uploaded a new Visual Studio 2008 project I created that reproduces the problem.  Note the problem only happens in IE7 with Tools | OPtions | Advanced | Browsing | Disable Script Debugging (IE) is UNTICKED (that is it enables script debugging)... so normally you wouldn't see it.  
     
    Could you please have a look at this ASAP.  Thanks.
Page 1 of 2 (26 items)   1 2 Next >
View as RSS news feed in XML