File Upload Issue Asp.Net

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

For some reason, when I try to upload a file to my web server using the
HtmlFile Control, the Request.Files is empty/null. The same code has
worked
for at least a year and now it has stopped. I am getting an error "Index
was
out of range" on the Request.Files[0] .

Can someone please help?

Thanks,
Dolph Larson
 
Check the resulting HTML code to see if you have a name attribute for this
control and the correct enctype for the form...

Patrice
 
Thank you all for responding. Next time I will post code with my issue. I
finally solved the issue late last night. I removed .net framework 1.1 a
couple of days ago and forgot to put it back on. :( I only had .net
framework 1.0. It did not work with framework 1.0, but works great with 1.1.

Thanks again!
Dolph
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top