Insert Image on Cute Editor

Last post 02-27-2009, 10:21 PM by us7892. 5 replies.
Sort Posts: Previous Next
  •  02-09-2009, 12:59 PM 48517

    Insert Image on Cute Editor

    On the Insert Image window when I tried to upload an Image size is more than 1000k, it was throwing an error rather displaying proper message. Ofcourse there is a note "Upload (Max size 1000K)".
     
    The error which is throwing is (in Firefox):
     
    Request object error 'ASP 0104 : 80004005'
    Operation not Allowed
    /cas/messaging/messagelibrary/cuteeditor/CuteEditor_Files/Dialogs/include_upload.asp, line 32
     
    Is there way that we display vlid message to the user in the same box rather throwing an error? Please let me know.
  •  02-09-2009, 1:33 PM 48519 in reply to 48517

    Re: Insert Image on Cute Editor

    For IIS6.0 users, the AspMaxRequestEntityAllowed property specifies the maximum number of bytes allowed in the entity body of an ASP request. If a Content-Length header is present and specifies an amount of data greater than the value of AspMaxRequestEntityAllowed, IIS may return a 403 error response.

    Please follow the steps below.

    1. Stop the Admin Service.
    2. open file "c:\Windows\System32\Inetsrv\MetaBase.xml
    3. change the AspMaxRequestEntityAllowed to "10000".  You can enter another value to suite your needs.
    4. save the file.
    5. restart the service.

    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

  •  02-09-2009, 1:50 PM 48523 in reply to 48519

    Re: Insert Image on Cute Editor

    Adam,
     
    you mean file located on the server  we need to set this property?
    rather than setting this property can we display message in the upload box?
     
     let me know.
     
    thanks.
  •  02-09-2009, 2:21 PM 48527 in reply to 48523

    Re: Insert Image on Cute Editor

    Hi Adam,
     
    when we click on upload on InsertImage window, it is redirecting to
    filePost.asp?setting=MTAwMHwx.....
     
    if we go to filePost.asp there is a check for if file size exceeds
     
    If File.FileSize >= MaxSize*1024 then
    Response.Write "<font color=red><b><font color=red><b>File size exceeds "& MaxSize &" KB limit: "& Formatnumber(File.FileSize/1024,2) &" KB</b></font>"
     
    why this is not triggering?
     
    any idea.
  •  02-09-2009, 2:59 PM 48532 in reply to 48527

    Re: Insert Image on Cute Editor

       Hi Adam,
     
       On IIS we already set to allowed file size upto 1000K.
     
       the error is triggering at line 32 \CuteEditor_Files\Dialogs\include_upload.asp. this page is included in filePost.asp.
     
       This the piece of code at line 32:

       biData = Request.BinaryRead(Request.TotalBytes)

        When I try to upload file with blank, it displays "File(s) not uploaded.", same way why is not displaying message
        "File size exceeds ..".
     
        Please help me out.
     
  •  02-27-2009, 10:21 PM 49351 in reply to 48532

    Re: Insert Image on Cute Editor

    Ny news on this? I'm having the same problem.

View as RSS news feed in XML