Developer forum

Forum » Development » XUpload error 12031

XUpload error 12031


Reply

Hi,


 


My client receives an XUpload error: "Sending information to the server failed with error code 12031. Uploading has been aborted." when uploading files via the Filemanager.


 


This only seems to happen with files that are larger than 2 Megabytes.


 


The server has been configured to allow uploads of filesizes up to 50 Megabytes.


 


Any idea what might be causing this ?


 


Regards,


E. Muller


Bluedesk, The Netherlands


Replies

 
Nicolai Høeg Pedersen
Reply
Emil Muller wrote:


Hi,




 




My client receives an XUpload error: "Sending information to the server failed with error code 12031. Uploading has been aborted." when uploading files via the Filemanager.




 




This only seems to happen with files that are larger than 2 Megabytes.




 




The server has been configured to allow uploads of filesizes up to 50 Megabytes.




 




Any idea what might be causing this ?




 




Regards,




E. Muller




Bluedesk, The Netherlands





Hi E


 


In the web.config you will find something like this:


the maxrequestlength attribute will stop uploads over this size. The number is in bytes - check it out if that could be an issue.


 


Also if you run the IIS hardening guide from Microsoft (IIS Lockdown tool) one step is installing the URLscan which also shuts down larger uploads.

 
Reply


The number in the maxRequestLength attribute actually is not in bytes but in kilobytes ;-)



So the default of 102400 is more than enough for me.



Anyways i completely overlooked the executionTimeOut attribute, and increased the value.



So far this seems to help me.



Thanks!


 
Nicolai Høeg Pedersen
Reply
Emil Muller wrote:











The number in the maxRequestLength attribute actually is not in bytes but in kilobytes ;-)











Oops - my bad. Glad you got it to work.

 

You must be logged in to post in the forum