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 [...]

January 17, 2011

XML Parsing Error: No Element Found

By |2018-06-27T17:47:25+00:00January 17th, 2011|Categories: ASP.NET|Tags: , , |

I recently came across a pretty weird error. I had a standard ASP.Net page with some HTML markup, some .net controls, etc. , the page was working just fine in IIS7, but in IIS6 I was getting this error in FireFox: XML Parsing Error: no element found, and in IE the page was just loading blank. [...]

December 18, 2010

Cannot unregister updatepanel since it was not registered with the scriptmanager error

By |2010-12-18T22:52:15+00:00December 18th, 2010|Categories: ASP.NET|Tags: |

This error is a pesky one. You will most likely encounter it when you're trying to dynamically load an UpdatePanel within an itemTemplate in a datagrid, or some similar control with dynamically created items. In my case: in a datagrid, and specifically within an item template in that grid. Here is the solution that has worked [...]

October 28, 2009

Cannot unregister updatepanel since it was not registered with the scriptmanager error

By |2018-06-27T17:47:25+00:00October 28th, 2009|Categories: ASP.NET|Tags: , , , |

This error is a pesky one. You will most likely encounter it when you're trying to dynamically load an UpdatePanel within an itemTemplate in a datagrid, or some similar control with dynamically created items. In my case: in a datagrid, and specifically within an item template in that grid.         Here is the [...]

Go to Top