Jump to content

IE8 gives "Internet Explorer cannot display the webpage" when uploading file using fileUpload,...


Guest gmoney67

Recommended Posts

Guest gmoney67

Hello,

I just ran into this problem when my company switched our computers to windows 7, which means also using IE 8. I am getting complaints by users regarding a tool that my team supports. One aspect of the tool is that it takes in a specified xml file, parses the data, and adds the data to a database.

This tool worked as expected in IE 7, however when using IE 8 this portion of the tool seems to be broken (or just quirky, more on that later).

The file concerning this function is a jsp file, however I am using an HTML form to use fileUpload. Once the user selects a file, it is validated (to make sure it starts with a letter, colon, \ i.e. "C:\user\file.xml").

The file is passed by using document.uploadform.fileUpload.value

I will also say that these files are small in size (averaging around 10 kb). A popup then informs the user whether the upload was successful or unsuccessful. It is then parsed and added to the database.

The problem I'm having is that I am receiving an "Internet Explorer cannot display the webpage" generic error in the popup screen.

The interesting part is that if I click "Diagnose Connection Problems" another popup comes up informing me that Troubleshooting couldn't identify the problem, but then if I close that window, the original window then changes to a "Successful Upload" statement. I can then do subsequent uploads without problem, until I close IE and bring it back up, starting the cycle over again. I have informed the users of this workaround, however it only works for some and not others (some still get the original "Cannot display..." message every time.

From the research I've done, it seems that one thing that changed in IE8 which may be causing this problem is that by default, IE8 does not send the local directory path when uploading a file. Do you think this is my problem? I cannot try to add the site to my trusted sites, as I do not have permission and would have to call our local help desk. If this is the issue, however, I can inform our help desk that this needs to be done.

Any insight is greatly appreciated. Thanks!

 

Continue reading...

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Popular Days

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...