By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,574 Members | 2,966 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,574 IT Pros & Developers. It's quick & easy.

Error in uploading file

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.