How to use CuteEditor with 3rd Party Uploader?

Last post 05-23-2007, 1:40 AM by coverboy. 5 replies.
Sort Posts: Previous Next
  •  05-22-2007, 5:33 AM 29883

    How to use CuteEditor with 3rd Party Uploader?

    Hi...
     
    I have 2 web site. One has default asp.net uploader.
    The Other has 3rd Party Uploader.
     
    So, web.config are different.
     
    Same Source, The first one works fine.
    Second one(with 3rd Party Uploader), doesn't work.
     
    The Error Message is "Image is in the wrong format"
     
    So, I looked up "InsertImage.aspx",
    Line # 369 has error message.
     
        System.Drawing.Image img;
        try
        {
         img = System.Drawing.Image.FromStream(new System.IO.MemoryStream(data));
        }
        catch
        {
         return "Image is in the wrong format.";
        }
     
    How can I use CuteEditor with 3rd Party Uploader?

    Similiar Problem has occured on InsertFlash, InsertDocument.aspx.
    (Flash and Document Saved only 113Byte filesize, even though It's 100~200KB.)
     
    Plz, Help.
  •  05-22-2007, 9:02 PM 29934 in reply to 29883

    Re: How to use CuteEditor with 3rd Party Uploader?

    coverboy,
     
    It's strange.
     
    How did you use the 3rd Party Uploader?
     
    Does that 3rd Party Uploader have some impact to our editor?
     
    CE doesn't use the default asp.net uploader. It contains a built-in upload module. It will be released as a separate product in the future.
     
     

    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-22-2007, 9:16 PM 29939 in reply to 29934

    Re: How to use CuteEditor with 3rd Party Uploader?

    hi...Adam.
     
    I'm using PowUpload 1.2  http://www.powupload.com/ 
     
    One WebSite(Same Machine) , I installed that software, changed my web.config to use that uploader.
     
    The Other WebSite(Same Machine), I didn't use powUploader(Not changing web.config, not using /bin/powupload.dll thing...)
     
    The First one, cuteEditor didn't work.
     
    The second one works Fine.
     
    Please, Help me how to cuteEditor with 3rd Party Uploader.
     
     
  •  05-22-2007, 11:54 PM 29954 in reply to 29939

    Re: How to use CuteEditor with 3rd Party Uploader?

    Clue...
     
    PowUpload setting in the web.config there are below line.
     
    <settings tempPath="C:\Temp2\" processPages="*.aspx" ignorePages="ProgressAJAX.aspx" uploadIDQueryField="UploadID" enableProgressBar="true" bufferSize="16384" minRequestLengthProcess="0" throwErrorsImmediately="true" logExceptions="false" serialKey=""/>
     
    I deleted tempPath="c:\temp2\"
     
    and cuteEditor ImageUpload works fine. yet still I can't use powUploader.
     
    So, I think maybe, cuteEditor set temporary Path during Upload.
    Match that path should work...I guess..
     
    So, What is the temporary path using cuteEditor?
     
  •  05-23-2007, 12:05 AM 29956 in reply to 29954

    Re: How to use CuteEditor with 3rd Party Uploader?

    Hum...I found cuteEditor temp Path...c:\Windows\temp ...
     
    and filename persisted....xxxx.........axd.
     
    so, I configure powUpload temp Path from c:\temp to c:\windows\temp
     
    However, still didn't work.
  •  05-23-2007, 1:40 AM 29958 in reply to 29956

    Re: How to use CuteEditor with 3rd Party Uploader?

    I finally got answer.
     
    Remember I said...
     
      <settings tempPath="C:\Temp2\" processPages="*.aspx" ignorePages="InsertImage.aspx" uploadIDQueryField="UploadID" enableProgressBar="true" bufferSize="16384" minRequestLengthProcess="0" throwErrorsImmediately="true" logExceptions="true" serialKey=""/>
     
    I edited red bold text to upload...That works! :-)
View as RSS news feed in XML