This topic contains answers for the frequently asked questions related to problems with upload process. Be sure to read this topic before contacting the technical support department.
In this topic:
- Q: I am trying to upload files with Image Uploader, but receive an error message: "Some server-side error occurred". What is wrong?
- Q: I am trying to upload files with Image Uploader, but received an error message: "Upload failed (the connection was interrupted)". What is wrong?
- Q: I cannot upload files larger than N megabytes. How to resolve this problem?
- Q: Upload fails on slow connections. How to resolve this problem?
- Q: Where I can find information how to configure automatic upload recovery feature?
- Q: Where I can find information how to send additional data with files?
- Q: I use the additional HTML form as described in this topic, but no additional fields are uploaded. Why?
Q: I am trying to upload files with Image Uploader, but receive an error message: "Some server-side error occurred". What is wrong?
This message means that the server page, which you upload files to (specified with the Action property), cannot be run properly. It may be:
- Some syntax error.
- Insufficient permissions to save uploaded files.
- Invalid connection string to a database
- ...and some other error in the upload processing page.
To get more detailed information about this error, you can do the following:
-
Set the ShowDebugWindow property to true. It will have Image Uploader to open a window containing the HTML code returned from the server. Typically web server writes the error message into it.
-
Use the Java console to see a server response.
See the Debugging Server Scripts topic for more information how to debug server errors.
Q: I am trying to upload files with Image Uploader, but received an error message: "Upload failed (the connection was interrupted)". What is wrong?
This error means that the server closed the connection unexpectedly. Typically it happens when the server has some server-side limitations for maximum POST request length. Main indicator of this situation is that the problem occurs when the total upload size exceeds some value.
Another possible problem is that script execution timeout expires.
Both timeout and maximum POST request length are configured in the server settings. Find more information how to resolve this problem for the following server environment:
Q: I cannot upload files larger than N megabytes. How to resolve this problem?
Typically this problem occurs when server-side limitations for maximum POST request length are configured. See the previous question of this FAQ for more information how to get this problem fixed.
Q: Upload fails on slow connections. How to resolve this problem?
Try to increase the value of the TimeOut.
Q: Where I can find information how to configure automatic upload recovery feature?
See the Configuring Automatic Upload Recovery topic.
Q: Where I can find information how to send additional data with files?
See the Uploading Additional Data with Files topic.
Q: I use the additional HTML form as described in this topic, but no additional fields are uploaded. Why?
First of all, make sure whether the form name is the same as the AdditionalFormName property. Also, check for misprints of field names in your server-side code.
If you are using Java version, take a look into Java console. Image Uploader writes all fields it recognizes into the console. If you see your fields there, you should try to debug your server page.
If you are sure that the server code is correct, try to reproduce the same problem with simplified HTML code. In other words, do the following:
- Create empty HTML page.
- Insert a form with the same fields as you try to send.
- Insert Image Uploader-related code. Try to put only parameters, without event handlers and dynamic properties modification.
- Upload files with additional form to the same Action page.
If additional data is uploaded from the simplified page successfully, it means that the problem occurs because of malformed HTML code in your original page. So you should re-format it to make it valid. Alternatively, you can use AddField method instead of HTML form.