473,411 Members | 1,975 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,411 software developers and data experts.

Error in uploading file

I am encountering a very strang problem with file uploading in my
ASP.Net page.

When we try to upload certain file, we'll get an error msg of "Cannot
find server or DNS Error".

We are running on Win2003, IIS, ASP.Net 1.1.

The page works fine if running from localhost. It only has problem when
accessed from a domain name.

And it is definitely not related to the uploading limit, because the
files we're uploading are just around several hundred K. One PDF file
having problem is only 20K.

The page seems to work better with text and zip file, which can go
above 1M. But for certain file type, like PDF, Word, Exe, problem
occurs when the file size is bigger than 400K.

And we noticed that for PDF files, if the file does not contain image,
than the upload gets to work upto a big size. But if the file contains
image, then it does not work at all, at least for all the files we
tested.

We really have not clue of the cause? And why the problem occurs only
on certain file type and content?

We suspected the Firewall, but the Firewall admin refused to help us
diagnose. And insisted that the problem is with the application.

Does any of the Guru in the group have any idea?

Aug 20 '06 #1
1 2056
If the firewall admin is reluctant to help (and from this scenario it
seems a bizzare one) then there is not much can be done through the
application. Unless we go through every line of code that is involved
in this use case ofcourse.

I would recommend buying the firewall admin a beer and getting him to
look into it :)

Sarat

we*******@gmail.com wrote:
I am encountering a very strang problem with file uploading in my
ASP.Net page.

When we try to upload certain file, we'll get an error msg of "Cannot
find server or DNS Error".

We are running on Win2003, IIS, ASP.Net 1.1.

The page works fine if running from localhost. It only has problem when
accessed from a domain name.

And it is definitely not related to the uploading limit, because the
files we're uploading are just around several hundred K. One PDF file
having problem is only 20K.

The page seems to work better with text and zip file, which can go
above 1M. But for certain file type, like PDF, Word, Exe, problem
occurs when the file size is bigger than 400K.

And we noticed that for PDF files, if the file does not contain image,
than the upload gets to work upto a big size. But if the file contains
image, then it does not work at all, at least for all the files we
tested.

We really have not clue of the cause? And why the problem occurs only
on certain file type and content?

We suspected the Firewall, but the Firewall admin refused to help us
diagnose. And insisted that the problem is with the application.

Does any of the Guru in the group have any idea?
Aug 20 '06 #2

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

Similar topics

7
by: Joe | last post by:
I have an upload file operation in the web application. UploadForm.asp is the form, and UploadAction.asp is the form processing. //UploadForm.asp <FORM NAME="InputForm"...
5
by: hb | last post by:
Hi, In my ASP.Net application 'MyWebApp' , the mode="StateServer" in <sessionState> of Web.config file, and the ASP.NET State Service is set to start automatically on the server. But every...
5
by: Nathan Sokalski | last post by:
I am trying to write code to allow my users to upload a file. The code I am using is as follows: Dim upfilename As String = "" If fileDetails.Value <> "" AndAlso...
3
by: J055 | last post by:
Hi How do I tell the user he has tried to upload a file which is too big... 1. when the httpRuntime.maxRequestLength has been exceeded and 2. when the uploaded file is under then...
8
by: ctiggerf | last post by:
I was hopeing someone could help me out here. Been stumped on this one all day. This function 1. Checks uploaded files. 2. Creates two resized images from each (a full size, and a...
2
by: Yasin Cepeci | last post by:
Server Error in '/' Application. -------------------------------------------------------------------------------- Access to the path...
0
by: PerumalSamy | last post by:
Hi, I am getting following error while uploading my project in web. Description: An error occurred during the processing of a configuration file required to service this request. Please review...
1
by: chrisj | last post by:
I'm using freeASPupload and got some assistance integrating to a Member script. It works successfully. In this modified version there are two groups that use this upload script. Members of one...
4
rahulephp
by: rahulephp | last post by:
i think i am missing something in the below script: It shows error an do not upload files to destination: Let me know how to solve this: <?php if (isset($_POST)) { $uploadArray=...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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,...
0
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...
0
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.