Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

When I try clicking on a zip file link on a web page, IE 7 tries to open it as an XML document and displays:

The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again.

I get around this by right-clicking and using Save Target As... Double clicking on a .zip in the file system opens my zip program without problems.

How do I fix this problem?

share|improve this question
add comment

3 Answers

I found that the registry key of

HKU_CLASSES_ROOT\.zip

key had a Content Type of "text\xml". I changed it to "application/x-zip-compressed" and IE now downloads zip files correctly. I have XMLSpy 2010 installed and my theory is that the installation of XMLSpy caused this problem.

To fix it, run regedit.exe and navigate to the key listed above and change the Content Type to "application/x-zip-compressed" (remove the quotes).

share|improve this answer
    
You can accept your own answer. –  kinokijuf Aug 19 '12 at 13:35
    
I'm having a similar problem, and this seems to have fixed it for me with Internet Explorer 8, but not Chrome or Safari. Maybe those other browsers are using different heuristics for determining the file type. –  theglauber Oct 24 '12 at 19:59
add comment

Does this happen with every website? Or just a specific website? If so, could you give the link to that specific website?

share|improve this answer
add comment

You can simply change the file association:

  • Open My Computer
  • On the Tools menu, click Folder Options
  • Click the File Types tab.
  • In the Registered file types list, click the zip file type
  • In the Details for ZIP Extension section, click change to change what program it opens with, and set it to your zip program
  • Click OK.
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.