Upload errors (IE7, IIS7, Silverlight/Flash + client certificates)

Last post 08-24-2009, 12:03 AM by Adam. 9 replies.
Sort Posts: Previous Next
  •  01-21-2009, 4:21 AM 47917

    Upload errors (IE7, IIS7, Silverlight/Flash + client certificates)

    Hi,

    we are experiencing major problems trying to upload files via the Ajax Uploader. We are running Windows Server 2008 with IIS7. The authentication on the webserver is done via SSL128 and client certificates.

    We are using Microsoft IE7 for testing. The amount or size of files doesn't really matter, sometimes even a single file triggers the error. We tried to reduce the problem areas by disabling the plugins of IE. The behaviour changed as follows:

    Silverlight: ERROR
     
     
    Silverlight Disabled, Flash Enabled: ERROR
     

     
    Silverlight disabled, flash disabled: WORKING
     
    -----------------------------------------------------
     
    Since the problem didn't occur during previous internal testing, we suspected a problem with the server configuration. It looks like the cause of the problem is the authentication using client certificates.
     
    Normal SSL works fine. As soon as we enable client certifactes we get the errors as stated above.
     
     
    We would really appreciate a little help getting the uploader to work. Thanks in advance!

     
  •  01-21-2009, 4:25 AM 47918 in reply to 47917

    Re: Upload errors (IE7, IIS7, Silverlight/Flash + client certificates)

     
     We are also facing the same problem.
     
     
     
     
     
     
     

     
     

  •  01-21-2009, 1:39 PM 47935 in reply to 47918

    Re: Upload errors (IE7, IIS7, Silverlight/Flash + client certificates)

    Please add the following entry into web.config file:

    <add key="CuteWebUI.AjaxUploader.RewritePath" value="Fasle" />


    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

  •  01-22-2009, 4:56 AM 47949 in reply to 47935

    Re: Upload errors (IE7, IIS7, Silverlight/Flash + client certificates)

    We added the key but the problems remain. The "Fasle" value looked like a typo so we added:
     
    <appSettings>
      <add key="CuteWebUI.AjaxUploader.RewritePath" value="False" />
    </appSettings>
     
    For testing purposes we set up a IIS Website using the demo websites. We are currently using the "Framework 2.0-Csharp-NoAjax\selecting-multiple-files.aspx" for testing and are able to reproduce said errors with client certificates enabled.
     
    We use 3 x 20MB files for testing and are uploading with speeds between 500-1000 kbits/s.
     
     
  •  01-23-2009, 12:39 PM 48028 in reply to 47949

    Re: Upload errors (IE7, IIS7, Silverlight/Flash + client certificates)

    Hi,
     
    How about your environment do not use client certificates ?

    Regards,
    Terry
  •  01-26-2009, 3:33 AM 48049 in reply to 48028

    Re: Upload errors (IE7, IIS7, Silverlight/Flash + client certificates)

    Unfortunately client certificates are mandatory in our scenario.
     
    How come the simple file upload is working while the silverlight or flash versions don't? Do they use a completely different approach for data transmission?
     
  •  01-27-2009, 9:51 AM 48093 in reply to 48049

    Re: Upload errors (IE7, IIS7, Silverlight/Flash + client certificates)

    Hi,
     
    I am not so familiar with the client cortificates.
     
    Is your issue same as this http://cutesoft.net/forums/thread/47542.aspx ?
     
    Regards,
    Terry
     
  •  01-27-2009, 10:20 AM 48098 in reply to 48093

    Re: Upload errors (IE7, IIS7, Silverlight/Flash + client certificates)

    I'm not sure if the thread you linked really describes the same issue. It is true that client certificates use a kind of windows authentication. However I don't know if it is the same problem.
     
    Our problems don't really freeze the browsers we tested (IE/FF). Silverligth and Flash just throw errors and the uploader continues the queue until all files have been aborted with an error message.
     
    What is interesting is that the errors always appear at the end of the transmission (99%). Since the normal file upload worked we guessed that maybe the server is not able to negotiate the client-certificate with the client for each individual file and thus isn't able to finish the transfer properly.
     
    I guess you are not able to reproduce the errors, since you stated that you don't have access to client certificates?
  •  02-03-2009, 10:18 PM 48338 in reply to 48098

    Re: Upload errors (IE7, IIS7, Silverlight/Flash + client certificates)

    Hi,
     
    We have fixed this issue.
     
    But need developers to do something for it.
     
    Please check my thread:
     
     
    Regards,
    Terry
  •  08-24-2009, 12:03 AM 54932 in reply to 47917

    Re: Upload errors (IE7, IIS7, Silverlight/Flash + client certificates)

    Oevermann,
     
    In the latest build we have a better solution to resolve this issue.
     
    With this new solution, you don't need to configure the FlashUploadPage.
     
    Please download the control and try again.
     
    Keep me posted

    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

View as RSS news feed in XML