Upload Within Image Gallery Not Working for IE 7

Last post 07-02-2009, 10:38 AM by eric.shaw@sto.idaho.gov. 2 replies.
Sort Posts: Previous Next
  •  06-23-2009, 5:00 PM 53430

    Upload Within Image Gallery Not Working for IE 7

    I have setup the Cute Editor to read and write images to the database.  I have created my own c# class based on the example for the CuteEditor.Impl.FileStorage.  Within Firefox 3, all of the actions work just fine.  I can upload, move, delete, etc images with no issue.  However when I use IE 7 I get the following error when using the "Upload" button with the Image Gallery (all other functions seem to work just fine).
     
    /PublicSite/TreasurerNews is the sub folder path of where the image should be uploaded to.
     
    "/PublicSite/InsertGallery.aspx?setting=!3wEWBAUFZW4tdXMFAyRhMRUIGUN1dGVFZGl0b3JGaWxlU3RvcmFnZVR5cGUIRG93bkZpbGUZc2VjdXJpdHk6SW1hZ2VHYWxsZXJ5UGF0aBlzZWN1cml0eTpJbWFnZUJyb3dzZXJQYXRoGXNlY3VyaXR5Ok1lZGlhR2FsbGVyeVBhdGgZc2VjdXJpdHk6Rmxhc2hHYWxsZXJ5UGF0aBlzZWN1cml0eTpGaWxlc0dhbGxlcnlQYXRoHHNlY3VyaXR5OlRlbXBsYXRlR2FsbGVyeVBhdGgVCFxDdXRlRWRpdG9yU1FMSW1hZ2UsIEFwcF9Db2RlLjhybDZyOGZhLCBWZXJzaW9uPTAuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbB8vSW50cmFuZXQvR2VuZXJhbC9Eb3duRmlsZS5hc3B4AS8BLwEvAS8BLwEvyRm33L!190PQCS52kT3xJ!3FrB2OQ!2,/PublicSite/TreasurerNews"
     
    I have traced it down to the following area.  So within my c# class the "GetDirectoryText" function is called.  Within Firefox it returns "/PublicSite/TreasurerNews".  However, when using IE it passes all that garbage within it.  When the code hits "return Path.GetDirectoryName(dirPath);".  It blows up and the try catch throws the error.
     
    Any ideas on how I can fix this?
  •  06-30-2009, 3:34 PM 53657 in reply to 53430

    Re: Upload Within Image Gallery Not Working for IE 7

    Do you have problems with the following example?
     
     
    If not, please download the latest build and try again.

    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

  •  07-02-2009, 10:38 AM 53699 in reply to 53657

    Re: Upload Within Image Gallery Not Working for IE 7

    It looks like I was using an older version.  Once I downloaded the 6.4 version and deployed the DLL files the upload works with IE 7. 
     
    Thanks!
View as RSS news feed in XML