Using the Cute Editor sample gives Javascript error...

Last post 03-11-2009, 1:29 PM by cutechat. 7 replies.
Sort Posts: Previous Next
  •  03-09-2009, 7:40 PM 49660

    Using the Cute Editor sample gives Javascript error...

    Hi All,
     
    I've downloaded the latest version of CuteEditor and extracted the contents to our development server.
     
    The folder/files are as follows:
     
      - CuteSoft_Client
      - Uploads
      - vb
      - Web.Config

    All the config files are untouched (Web.Config, Default.config..etc)
     
    The scenario is when I click "Insert Hyperlink --> Browse" the pops-out.
     
    Line: 2
    Char:1
    Error: Syntax error
    Code:0

     
     
    It's really weird that when I tried this locally on my PC, I did not get any problem.
     
    Any help is appreciated.



  •  03-09-2009, 8:24 PM 49661 in reply to 49660

    Re: Using the Cute Editor sample gives Javascript error...

    Ok I fixed the javascript error by inserting the file "CuteEditor_Uploader_Resource.axd" on the root of my site.
     
    However, there is a new error that poped-out "Error,http,401" (Access denied)


    Do you have any ideas on how to fix this?
     
    --edited---
     
    going through the previous posts, I've already tried adding "UploadType="iFrame"" to the code and it doesn't do a thing.
  •  03-10-2009, 2:08 AM 49664 in reply to 49661

    Re: Using the Cute Editor sample gives Javascript error...

    Okay fixed this by downloading "Silverlight".
     
     
  •  03-10-2009, 2:57 AM 49671 in reply to 49664

    Re: Using the Cute Editor sample gives Javascript error...

    Hi,
     
    Do your web.config contains the UploadModule of Editor ?
     
    -- 
     
    Can you check the rendered html source code of the dialog ?
     
    And find the
     
    ResourceHandler="/CuteSoft_Client/CuteEditor/Uploader.ashx"
     
    ??
     
    What's the value of ResourceHandler?
     
    Regards,
    Terry
     
  •  03-10-2009, 8:27 PM 49718 in reply to 49671

    Re: Using the Cute Editor sample gives Javascript error...

    Hi cutechat,
     
    What I got was ResourceHandler="/CuteEditor_Uploader_Resource.axd"
  •  03-11-2009, 12:29 AM 49721 in reply to 49718

    Re: Using the Cute Editor sample gives Javascript error...

    Hi,
     
    So , you did add UploadModule into web.config , ?
     
    --
     
    If so , I think your IIS setting do not allow *.axd handler .
     
    Regards,
    Terry
     
  •  03-11-2009, 12:43 AM 49722 in reply to 49721

    Re: Using the Cute Editor sample gives Javascript error...

    Thanks Terry,
     
    Will do that. I'll get back to you if the problem still persists.
     
    Thanks for the quick feedbacks, with this kind of support i'm certainly not regretting to have bought CuteEditor :)
     
    Hope you could also look into my other questions.

    Thanks!
  •  03-11-2009, 1:29 PM 49759 in reply to 49722

    Re: Using the Cute Editor sample gives Javascript error...

    Hi,
     
    If you do not installed the UploadModule,
     
    It's strange why the ResourceHandler would be that value.
     
    Regards,
    Terry
     
View as RSS news feed in XML