Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

You receive a nonsecure items message in Internet Explorer when you open an HTML workbook that does not contain nonsecure items in Excel


View products that this article applies to.

Symptoms

You save a Microsoft Excel multi-sheet workbook as a Web page (.htm or .html file). Then, you use Secure Sockets Layer (SSL) to view the workbook from a Web site in Microsoft Internet Explorer 6 or in a later version of Windows Internet Explorer. When you do this, you receive the following message:
This page contains both secure and nonsecure items. Do you want to display the nonsecure items?
The workbook does not contain nonsecure items. The message is misleading.

↑ Back to the top


Cause

Excel adds script code in the workbook. The script code adds empty HREF tags to frames that are controlled by script. Because of a change in Internet Explorer behavior, Internet Explorer treats an empty HREF tag as an HTTP resource. Internet Explorer treats this HTTP resource as insecure because the page itself came from an HTTPS Web site. Therefore, you receive the message about the nonsecure items.

↑ Back to the top


Workaround

To work around this problem, save the workbook as a single file Web page (.mht or .mhtml file). To do this, follow these steps, as appropriate for the version of Excel that you are running.

Microsoft Office Excel 2007

  1. Click the Microsoft Office Button, and the click Save As.
  2. In the Save as type box, click Single File Web Page (*.mht; *.mhtml).
  3. Type the file name in the File name box, and then click Save.

Microsoft Office Excel 2003 and earlier versions of Excel

  1. On the File menu, click Save as Web Page.
  2. In the Save as type box, click Single File Web Page (*.mht; *.mhtml).
  3. Type the file name in the File name box, and then click Save.

↑ Back to the top


Keywords: KB827404, kberrmsg, kbprb, kbinfo, kbopenfile, kbexpertisebeginner

↑ Back to the top

Article Info
Article ID : 827404
Revision : 4
Created on : 1/23/2007
Published on : 1/23/2007
Exists online : False
Views : 303