Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / April 2008

Tip: Looking for answers? Try searching our database.

Connection to web server lost uploading files of 100mb

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Phil Johnson - 08 Apr 2008 11:58 GMT
I suspect this is to do with the configuration of IIS but I posted here as it
could be asp.net related...

I'm uploading large files through an asp.net 1.1 web app... works fine on my
dev box and on a staging server with files up to about 300mb but on the live
box if I try to upload 100mb I get a page cannot be displayed with the
following info:

Explanation: The Web server connection was closed.
Error Code 64: Host not available
Background: The connection to the Web server was lost.

Both web.config's have the following:

<httpRuntime maxRequestLength="1048576" executionTimeout="3600"/>

My devbox is running IIS 5.1 (I think) on Windows XP Pro SP 2, the live
server is running Windows Server 2003 with IIS 6.

Thanks in advance for any suggestions.

Signature

Regards,

Phillip Johnson (MCSD For .NET)
PJ Software Development
www.pjsoftwaredevelopment.com

Mark Fitzpatrick - 08 Apr 2008 15:14 GMT
Up the request lenght a bit. The config would work if the file is exactly
100 MB and not one bit over. Kicking it up just a bit may help out.

Also, since uploads are always slower than downloads by almost an order of
magnitude, you may be running into the fact that the application itself
could be unloading. About how long is it taking to upload a file this large
for you? If it's close to 20 minutes, that could be happening.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - Expression

>I suspect this is to do with the configuration of IIS but I posted here as
>it
[quoted text clipped - 19 lines]
>
> Thanks in advance for any suggestions.
Phil Johnson - 08 Apr 2008 15:56 GMT
Thanks for the response Mark,

Apparently we have a bit of a dodgy internet connection... looks like the
issue might be caused by a short loss of connectivity.

Going to try uploading a file from home tonight to see if it only happens in
our offices.

Signature

Regards,

Phillip Johnson (MCSD For .NET)
PJ Software Development
www.pjsoftwaredevelopment.com

> Up the request lenght a bit. The config would work if the file is exactly
> 100 MB and not one bit over. Kicking it up just a bit may help out.
[quoted text clipped - 31 lines]
> >
> > Thanks in advance for any suggestions.
Phil Johnson - 09 Apr 2008 09:57 GMT
The original error is related to dodgy connectivity in our office, but when I
tried from home it ran for about 30 mins then displayed a standard 'Page
cannot be displayed', so I am going to look into whether the application is
timing out.
Signature

Regards,

Phillip Johnson (MCSD For .NET)
PJ Software Development
www.pjsoftwaredevelopment.com

> Up the request lenght a bit. The config would work if the file is exactly
> 100 MB and not one bit over. Kicking it up just a bit may help out.
[quoted text clipped - 31 lines]
> >
> > Thanks in advance for any suggestions.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.