M
Michael Holly
I am having an intermittant error when trying to do a file
upload in my application.
Environment
XP, 2000
IE 6.0 SP1, and other variants (patches).
Request runs through a reverse proxy server which
redirects the request to the proper url.
We are using https.
Description
When attempting the upload. Microsoft IE 6.0 returns
immediately (not a timeout)
with a "Page can not be displayed" error. The browser
does attempt to send the
request. We have verified that there is no traffic coming
form the ip when the
upload is submitted. We are testing with other browsers
to try to recreate the error
All other requests (mixture of GETs and POSTs) to this
site work correctly. My
source for the form is below.
The upload page is a javascript window spawned from the
main application window.
Other references
Internet Explorer does not upload a file to an HTTPS URL
and requires SSL client authentication
http://support.microsoft.com/default.aspx?scid=kb;en-
us;815764&Product=ie600
Workaround
Make a reference on the page to a image to allow a secure
connection to be authenticated before the
upload is attempted.
Results
No help
"The Page Cannot Be Displayed" Error Message When You Try
to Upload a File to a Web Server
Microsoft Knowledge Base Article - 822753
http://support.microsoft.com/default.aspx?scid=kb;en-
us;822753&Product=ie600
Workaround
clear the Show friendly HTTP error messages check box in
Internet Options
Results
No help
Page Source------------------------------------------------
---------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN">
<html>
<head>
<title>Upload a Balance File</title>
<meta name="Generator" content="TextPad 4.4">
<meta name="Author" content="Michael Holly">
<meta name="Keywords" content="?">
<meta name="Description" content="Upload a balanace
file">
<style type="text/css">
<!--
a { font-size: x-small; font-family:sans-
serif; font-weight: bold; color: #000090;}
body { background-color: #DDDDDD; }
div { font-family:sans-serif; background-
color:#C0C0C0;}
td { font-size: x-small; font-family:sans-
serif; font-weight: bold; color: #000090;}
button { font-size: x-small; font-family:sans-
serif; font-weight: bold; color: #000090;}
-->
</style>
<script type="text/javascript">
<!--
function getRef(obj){
if(typeof obj == "string")
obj= document.getElementById(obj);
return obj;
}
function setStyle(obj, style, value){
getRef(obj).style[style]= value;
}
// end script -->
</script>
</head>
<body scroll="no">
<div style="position:absolute; width:99%; height:34;
top:5; left:3; border:2px solid #000080;" >
<table width="99%" style="width:100%; padding: 2"
border="0">
<tr valign="middle">
<td align="left" width="25%">
<button value="Upload" title="Upload"
onclick="document.uploadFrm.submit(); window.status
= 'Uploading.... Please wait'; document.body.style.cursor
= 'wait'; return true;">Upload</button>
</td>
<td width="50%" align="center">Upload</td>
<td align="right" width="*">
</td>
</tr>
</table>
</div>
<div style="position:absolute; width:99%; height:*;
top:45; left:3; background-color: #DDDDDD;" >
<table border="0" style="width:99%;">
<tr style="color:red; background-color: #DDDDDD;">
<td>
<font color="FF0000" face="arial" style="font-size: x-
small">
</font>
</td>
</tr>
<tr style="align: left; width: 99%; background-color:
#DDDDDD;">
<form name="uploadFrm" action="../jsp" method="post"
enctype="multipart/form-data">
<input type="hidden" name="user" value="mholly" />
<input type="hidden" name="action" value="upload" />
<td>
<table align="left" cellspacing=0 cellpadding=5
width="99%" style="font-size: x-small; font-weight: bold;
color: #000090">
<tr style="background-color: #DDDDDD; font-
face:courier; color:#000090;" title="Select the balance
file to be uploaded.">
<td align="right" width="20%">File:</td>
<td align="left"><input type="file"
name="upload_file" style="width:100%;"/></td>
</tr>
<tr style="background-color: #DDDDDD; font-
face:courier; color:#000090;">
<td align="left"><input type="hidden"
name="aba_routing_number" value="123456789" /></td>
</tr>
</table>
</td>
</form>
</tr>
</table>
</div>
<!-- reference required for MS kb 815764 --/>
<img src="../jsp/../images/logo.gif" width="0" height="0"
border="0" alt="">
<script>
window.status = "Report Upload screen loaded."
</script>
</body>
</html>
Page Source------------------------------------------------
---------------------------
Any help would be appreciated.
Thanks
Michael Holly
upload in my application.
Environment
XP, 2000
IE 6.0 SP1, and other variants (patches).
Request runs through a reverse proxy server which
redirects the request to the proper url.
We are using https.
Description
When attempting the upload. Microsoft IE 6.0 returns
immediately (not a timeout)
with a "Page can not be displayed" error. The browser
does attempt to send the
request. We have verified that there is no traffic coming
form the ip when the
upload is submitted. We are testing with other browsers
to try to recreate the error
All other requests (mixture of GETs and POSTs) to this
site work correctly. My
source for the form is below.
The upload page is a javascript window spawned from the
main application window.
Other references
Internet Explorer does not upload a file to an HTTPS URL
and requires SSL client authentication
http://support.microsoft.com/default.aspx?scid=kb;en-
us;815764&Product=ie600
Workaround
Make a reference on the page to a image to allow a secure
connection to be authenticated before the
upload is attempted.
Results
No help
"The Page Cannot Be Displayed" Error Message When You Try
to Upload a File to a Web Server
Microsoft Knowledge Base Article - 822753
http://support.microsoft.com/default.aspx?scid=kb;en-
us;822753&Product=ie600
Workaround
clear the Show friendly HTTP error messages check box in
Internet Options
Results
No help
Page Source------------------------------------------------
---------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN">
<html>
<head>
<title>Upload a Balance File</title>
<meta name="Generator" content="TextPad 4.4">
<meta name="Author" content="Michael Holly">
<meta name="Keywords" content="?">
<meta name="Description" content="Upload a balanace
file">
<style type="text/css">
<!--
a { font-size: x-small; font-family:sans-
serif; font-weight: bold; color: #000090;}
body { background-color: #DDDDDD; }
div { font-family:sans-serif; background-
color:#C0C0C0;}
td { font-size: x-small; font-family:sans-
serif; font-weight: bold; color: #000090;}
button { font-size: x-small; font-family:sans-
serif; font-weight: bold; color: #000090;}
-->
</style>
<script type="text/javascript">
<!--
function getRef(obj){
if(typeof obj == "string")
obj= document.getElementById(obj);
return obj;
}
function setStyle(obj, style, value){
getRef(obj).style[style]= value;
}
// end script -->
</script>
</head>
<body scroll="no">
<div style="position:absolute; width:99%; height:34;
top:5; left:3; border:2px solid #000080;" >
<table width="99%" style="width:100%; padding: 2"
border="0">
<tr valign="middle">
<td align="left" width="25%">
<button value="Upload" title="Upload"
onclick="document.uploadFrm.submit(); window.status
= 'Uploading.... Please wait'; document.body.style.cursor
= 'wait'; return true;">Upload</button>
</td>
<td width="50%" align="center">Upload</td>
<td align="right" width="*">
</td>
</tr>
</table>
</div>
<div style="position:absolute; width:99%; height:*;
top:45; left:3; background-color: #DDDDDD;" >
<table border="0" style="width:99%;">
<tr style="color:red; background-color: #DDDDDD;">
<td>
<font color="FF0000" face="arial" style="font-size: x-
small">
</font>
</td>
</tr>
<tr style="align: left; width: 99%; background-color:
#DDDDDD;">
<form name="uploadFrm" action="../jsp" method="post"
enctype="multipart/form-data">
<input type="hidden" name="user" value="mholly" />
<input type="hidden" name="action" value="upload" />
<td>
<table align="left" cellspacing=0 cellpadding=5
width="99%" style="font-size: x-small; font-weight: bold;
color: #000090">
<tr style="background-color: #DDDDDD; font-
face:courier; color:#000090;" title="Select the balance
file to be uploaded.">
<td align="right" width="20%">File:</td>
<td align="left"><input type="file"
name="upload_file" style="width:100%;"/></td>
</tr>
<tr style="background-color: #DDDDDD; font-
face:courier; color:#000090;">
<td align="left"><input type="hidden"
name="aba_routing_number" value="123456789" /></td>
</tr>
</table>
</td>
</form>
</tr>
</table>
</div>
<!-- reference required for MS kb 815764 --/>
<img src="../jsp/../images/logo.gif" width="0" height="0"
border="0" alt="">
<script>
window.status = "Report Upload screen loaded."
</script>
</body>
</html>
Page Source------------------------------------------------
---------------------------
Any help would be appreciated.
Thanks
Michael Holly