|
| Https asp.net page request with file upload returns blank page |
 |
Thu, 3 Apr 2008 12:08:10 +0000 |
I am having a problem with my asp.net page that has input tags of type=file. I
am trying to upload files and process the byte stream for the HtmlInputFile
controls in the ASP.net code to save the files. While this works fine all the
time using HTTP, if I use HTTPS protocol, hitting submit causes a blank page to
return. This happens if I wait for about a minute or two before hitting submit.
If I do specify the files and hit submit under a minute, it works fine. I even
tried to disable the code that reads the HtmlInputFile byte streams to see if
the page will process, but I still get a blank page if I wait too long. What
gives? Here is the html source of the blank page that is returned:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html;
charset=windows-1252"></HEAD>
<BODY></BODY></HTML>
Thanks
|
| Post Reply
|
| Re: Https asp.net page request with file upload returns blank page |
 |
Thu, 3 Apr 2008 14:50:44 +0000 |
My upload files are rather small: around 30K. I thought that the size was an
issue, but checked my machine.config and the max size is set to 4096K:
<httpRuntime
executionTimeout="90"
maxRequestLength="4096"
useFullyQualifiedRedirectUrl="false"
minFreeThreads="8"
minLocalRequestFreeThreads="4"
appRequestQueueLimit="100"
enableVersionHeader="true"
/>
I tried going into my web.config for my application and overrode the httpruntime
tag with my own specifications for executionTimeout of 10 minute (600 secs) and
maxRequestLength of "10000" just to be sure, but this didn't help
either. It's definitely exhibiting some sort of timeout issue because it works
if I submit under a minute after the page loads. I don't know enough about IIS,
ASP.net, and SSL to know what setting this would be if it is a setting issue.
|
| Post Reply
|
| Re: Https asp.net page request with file upload returns blank page |
 |
Thu, 3 Apr 2008 16:34:58 +0000 |
how big is your upload file? what are your settings on the server for file
size?
|
| Post Reply
|
|
|
|
|
|
|
|
|
|