473,587 Members | 2,466 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

FileUpload size limits

I get the message "Not enough space for the file on this disk" whenever I try
to upload a jpg file using the FileUpload member in my web based C# program.
I increased the requestMaximum file size set to 8192K in the httpruntime
parameter in my web.config file and the file I am trying to upload is 5000K.
However, the program stops when the uploaded file reaches 3072K. I have
plenty of space on my server so I know that disk space is not a problem.
Does anyone have a clue as to why I am getting this error message and also
how to resolve it? Thanks.
Dave
Mar 25 '08 #1
2 1677
You might want to post "just enough" working sample code so that readers can
see what it is you are doing. Also, this is really more of an ASP.NET group
question than a c# language group one, so you might get better response by
posting it at the asp.net newsgroup.
-- Peter
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short Urls & more: http://ittyurl.net
"Parrot" wrote:
I get the message "Not enough space for the file on this disk" whenever I try
to upload a jpg file using the FileUpload member in my web based C# program.
I increased the requestMaximum file size set to 8192K in the httpruntime
parameter in my web.config file and the file I am trying to upload is 5000K.
However, the program stops when the uploaded file reaches 3072K. I have
plenty of space on my server so I know that disk space is not a problem.
Does anyone have a clue as to why I am getting this error message and also
how to resolve it? Thanks.
Dave
Mar 26 '08 #2
"Parrot" <Pa****@discuss ions.microsoft. comwrote in message
news:DE******** *************** ***********@mic rosoft.com...
>I get the message "Not enough space for the file on this disk" whenever I
try
to upload a jpg file using the FileUpload member in my web based C#
program.
I increased the requestMaximum file size set to 8192K in the httpruntime
parameter in my web.config file and the file I am trying to upload is
5000K.
However, the program stops when the uploaded file reaches 3072K. I have
plenty of space on my server so I know that disk space is not a problem.
Does anyone have a clue as to why I am getting this error message and also
how to resolve it? Thanks.
Dave
Check the time out values. There are three, but where they are I don't
remember.

Mike Ober.
Mar 26 '08 #3

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

Similar topics

2
28557
by: Kums | last post by:
What is the maximum permissible size of a database? Is there any limitation. What is the maximum # of tablespace's allowed in a database? Thanks for your response.
4
1543
by: ad | last post by:
I use a FileUpload control to upload a text file to web server. If the size of the file is larger (about 9M), the page will result in an "Can't find page" error after I press a button to access the file. But if the size of the file is small, it will be ok. Is there a limitation of FileUpload control?
12
15650
by: Phil Z. | last post by:
After migrating an ASP.NET 1.1 application to 2.0 we were getting "Cannot access a closed file" errors when uploading. I found a number of post on the subject and have since moved from using an Html File Input control to using the new FileUpload control. Previously, I had set the maxRequestLength attribute in the machine.config file to...
3
5164
by: rn5a | last post by:
The ASPX FileUpload control displays a TextBox along with a 'Browse...' Button. Setting the different properties of this control just reflects the changes in the TextBox but not the Button. For e.g. if the BackColor of a FileUpload control is set to blue, then only the TextBox color changes to blue but the BackColor of the Button doesn't...
0
7849
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...
0
8215
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8347
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...
0
6626
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...
1
5718
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3844
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...
0
3879
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2358
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1454
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.