Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

encType="multipart/form-data" causing connection to be lost??

Status
Not open for further replies.

iaresean

Programmer
Mar 24, 2003
570
ZA
Hi all;

I have an asp page that allows the user to upload a file the problem is that it is causing the web connection to be lost.

I get the following error message:
- Error Code 64: Host not available
- Background: The connection to the Web server was lost.

The wierd thing is that as soon as I drop the encType="multipart/form-data" from the form tag the page posts fine, but the file obviously can't be saved then.

Has anyone else experienced this problem? I am guessing it might have something to do with the web server. I thinks it's a windows 2000 server.

Any and all help/advice would be greatly appreciated! I am completely stumped on this one.

Sean. [peace]
 
Perhaps the file is too big and the connection times-out (although, I would think it would give you an error indicating a "time-out error" rather than just being lost).

I can't say that I've encountered that before. I wouldn't necessarily blame it on Windows 2000 though. That is a good server, and continues to be even to today for many large businesses...including ours.


-Ovatvvon :-Q
 
Hi Ovatvvon,

Thanks for the response. I don't think it is a timeout issue, like you said the error code would be more explicit in that case.

Here is some additional info regarding my problem:

The page bombs out at the post it doesn't get to any processing. I put a response.write and response.end at the top of the recieving page that the first page posts to, but it didn't even get there.


I am praying that someone on tek-tips can help me out here, cause all my research into this matter has proved fruitless.


Sean. [peace]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top