ASP.NET 2.0 File Upload Problem

While working with ASP.NET 2.0 I discovered a problem with uploading of a file and processing the stream serverside. After a while I searched for the same problem. The error is got over and over was: System.ObjectDisposedException: Cannot access a closed file. Off-course other people had the same problem and it seems to be that ASP.NET 2.0 handles uploads differently than ASP.NET 1.1.

The following link explains exactly what causes the problem and how to solve it.

Some extra (little) information can be found on the MSDN site.

5 Responses to “ASP.NET 2.0 File Upload Problem”

  1. TODD says:


    Medicamentspot.com. Canadian Health&Care.Best quality drugs.Special Internet Prices.No prescription online pharmacy. High quality pills. Order pills online

    Buy:Viagra Super Force.Tramadol.Viagra Super Active+.Soma.Cialis Professional.Cialis Soft Tabs.Zithromax.Viagra Professional.Propecia.Cialis Super Active+.Maxaman.Viagra Soft Tabs.Viagra.Cialis.VPXL.Levitra.Super Active ED Pack….

Leave a Reply