Author: programmar | Posted on: 8/31/2008 8:23:03 PM | Views : 376

I am using a FileUpload control on a very large form, the form takes quite a lot of input and in the end associates the give file with that output to the database.

But the FileUpload.HasFile property always returns false. When I ran the project through a debugger the following message appeared in the quick watch window.

Causes Validataion {Text = Cannot evaluate expression because a thread is stopped at a point where garbage collection is impossible, possibly because the code is optimized.}

thsi comes when the process is on the line where I have called the HasFile property. I am not using update panels therefore there are no asyncs on the page. from where the file is uploading.

Can anyone help me sort this out.
...

Go to the complete details ...