CAS error using Row and Cell properties pop-up windows

Last post 06-28-2007, 11:54 AM by Adam. 3 replies.
Sort Posts: Previous Next
  •  06-14-2007, 8:03 AM 30723

    CAS error using Row and Cell properties pop-up windows

    I have the CuteEditor dll (ver 6.0) installed in the bin of my application.  I have a custom CAS policy for my web application and I continue to get CAS security errors.  I have worked through most of them, but one still remains when I try to add a Hyperlink or click on the Table Row or Cell properties buttons:
     
    Unfortunately, I cannot copy and paste the ASP.NET error because it is in the pop-up box for the Table Row/Cell properties, but the stack trace begins like this:
     
    [Argument Excetion: Bad XML Unrestricted]
    System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) +0
     
    I have found that the Bad XML Unrestricted message indicates a bubbling up of a CAS error.  I have worked through a number of these errors before with CuteEditor, but they all end up boiling down to this error.
     
    Do you know the set of permissions that CuteEditor needs for running with a custom CAS policy file?  I cannot apply fulltrust to this assembly due to security restrictions with my deployment.
  •  06-14-2007, 11:02 AM 30745 in reply to 30723

    Re: CAS error using Row and Cell properties pop-up windows

    sterlecki,
     
    >>but one still remains when I try to add a Hyperlink or click on the Table Row or Cell properties buttons:
     
    It's very strange. Does it only happen to those three dialogs?
     
    >>Unfortunately, I cannot copy and paste the ASP.NET error because it is in the pop-up box for the Table Row/Cell properties, but the stack trace begins like this:
     
    Try using firefox and you will can copy the detailed error messages.
     
    >>Do you know the set of permissions that CuteEditor needs for running with a custom CAS policy file?
     
    Medium trust should be ok.
     
    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

  •  06-28-2007, 11:25 AM 31164 in reply to 30745

    Re: CAS error using Row and Cell properties pop-up windows

    Sorry for the delay in getting back to you.

    Those weren't the only dialogs that had the problem.  We also had a similar problem with the image editor but ended up disabling that button because it didn't fit the needs of our website.

    I tried using firefox and the table buttons don't work in the version I have (2.0.0.4).  No error message, no pop-up, nothing.

    We have a fully custom policy file for our web application to ensure control over the assemblies that are being used within.  We are building a platform for other developers to work off of as well, so we need to be sure that we have the most control over Code Access Security.

    Do you have any other ideas that I can try?

    P.S. I tried using the table tags in the control for this forum (obviously cuteeditor) and I don't have any trouble in firefox.  Is there a config file or CSS class that I am missing?

    Filed under:
  •  06-28-2007, 11:54 AM 31166 in reply to 31164

    Re: CAS error using Row and Cell properties pop-up windows

    >>P.S. I tried using the table tags in the control for this forum (obviously cuteeditor) and I don't have any trouble in firefox.  Is there a config file or CSS class that I am missing?
     
    Can you download the latest build and try again?
     
     
    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

View as RSS news feed in XML