JodoHost Forums  

Go Back   JodoHost Forums > General Web Coding > General Web Coding

Reply
 
Thread Tools Display Modes
  #1  
Old 12-07-05, 08:59 AM
tauseef tauseef is offline
Guppy
 
Join Date: Dec 2005
Posts: 2
Rep Power: 0
tauseef is at Grade 1
Unable to upload large size files in asp.net

Hi everyone,

I have developed an web page in asp.net which lets users to upload files to server. If the file size is less than 5mb, it works fine. But whenever the file size increases more than 5mb i mean to 10mb or 25mb, it does not work. Can anybody help me out of this problem

TAM
Reply With Quote
  #2  
Old 12-08-05, 12:41 AM
antic's Avatar
antic antic is offline
Mako Shark
 
Join Date: Aug 2005
Location: Sector ZZ9 Plural Z Alpha
Posts: 818
Rep Power: 8
antic is at Grade 1
Re: Unable to upload large size files in asp.net

Raise a ticket - it might be the .NET config on the server which limits upload size.
Reply With Quote
  #3  
Old 12-08-05, 04:44 AM
Amit Jain Amit Jain is offline
Oceanic Police
 
Join Date: Jun 2005
Posts: 22
Rep Power: 0
Amit Jain is at Grade 1
Re: Unable to upload large size files in asp.net

Hi Tam,

22MB is the maximum upload limit on Window's Server. So you can't upload file more than 22MB.
Reply With Quote
  #4  
Old 12-08-05, 06:22 PM
antic's Avatar
antic antic is offline
Mako Shark
 
Join Date: Aug 2005
Location: Sector ZZ9 Plural Z Alpha
Posts: 818
Rep Power: 8
antic is at Grade 1
Re: Unable to upload large size files in asp.net

The other possibility is you're getting a script timeout error. In ASP you change Server.ScriptTimeout = #seconds. Not sure what it is for .NET.
Reply With Quote
  #5  
Old 12-09-05, 09:19 AM
tauseef tauseef is offline
Guppy
 
Join Date: Dec 2005
Posts: 2
Rep Power: 0
tauseef is at Grade 1
Re: Unable to upload large size files in asp.net

hay guys,

thanks for replying my post. But let me tell you one thing, i have uploaded upto 30MB using same page but problem is that page do not gives any confirmation message to viewer but it uploads after some time. sometime my user got timeout errors on this page but their files being uploaded. i cannot understand where to make changes.
Reply With Quote
  #6  
Old 12-09-05, 05:36 PM
pakoda pakoda is offline
Gold Fish
 
Join Date: Nov 2005
Posts: 40
Rep Power: 5
pakoda is at Grade 1
Re: Unable to upload large size files in asp.net

Hi,

This is not an issue with Jodohost. If you are using ASP.NET than that's the problem. There is a 4 MB cap by default and you can change this cap by editing your web.config

<httpRuntime executionTimeout="1800" maxRequestLength="400000" />

This allows 400 MB file upload.
Reply With Quote
  #7  
Old 12-10-05, 12:51 AM
antic's Avatar
antic antic is offline
Mako Shark
 
Join Date: Aug 2005
Location: Sector ZZ9 Plural Z Alpha
Posts: 818
Rep Power: 8
antic is at Grade 1
Re: Unable to upload large size files in asp.net

pakoda, thanks for that - I didn't know there was a web.config setting as well as the server-wide setting for uploads.

tauseef, I suggest you try uploading a big file yourself and see if there is an error message returned by the browser.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Upload .xls file to SQL Server via ASP.NET app bubberz Microsoft Development 1 09-06-05 12:37 PM
How to upload large files snooper Microsoft Development 13 08-19-05 03:11 PM
Unable to open registry key FunkMonkey Shared Hosting Support 9 11-28-04 07:53 PM
Upload files on Win7 VividWeb Reseller Hosting Support 0 10-25-04 10:02 AM
Uploading large files limitations CFFILE Jodo lanzagaz Cold Fusion MX 2 07-08-04 07:37 AM


All times are GMT -4. The time now is 07:25 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
(c) 2002 - 2009 JodoHost