Problem with all pop-ups

Last post 08-28-2009, 8:56 AM by cutechat. 3 replies.
Sort Posts: Previous Next
  •  08-26-2009, 2:00 PM 55078

    Problem with all pop-ups

    Hi
    I'm having some weird ( or maybe not ) problems with my editor.
     
    If I hit a button with a popup ( insert image, insert link, insert downloadable file ... and so on ) all I get is an error message inside the new window :
    CS0246: The type or namespace name 'Mysql' could not be found (are you missing a using directive or an assembly reference?)
     
    It refers to the lines in my web.config where the assemblys mysql.data and mysql.data.mysqlclient is being added.
    Weird because the rest of my project works fine.
     
    <add namespace="CuteEditor"/>
    <
    add namespace="CS.WebControls"/>
    <
    add namespace="Mysql.Data"/>
    <add namespace="Mysql.Data.MysqlClient"/>
    <
    add namespace="System.Data.SqlClient"/>
     
    It is the second added assembly that causes the problem, but if i delete that line the first mysql-line will cause the same problem.
     
    Does anyone know what I did wrong ? Heeelp :)
     
    Best Regards
    Ulrik
  •  08-27-2009, 10:44 AM 55109 in reply to 55078

    Re: Problem with all pop-ups

    Ulrik,
     
    Have you modified the dialog or your program modified the dialog?
     
    Can you check the code of insert_emotion.aspx?
     
    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

  •  08-28-2009, 6:55 AM 55140 in reply to 55109

    Re: Problem with all pop-ups

    No - I didn't change anything
     
    I can't find insert_emotion.aspsx anywhere. Acually the emoticon, and special symbol popups works fine. But they are both htm-files.
     
    This is a part of the link for the Inserdocument.aspx popup
    ........CuteSoft_Client/CuteEditor/Dialogs/InsertDocument.aspx?setting=!3wEWBAUCZGEFAyRhMRUGGXNlY3VyaXR5OkltYWdlR2FsbGVyeVBhdGgZc2VjdXJpdHk6SW1hZ2VCcm93c2VyUGF0aBlzZWN1cml0eTpNZWRpYUdhbGxlcnlQYXRoGXNlY3VyaXR5OkZsYXNoR2FsbGVyeVBhdGgZc2VjdXJpdHk6RmlsZXNHYWxsZXJ5UGF0aBxzZWN1cml0eTpUZW1wbGF0ZUdhbGxlcnlQYXRoFQYKfi9iaWxsZWRlcgp!1L2JpbGxlZGVyCn4vYmlsbGVkZXIKfi9iaWxsZWRlcgp!1L2JpbGxlZGVyCn4vYmlsbGVkZXK97YERv5pgBk8Kte70HIAiPCH5LQ!2!2&Theme=Office2003">/CuteSoft_Client/CuteEditor/Dialogs/InsertDocument.aspx?setting=!3wEWBAUCZGEFAyRhMRUGGXNlY3VyaXR5OkltYWdlR2FsbGVyeVBhdGgZc2VjdXJpdHk6SW1hZ2VCcm93c2VyUGF0aBlzZWN1cml0eTpNZWRpYUdhbGxlcnlQYXRoGXNlY3VyaXR5OkZsYXNoR2FsbGVyeVBhdGgZc2VjdXJpdHk6RmlsZXNHYWxsZXJ5UGF0aBxzZWN1cml0eTpUZW1wbGF0ZUdhbGxlcnlQYXRoFQYKfi9iaWxsZWRlcgp!1L2JpbGxlZGVyCn4vYmlsbGVkZXIKfi9iaWxsZWRlcgp!1L2JpbGxlZGVyCn4vYmlsbGVkZXK97YERv5pgBk8Kte70HIAiPCH5LQ!2!2&Theme=Office2003
     
    And the code in the top ( I'm not sure if that was what you were asking for ??? )
    <%@ Page Language="C#" Inherits="CuteEditor.Dialogs.FileBrowserPage" %>
    <%
    @ Register TagPrefix="CE" Assembly="CuteEditor" Namespace="CuteEditor" %>
    <script runat="server">
    override
    protected void OnInit(EventArgs args)
    {
    if(Context.Request.QueryString["Dialog"]=="Standard")
    {

    if(Context.Request.QueryString["IsFrame"]==null)

    {

    string FrameSrc="InsertDocument.Aspx?IsFrame=1&"+Request.ServerVariables["QUERY_STRING"];

    CuteEditor.CEU.WriteDialogOuterFrame(Context,"[[InsertDocument]]",FrameSrc);

    Context.Response.End();

    }

    }

    base.OnInit(args);

     

    InputFile.ValidateOption.MaxSizeKB=secset.MaxDocumentSize;

    InputFile.ValidateOption.AllowedFileExtensions=string.Join(",",(string[])secset.DocumentFilters.ToArray(typeof(string)));

    }

    </script>

  •  08-28-2009, 8:56 AM 55144 in reply to 55078

    Re: Problem with all pop-ups

    Ulrik,
     
    Maybe you set the editor directory to IIS Application by mistake.
     
    Your case is so strange, can you post more screen shot rather than the error message ?
     
    Regards,
    Terry
     
View as RSS news feed in XML