c# uploading file - error

Posted by user228058 on Stack Overflow See other posts from Stack Overflow or by user228058
Published on 2010-05-17T15:54:24Z Indexed on 2010/05/17 16:00 UTC
Read the original article Hit count: 329

Filed under:
|

I have a webpage where the user can upload an excel file. I'm trying 2 different files - one works without a problem, and the other one gives me this error:

Error: Length cannot be less than zero. Parameter name: length

I know that sometimes this occurs when the file size is zero, but that is not the case here.

Can anyon shed light on this issue? Please let me know if you need more info.

© Stack Overflow or respective owner

Related posts about c#

Related posts about fileupload