473,322 Members | 1,614 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

strange file upload behaviour (404 with one pdf but not with another)

Hi

Maybe there is an oracle out there who can help.

I have an aspx site and a simple fileupload control on it.
Everything works fine except:
I can reproduce an 404 error when trying to upload some files.
It only happens when trying to upload PDF Files, and not on every PDF
File.

Let me illustrate this
xy.pdf - upload no problem
ab.pdf - 404 - Cannot find server or DNS Error

There are more pdf's where the problem occurs and also some others
where it does not..

The error comes within a millisecond as if IE does not try to upload.

What the heck is this...?

Jun 26 '06 #1
3 1617
i bet you the one that doesn't work is over 4 megs right?
mi*****@gmx.net wrote:
Hi

Maybe there is an oracle out there who can help.

I have an aspx site and a simple fileupload control on it.
Everything works fine except:
I can reproduce an 404 error when trying to upload some files.
It only happens when trying to upload PDF Files, and not on every PDF
File.

Let me illustrate this
xy.pdf - upload no problem
ab.pdf - 404 - Cannot find server or DNS Error

There are more pdf's where the problem occurs and also some others
where it does not..

The error comes within a millisecond as if IE does not try to upload.

What the heck is this...?


Jun 26 '06 #2
max upload size in asp.net is 4 MB

you can change this in web.config:

<httpRuntime maxRequestLength="size in kbytes" />

asp.net uploads files into memory, so a 1 GB upload will take 1 GB of
memory on your server. if you want to upload big files, you'll need to
buy an upload component that streams uploaded files to disk.

mi*****@gmx.net wrote:
Hi

Maybe there is an oracle out there who can help.

I have an aspx site and a simple fileupload control on it.
Everything works fine except:
I can reproduce an 404 error when trying to upload some files.
It only happens when trying to upload PDF Files, and not on every PDF
File.

Let me illustrate this
xy.pdf - upload no problem
ab.pdf - 404 - Cannot find server or DNS Error

There are more pdf's where the problem occurs and also some others
where it does not..

The error comes within a millisecond as if IE does not try to upload.

What the heck is this...?


Jun 26 '06 #3
Bet won!

That was the problem...

Tanks a lot!
ne**********@gmail.com wrote:
max upload size in asp.net is 4 MB

you can change this in web.config:

<httpRuntime maxRequestLength="size in kbytes" />

asp.net uploads files into memory, so a 1 GB upload will take 1 GB of
memory on your server. if you want to upload big files, you'll need to
buy an upload component that streams uploaded files to disk.

mi*****@gmx.net wrote:
Hi

Maybe there is an oracle out there who can help.

I have an aspx site and a simple fileupload control on it.
Everything works fine except:
I can reproduce an 404 error when trying to upload some files.
It only happens when trying to upload PDF Files, and not on every PDF
File.

Let me illustrate this
xy.pdf - upload no problem
ab.pdf - 404 - Cannot find server or DNS Error

There are more pdf's where the problem occurs and also some others
where it does not..

The error comes within a millisecond as if IE does not try to upload.

What the heck is this...?


Jun 27 '06 #4

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

Similar topics

1
by: Muppy | last post by:
I've created a page with a form to upload files: <h1>Upload di un file</h1> <form enctype="multipart/form-data" method="post" action="do_upload1.php"> <p><strong>File da trasferire:</strong><br>...
1
by: Kareem Badr | last post by:
I was having permission problems, so I'm using a test file to make sure uploading works. upload.php successfully uploads a file to the images/bookcovers dir: <html> <form method="post"...
14
by: Aaron | last post by:
On my website I have a dynamic link(aspx) to this file 0AX120S.jpg(privacy protection). When a visitor clicks on the link I want them to see my_vacation_pic.jpg (fetch realname from database) is...
5
by: Shapper | last post by:
Hello, I just upload my web site to my hosting server and when I access it I always get an error: "Redicterion limit for this URL exceeded. Unable to load the requested page" Does anyone...
2
by: Alex Grefu | last post by:
Hello everyone! I have a problem that it's gonne drive me crazy... I have an intranet web application that has an upload module. I did it, test it and it's working on my development...
0
by: Oscar Thornell | last post by:
Hi, I use the xsd.exe tool to generate C# classes from an Xml schema. We can call the root object "MyObject" for simplicity... I expose "MyObject" in a web service like this... public void...
2
by: rodmc | last post by:
I have written an application which uses threads and the XMPP library - this is a library which supports the jabber instant messaging protocol. The application works fine when run from Idle,...
4
by: kianskee | last post by:
I am encountering an error HTTP 404 - File not found. It seems that when I upload a file with a symbol # in the filename, this error occurs (e.g. case#2.pdf). I cannot access the file I uploaded....
13
by: MCPD | last post by:
hello i have an aspx page that write in javascript its too small file when i upload it to my website i got an error Server Error in '/' Application....
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.