Error in uploading file

W

wenqiang7

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?
 
S

Sarat Pediredla

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top