MaxAllowedContentLength error

Last post 05-26-2010, 7:27 AM by frJericho. 3 replies.
Sort Posts: Previous Next
  •  05-20-2010, 12:26 PM 61190

    MaxAllowedContentLength error

    I am getting the following error when attempting to upload small images (between 10K and 30K). This happens with several images therefore I don't think it's specific to a particular image file. Since my images are so small and are well within the MaxAllowedContentLength, I believe this message is simply misleading and the actual problem is probably not related to the image size at all. I get this error when I click the "browse" button on the IMG tag editor and then click "Upload".

    Please note that I have implemented custom file storage which might becausing this problem. However the upload feature in the "Image Gallery" and the upload on the "Insert Image" work just fine.

    cm_htmlcontent.Setting["Template-CuteEditorFileStorageType"] = typeof(MyCustomTemplateFileStorage).AssemblyQualifiedName;
    cm_htmlcontent.Setting["InsertGallery-CuteEditorFileStorageType"] = typeof(MyCustomImageFileStorage).AssemblyQualifiedName;
    cm_htmlcontent.Setting["InsertImage-CuteEditorFileStorageType"] = typeof(MyCustomImageFileStorage).AssemblyQualifiedName;
    cm_htmlcontent.Setting[
    "SelectImage-CuteEditorFileStorageType"] = typeof(MyCustomImageFileStorage).AssemblyQualifiedName;

     
  •  05-21-2010, 9:57 AM 61229 in reply to 61190

    Re: MaxAllowedContentLength error

    It's strange.
     
    Do you mean after showing this error dialog, the upload function of "Image Gallery" work just fine?

    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-21-2010, 12:23 PM 61236 in reply to 61229

    Re: MaxAllowedContentLength error

    What I am saying is:
    • the upload functionality in the "Image Gallery" dialog is working fine
    • the upload functionality in the "Insert Image" dialog is working fine
    • the upload functionality in the "Browse" dialog which is invoked from the IMG tag editor does not work
  •  05-26-2010, 7:27 AM 61326 in reply to 61236

    Re: MaxAllowedContentLength error

    Any update?
     
    Also, to make matters worse: the OK and Cancel buttons are pushed off the screen after you get the error message as you can see in this screenshot:
View as RSS news feed in XML