access denied error when trying to insert a link, picture or flash

Last post 06-24-2009, 3:29 AM by yuvika. 23 replies.
Page 1 of 2 (24 items)   1 2 Next >
Sort Posts: Previous Next
  •  04-20-2009, 3:41 PM 51283

    access denied error when trying to insert a link, picture or flash

    Hello,
     
    We are using CuteEditor as part of our software package which is integrated with SalesForce.  As a result, users can access our application from an iFrame within the SalesForce application.
     
    The problem we are running into is that when we try to click any of the icons at the top of the window (ie insert link, insert flash etc) we get an access denied message.
    We are using CuteEditor 6.3.0.0 (we just upgraded from an earlier version which did not have this issue).
     
    A screenshot of the problem is at:
    http://nmltest.com/troubleshooting/cuteeditorerror.jpg
     
    A screenshot of the debugging window is at:
     http://nmltest.com/troubleshooting/cuteeditorerror_JavaScript.jpg
     
    Please let me know how i can troubleshoot/resolve this issue.
     
    Thank you,
     
    Dragos
  •  04-20-2009, 4:13 PM 51284 in reply to 51283

    Re: access denied error when trying to insert a link, picture or flash

    Dragos,
     
    We are investigating this issue and will get back to you as soon as possible.
     
    At the same time,  please use the standard dialog.
     
    Demo:
     

    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-24-2009, 3:39 AM 51490 in reply to 51284

    Re: access denied error when trying to insert a link, picture or flash

    Hi
     
    There is also the problem with the display of toolbar in case of salesforce as it is opened in iframe.Otherwise the toolbar appears to be ok in my application.Before in previous version it was dislayed correctly. I have tried rolling back all the css's but it does not effect the view it is now.
     
    This is how it is displayed in salesforce:
     
     
    What could be the problem??.And how can I resolve it.Please reply.
     
    Thanks and Regards
    Yuvika
     
     
  •  04-29-2009, 11:57 PM 51682 in reply to 51490

    Re: access denied error when trying to insert a link, picture or flash

    Hi,
     
    Is there any solution?????????.My client is waiting for the release and we are stuck with cute editor issues.Is there anyone who knows how can I resolve the above issue.??
     
    Thanks and Regards
    Yuvika
  •  04-30-2009, 1:18 AM 51683 in reply to 51682

    Re: access denied error when trying to insert a link, picture or flash

  •  04-30-2009, 1:53 AM 51685 in reply to 51683

    Re: access denied error when trying to insert a link, picture or flash

    May be yes, as application is being called in salesforce. Do you think calling our application (which has cute editor) in salesforce is causing the issue? If yes, wat could be the solution?
     
    Thanks,
    Yuvika
  •  04-30-2009, 2:04 AM 51686 in reply to 51685

    Re: access denied error when trying to insert a link, picture or flash

    No its not a domain issue, as i tested my application by opening it in an iframe, so i guess this is an iframe issue.
     
    Thanks
    Yuvika
  •  04-30-2009, 7:57 AM 51694 in reply to 51686

    Re: access denied error when trying to insert a link, picture or flash

    We found the problem is in IE Implementation.js file by temporarily replacing the IE implementation file from an older version and doing so would fixes the issue mentioned. So there could be some issue in the latest IE implementation file.
     
    Please check the file and update us.
     
    Thanks,
    Shaveta
     
  •  04-30-2009, 11:06 AM 51705 in reply to 51694

    Re: access denied error when trying to insert a link, picture or flash

    Shaveta,
     
    Are you using the standard dialog for this situation?

    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-30-2009, 11:25 AM 51710 in reply to 51705

    Re: access denied error when trying to insert a link, picture or flash

    Hi Adam,
     
    Yes we are using standard dialog design.The popups are standard design as mentioned in the above response to dragos that solves the permission denied problem.
    But our problem is with the toolbar dropdowns in the main cute editor window which are nt displayed corectly.
    Even we have tried opening the cuteeditor locally in iframe and this gives us the same problem tht verifies that this is nt the domain issue.What I guess is that the cute editor implementation file implements the stylesheet.
    I will try removing the stylesheet tomorrow.I mean I will try removing the theme property from the cute editor.May b this solves the problem.Any other suggesion is highly appreciated.
    Thanks for the constant reply.
     
    Thanks,
    Yuvika
  •  04-30-2009, 1:19 PM 51717 in reply to 51710

    Re: access denied error when trying to insert a link, picture or flash

    Yuvika,
     
    1. Did you receive any error message?
     
    2. Can you try the following simple configuration?
     
    1. <%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %>  
    2. <%@ Page language="c#"%>  
    3. <html>  
    4.     <head>  
    5.     </head>  
    6.     <body>  
    7.         <form id="Form1" method="post" runat="server">  
    8.             <CE:EDITOR id="Editor1" Autoconfigure="Simple" runat="server"></CE:EDITOR>  
    9.         </form>  
    10.     </body>  
    11. </html>  

    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

  •  05-01-2009, 3:49 AM 51733 in reply to 51717

    Re: access denied error when trying to insert a link, picture or flash

    Hi Adam,
     
    No we didn't recieve any error message.
    We have tried the simple configuration. Also we have tried removing the theme from cute editor, but still the same issue is there.  There might be some code differences in the IE implementation file of the older version and the new version. Please check the differences in the code and update us.
     
    Thanks in advance.
    Shaveta
  •  05-03-2009, 11:15 AM 51768 in reply to 51733

    Re: access denied error when trying to insert a link, picture or flash

    Hi,
     
    Can u replicate this???.
    Any solution????
     
    Thanks
    Yuvika
  •  05-04-2009, 10:23 AM 51787 in reply to 51768

    Re: access denied error when trying to insert a link, picture or flash

    Hi Yuvika,
     
    Can you sent the URL or your site and a test account to me? I want to test that page.
     
     
    Regards,
     
    Ken
  •  05-06-2009, 4:41 AM 51869 in reply to 51787

    Re: access denied error when trying to insert a link, picture or flash

    Hi Ken,
     
    I have mailed you the website link.
    Please go throught the page and let me knw how can I resolve this issue.
     
    Thanks
    Yuvika
  •  05-06-2009, 6:32 AM 51871 in reply to 51869

    Re: access denied error when trying to insert a link, picture or flash

    Hi Ken,
     
    Also I am getting access denied error in case of salesforce. when I try to scroll teh cute editor.
    Please reply.
     
    Thanks and Regards
    Yuvika
  •  05-07-2009, 11:26 PM 51950 in reply to 51871

    Re: access denied error when trying to insert a link, picture or flash

    Hi Ken,
     
    Have you got a chance to see the issue. Can you replicate it now?????????.
    Yes I have few more queries:
    1.Cute editor in update panel+modal popup also does not work.Gives a lot of javascript errors.Error: "null or not an object at line 0"
    2. How can I clear the cute editor in javascript?. I have used the code
    editor.setHtml("");
    and then I paste some html in it.It works but sometimes the cute editor text gets appended with the prevoius text in cute editor. My cute editor is in update panel.Is the update panel creating the issue??
    3. How can I change the view's of cute editor from "Preview" to "normal" or "html" to "normal".
    I have used the code:
    function ClearPurpose()
    {
     
    var editor1 = document.getElementById('<%= UnSubscribeEditor1.ClientID %>');
     
    try {

    editor1.ExecCommand("TabCode");

    editor1.ExecCommand("TabEdit");

    event.cancelBubble = true;

    } catch (e) { };

    }

    What I want is whenever the user opens a cute editor in my modal popup window the cute editor text should be the the text what I am going to edit. That text to be edited, I paste it in cute editor and before this I clear the cute editor text using the code snippet added above. But sometimes text gets appanded with the previous text and sometimes it works fine. My requirement also says that whenever the cute editor is opened the "normal" view should be selected. Even if the user has closed it with "preview" or "html" view.It works but sometimes it does not.
     
    Hope I am clear with my problem.Thanks in advance.
     
    Thanks and Regards
    Yuvika
  •  05-11-2009, 2:38 AM 52024 in reply to 51950

    Re: access denied error when trying to insert a link, picture or flash

    Hi Ken,
     
    Have you got a chance to visit the link???
     
    Thanks
    Yuvika
  •  05-11-2009, 9:19 AM 52039 in reply to 52024

    Re: access denied error when trying to insert a link, picture or flash

    Hi yuvika,
     
    we still working on this, we will get back to you as soon as possible.
     
    Regards,
     
    Ken
  •  05-13-2009, 3:00 AM 52106 in reply to 52024

    Re: access denied error when trying to insert a link, picture or flash

    Hi Yuvika,
     
    Download the latest version and try this example:
     
    Download:
     
     
    ------------------------------------------------------------------------------------------------->

    <%@ Page Language="C#" %>

    <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
    <%@ Register TagPrefix="CuteEditor" Namespace="CuteEditor" Assembly="CuteEditor" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title>test</title>

        <script runat="server">
                protected void close_Click(object sender, EventArgs e)
            {
                ModalPopupExtender1.Hide();
            }
        </script>
    <script>
    function closeClick()
    {
    var editor1 = document.getElementById('<% = Editor1.ClientID%>');
    editor1.SetHTML('');
    editor1.ExecCommand("TabEdit");
    }

    </script>
    </head>
    <body>
        <form id="form1" runat="server">
        <div>
            <asp:ScriptManager ID="ScriptManager1" runat="server">
            </asp:ScriptManager>
            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                <ContentTemplate>
                    <ajaxToolkit:ModalPopupExtender ID="ModalPopupExtender1" runat="server" PopupControlID="panel1"
                        TargetControlID="edit">
                    </ajaxToolkit:ModalPopupExtender>
                    <asp:Panel ID="panel1" runat="server">
                        <CuteEditor:Editor ID="Editor1" runat="server">
                        </CuteEditor:Editor>
                        <asp:Button ID="close" Text="Close" runat="server" OnClick="close_Click" OnClientClick="closeClick()" />
                    </asp:Panel>
                    <asp:Button ID="edit" runat="server" Text="Edit" />
                </ContentTemplate>
            </asp:UpdatePanel>
        </div>
        </form>
    </body>
    </html>

     ------------------------------------------------------------------------------------------------->
     
    Regards,
     
    Ken
Page 1 of 2 (24 items)   1 2 Next >
View as RSS news feed in XML