![]() |
|
#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 |
|
#2
|
||||
|
||||
|
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.
|
|
#3
|
|||
|
|||
|
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. |
|
#4
|
||||
|
||||
|
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.
|
|
#5
|
|||
|
|||
|
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. |
|
#6
|
|||
|
|||
|
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. |
|
#7
|
||||
|
||||
|
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. |
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
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 |