Ajax Uploader Over Https is throwing an error

Last post 09-26-2012, 7:19 AM by Kenneth. 3 replies.
Sort Posts: Previous Next
  •  09-24-2012, 11:58 AM 74744

    Ajax Uploader Over Https is throwing an error

     i'm using Ajax uploader within an asp.net mvc project. So far i'm forcing the Flash version of the uploader. evrything works fine unless i switch to Https. the flash uploader is not working when it's https. i have the latest version of the uploader, i just downloaded it today. maybe it s irrelevant but for now, i'm using a self signed certificate (dev environment).

    the error message is an alert('http error 1  0')

    thanks

  •  09-24-2012, 3:48 PM 74745 in reply to 74744

    Re: Ajax Uploader Over Https is throwing an error

    Hi afennani,

     

    The flash plug-in not very compatible with the https. I suggest you use silverlight or html5 for the https/ssl.

     

    If you must use flash upload mode, please refer to http://cutesoft.net/forums/thread/50681.aspx terry's topic.

     

    Regards,

     

    Ken 

  •  09-25-2012, 5:38 PM 74763 in reply to 74745

    Re: Ajax Uploader Over Https is throwing an error

    i just tried the html5 plugin (uploader.UploadType = UploadType.Auto;) and it seems like it has the same issue. HTTP works but not HTTPS.

     

  •  09-26-2012, 7:19 AM 74772 in reply to 74763

    Re: Ajax Uploader Over Https is throwing an error

    Hi afennani,

     

    Please try the way below to disable the flash upload mode. 

     

    1. Open the controller file, find the uploader control section

     

    2. Use the code below to disable the flash upload mode

     

    using (CuteWebUI.MvcUploader uploader = new CuteWebUI.MvcUploader(System.Web.HttpContext.Current))
                      {
                    uploader.SetAdvancedOption(CuteWebUI.UploaderAdvancedOption.NoFlash, "true");
                      }
     

    3. Try it again, you can use the mouse right click on the uploader button. if have not get the flash context menu, that means the code work.

     

    Regards,

     

    Ken 

View as RSS news feed in XML