I am using Kendo UI Web for upload files.
Here is an issue when uploading large on IE9, the file is 49.6M. It is always in uploading file and no error message is shown. The upload is in a iframe.
On firefox, the file is uploaded successfully.
Is there any adive on this issue?
Thanks,
Peter
8 Answers, 1 is accepted
From the provided information it's not clear for us what is the exact reason for this behavior - could you please provide runable project where the issue is reproduced? This would help us pinpoint the exact reason for this behavior.
Vladimir Iliev
the Telerik team
Thanks for your response.
More details:
The file can be uploaded successfully when debug on my local machine. Fails on the server machine(the we site server).
The exception in C# is "The timeout period
elapsed prior to completion of the operation or the server is not responding."
Is it possible that the issue is caused by network issue?
Is there any advice on it?
Thanks,
Peter
Thank you for the provided error message.
It seems that the issue is not directly related to KendoUI upload but to the current settings of the project that you are using. More information on the matter can be found on various resources over the internet - for example here and here.
Vladimir Iliev
the Telerik team
Thanks for your response. Following is the config about httpRuntime.
<httpRuntime maxRequestLength="256000" executionTimeout="1800" requestValidationMode="2.0" />
For the same file, it is uploaded on firefox, but failed on IE.
If the issue is caused by my config, uploading on firefox will fails too. Now, it works well on firefox. So I think it has no matter with my config.
More info, the network sometime is bad.
On firefox, uploading is very slow, but uploading succeed after a long time.
On IE, uploading failed after a long time. It succeed if upload a small file, example 1kb pdf file.
Thanks,
Peter
I tested it again. Found that the status is upload in processs, but the file is in the server. In other words, uploading is still in process althought the file is already uploaded completely.
Note that the issue always only occurs on IE.
Thanks,
Peter
Could you please try to remove the KendoUI uploader, instead use a regular "<input type="file" />" element and let us know of the result?
e.g.:
<
input
type
=
"file"
name
=
"dataFile"
/>
Vladimir Iliev
the Telerik team
The issue still exists when uploading a big file on IE. Maybe that is a bug of IE.
It works well when uploading a file that sizie is 5M.
The internet explorer always keep waiting not when uploading a 49M file, though the file is already uploaded and on file server.
I know that is not kendo ui issue, is there an adviece on the IE issue?
Thanks,
Peter
Basically this behavior is not directly related to KendoUI but to the IE browser as you suggested, however we currently are not aware of workaround for this behavior other than trying to disable all browser addons.
Vladimir Iliev
the Telerik team