473,769 Members | 2,090 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Have the size limitation about FileUpload

ad
Have there any limitation about the size of the file uploaded by FileUpload
control?
Jun 9 '06 #1
4 1426
This is limited first by IIS and/or web.config (the default is 4 Mo). If I
remember it was improved in 2.0 but was limited in 1.1 by the available
memory (the whole file was loaded in memory whihc could be a problem for
huge files).

I would do the other way round. Do you have a specific problem ?

--

"ad" <fl****@wfes.tc c.edu.tw> a écrit dans le message de news:
%2************* ***@TK2MSFTNGP0 3.phx.gbl...
Have there any limitation about the size of the file uploaded by
FileUpload control?

Jun 9 '06 #2
ad
I have a text file of 18M, which is SQL script.
I upload it with UploadFile, then read it with a StreamReader.
I have test to files, one is 5M, it ok, but another one is 18M, it result in
an error page: page not found.

How can I do?
"Patrice" <sc****@chez.co m> ¼¶¼g©ó¶l¥ó·s»D: %2************* ***@TK2MSFTNGP0 3.phx.gbl...
This is limited first by IIS and/or web.config (the default is 4 Mo). If I
remember it was improved in 2.0 but was limited in 1.1 by the available
memory (the whole file was loaded in memory whihc could be a problem for
huge files).

I would do the other way round. Do you have a specific problem ?

--

"ad" <fl****@wfes.tc c.edu.tw> a écrit dans le message de news:
%2************* ***@TK2MSFTNGP0 3.phx.gbl...
Have there any limitation about the size of the file uploaded by
FileUpload control?


Jun 9 '06 #3
Ad,
There is a maxRequestLengt h setting in the HttpRuntime section of
machine.config that is set to 4MB. You can override this in the web.config.
Peter
--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"ad" wrote:
Have there any limitation about the size of the file uploaded by FileUpload
control?

Jun 9 '06 #4
Have you checked the IIS log to see the status ? If this is not the size
limit, it could be perhaps also the script timeout (so the request ends and
its is seen client side as a response that you can't get ?).
Do you have a firewall (we had once a firwall that blocked jpeg images
against the jpeg vulnerability).

--
Patrice

"ad" <fl****@wfes.tc c.edu.tw> a écrit dans le message de news:
up************* *@TK2MSFTNGP04. phx.gbl...
I have a text file of 18M, which is SQL script.
I upload it with UploadFile, then read it with a StreamReader.
I have test to files, one is 5M, it ok, but another one is 18M, it result
in an error page: page not found.

How can I do?
"Patrice" <sc****@chez.co m>
¼¶¼g©ó¶l¥ó·s»D: %2************* ***@TK2MSFTNGP0 3.phx.gbl...
This is limited first by IIS and/or web.config (the default is 4 Mo). If
I remember it was improved in 2.0 but was limited in 1.1 by the available
memory (the whole file was loaded in memory whihc could be a problem for
huge files).

I would do the other way round. Do you have a specific problem ?

--

"ad" <fl****@wfes.tc c.edu.tw> a écrit dans le message de news:
%2************* ***@TK2MSFTNGP0 3.phx.gbl...
Have there any limitation about the size of the file uploaded by
FileUpload control?



Jun 9 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1667
by: Pat | last post by:
I am having a problem with large pdf files begin generated by fop from cocoon. There appears to be a file size limitation on the generated pdf files. When we run a small document everything works fine but when the document reaches some undetermined size it doesn't get generated. The adobe plugin doesn't startup and the browser shows the page is done. It happens under AIX and linux. We are using the latest version of cocoon and fop. Thanks.
1
2024
by: Sharon | last post by:
Hello, Is there a size limitation when using 'named pipes' on Windows OS ? If yes - how to forward a large size buffer ? Thanks
2
7888
by: Rick Brough | last post by:
I'm in the early stages of researching the migrating of an OLTP Oracle database (size 200+ GB) and still growing to PostgreSQL 8.x. Before I spend alot of time documenting the migration path, I'd like to know if there is a limitation to the size of a PostgeSQL database. If so, what is the limitation? Any feedback would be greatly appreciated Thanks, Rick
1
2521
by: Lelle | last post by:
Sorry for crossposting - sent to wrong group first hello ! does anyone have more information regarding this issue? http://www.systemwebmail.com/faq/2.3.aspx a.. Attachment Size Limit? I am using SMTP Mail Service running under IIS on win2k server to send word/excel/pdf/etc files as attachments from several in house applications
2
14346
by: Joseph Geretz | last post by:
I'm developing a Web Service using DIME to download and upload files from and to an IIS server. In order to increase the download filesize to unlimited, I have the following block in my App.config and Web.config files: <messaging> <maxRequestLength>-1</maxRequestLength> </messaging> The largest file I've downloaded is 70 meg and that's more than plenty for me. However, I'm finding that on upload, if I attempt to upload greater than
6
2713
by: AB | last post by:
Hello all, I heard once that there is a limitation on the number of lines of code that a program can have when using C, but not for C++. Is this true? Any ideas?
1
2047
by: amiben | last post by:
Hi everyone. I have an .asp file that is included in my sites pages which holds information in a string array. The array is so large that the include file is almost 900kb in size. Some array string items hold as much as 15,000 character long strings. Now, I have been getting error "800a03e9 out of memory" in some cases and I think it might be related to the include file's string array size. As anyone encountered something similar to...
4
2552
by: leegold58 | last post by:
Hi, Is there a "way around" the size limitation for Access? I'm thinking of something like spanning a huge table accross multiple databases... Something simple and that would preserve the integrity of the DB yet let me overcome the size limitation. Is there any best practice or technique?
1
12742
by: walsug | last post by:
hello, I created a named pipe by CreateNamedPipe(),but some bug arised in my application,which I think has something to do with the pipe buffer size(out buffer size and in buffer size),this size could be set to system minimum or system maximum,when assigned zero,the size is system default value. My question is : how can I get these values(max,min,default)?Especially the system default value. Is it variant under different OS?(Mine is windows...
0
9579
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9422
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10038
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9987
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9857
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8867
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5294
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3558
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2812
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.