top
logo


feed-image RSS

Visual C#

Ajax Control Toolkit AsyncFileUpload - The file attached is invalid

PDF Print E-mail
(3 votes, average 3.67 out of 5)
Written by Alex Balyuk   
Tuesday, 17 August 2010 21:58

Recently I was working on conversion of a social network project from ASP.NET 3.5 to ASP.NET 4.0. Everything went pretty smoothly except for AjaxControlToolkit Asynchronous File Upload control. Basically the uploading of file did not work, on the staging server nothing happening during the file upload... but in debug mode the following error was thrown ((AjaxControlToolkit.AsyncFileUpload)(sender)).FileContent' threw an exception of type 'System.NullReferenceException' with status message "The file attached is invalid." 

It seemed pretty odd because the code was not modified and everything functioned on .NET 3.5. This is .NET version incompatibility with AjaxControlToolkit.

Last Updated on Thursday, 19 August 2010 15:48
 




Copyright © 2012 (bool) cast.com. All Rights Reserved.
Joomla!Joomla! is Free Software released under the GNU/GPL License.GNU/GPL License.

bottom
top
Site Map | Contact Us

bottom