Microsoft KB Archive/935579

From BetaArchive Wiki

Article ID: 935579

Article Last Modified on 10/27/2007



APPLIES TO

  • Windows Internet Explorer 7



Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry


SYMPTOMS

Consider the following scenario:

  • You create a Web page in an inline frame.
  • The Web page contains a link to an external document such as a PDF file.
  • You use a script block to reference the document object.
  • You access the external document by using the link in the inline frame in Windows Internet Explorer 7.

In this scenario, the value of the document object is returned as "undefined."

Note This problem does not occur if you use an inline script to reference the document object.

RESOLUTION

Security update information

To resolve this problem, install the most current cumulative security update for Internet Explorer. To install the most current updates, visit the following Microsoft Web site:

For more technical information about the most current cumulative security update for Internet Explorer, visit the following Microsoft Web site:

Note This fix was first included in security update 937143 (MS07-045). For more information, click the following article number to view the article in the Microsoft Knowledge Base:

937143 MS07-045: Cumulative Security Update for Internet Explorer


Hotfix information

Prerequisites

You must have Internet Explorer 7 installed to apply this hotfix.

Restart requirement

You must restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

Windows Vista, 32-bit versions
File name File version File size Date Time Platform
Ieframe.dll 7.0.6000.20578 6,059,008 13-Apr-2007 02:36 x86
Ieui.dll 7.0.6000.20578 180,736 13-Apr-2007 02:36 x86
Windows Vista, 64-bit versions
File name File version File size Date Time Platform
Ieframe.dll 7.0.6000.20578 7,059,456 13-Apr-2007 03:38 x64
Ieui.dll 7.0.6000.20578 228,352 13-Apr-2007 03:38 x64
Microsoft Windows Server 2003, x86-based versions
File name File version File size Date Time Platform
Ieframe.dll 7.0.6000.20579 6,059,008 19-Apr-2007 18:16 x86
Windows Server 2003, x64-based versions
File name File version File size Date Time Platform Service pack (SP) requirement Service branch
Ieframe.dll 7.0.6000.20579 7,059,456 19-Apr-2007 04:36 x64 SP2 Not applicable
Wieframe.dll 7.0.6000.20579 6,059,008 19-Apr-2007 04:36 x86 SP2 WOW
Windows Server 2003, Itanium-based versions
File name File version File size Date Time Platform Service pack (SP) requirement Service branch
Ieframe.dll 7.0.6000.20579 11,550,208 19-Apr-2007 04:38 IA-64 SP2 Not applicable
Wieframe.dll 7.0.6000.20579 6,059,008 19-Apr-2007 04:38 x86 SP2 WOW
Microsoft Windows XP
File name File version File size Date Time Platform
Ieframe.dll 7.0.6000.20579 6,059,008 19-Apr-2007 17:45 x86

Registry information

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

After you apply this hotfix, you must enable this hotfix. To do this, follow these steps:

  1. Make sure that you exit Internet Explorer.
  2. Click Start, click Run, type regedit in the Open box, and then click OK.
  3. Locate the following registry subkey, and then click the following registry subkey:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl

  4. On the Edit menu, point to New, and then click Key.
  5. Type FEATURE_DISCONNECT_WEBOC_WHEN_NOT_DOCHOSTING_KB935579, and then press ENTER.
  6. Click FEATURE_DISCONNECT_WEBOC_WHEN_NOT_DOCHOSTING_KB935579.
  7. On the Edit menu, point to New, and then click DWORD Value.
  8. Type Iexplore.exe, and then press ENTER.
  9. Right-click Iexplore.exe, and then click Modify.
  10. In the Value data box, type 1, and then click OK.


STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates


Steps to reproduce the problem

  1. Create an HTML page that contains the following code:

    <html>
    <body>
    Below is an inline frame<br>
    <iframe src="test.htm" width="90%" height="90%"></iframe>
    </body>
    </html>
  2. Save the HTML page that you created in step 1 as Frame.htm.
  3. Create and then save a Portable Document Format (PDF) file that is named Test.pdf.
  4. Create an HTML page that contains the following code:

    <html>
    <body>
    <a href="test.pdf">Test.pdf</a><br>
    <button onclick="Test2()">Show document from script block</button><br>
    <button onclick="alert(document)">Show document from inline script</button>
    <script language="javascript">
    function Test2()
    {
        alert(document);
    }
    </script>
    </body>
    </html>
  5. Save the HTML page that you created in step 4 as Test.htm.
  6. Configure Adobe Reader so that PDF files can be opened externally. To do this, follow these steps:
    1. Open Adobe Reader.
    2. On the Edit menu, click Preferences.
    3. In the Preferences dialog box, click Internet in the Categories list.
    4. In the Web Browser Options area, click to clear the Display PDF in browser check box, and then click OK.
  7. If you are prompted to restart the computer, restart the computer.
  8. In Internet Explorer 7, open the Frame.htm file.
  9. Click the link in the inline frame. The content of the PDF file appears.
  10. Click Show document from script block. You receive the following warning message:

    undefined

    Note If you click Show document from inline script, this problem does not occur.

The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, about the performance or reliability of these products.

Keywords: kbfix kbqfe kbpubtypekc atdownload kbhotfixserver KB935579