Async File Upload

March 2, 2011

Async File Uploading using Asp.Net

By |2011-03-02T22:49:04+00:00March 2nd, 2011|Categories: ASP.NET|Tags: |

Recently I ran into an issue, that by the looks of Google, is affecting many others too.  I wanted to be able to allow users to select an upload path, using the standard Asp.Net fileUpload control, and maintain that control's path through postbacks, so I could perform some server side validation.  As far as I can [...]

February 20, 2011

AsyncFileUpload “Cannot Access A Closed File exception

By |2018-04-01T02:14:09+00:00February 20th, 2011|Categories: ASP.NET|Tags: , , |

Quick post for those who may be suffering from a "Cannot Access A Closed File" exception when attempting to upload/save larger files with the AjaxControlToolkit AsyncFileUpload control... Fix for me: Add/edit an entry in your app's web.config <httpRuntime requestLengthDiskThreshold="15360" /> In my case this was caused by having a requestLengthDiskThreshold set too low, and was causing [...]