Microsoft KB Archive/321477

From BetaArchive Wiki
Knowledge Base


TargetName Does Not Work If Internet Explorer Is the Startup Application in Terminal Services Session or the Shell for the Operating System

PSS ID Number: 321477

Article Last Modified on 5/12/2003



The information in this article applies to:

  • Microsoft Internet Explorer (Programming) version 6.0, when used with:
    • the operating system: Microsoft Windows XP
    • the operating system: Microsoft Windows 2000
  • Microsoft Internet Explorer (Programming) 5.5 SP2, when used with:
    • the operating system: Microsoft Windows NT 4.0



This article was previously published under Q321477

SYMPTOMS

When you click a link that has a specified target in Internet Explorer, a new window always opens even if the target window is already open. This only occurs if Internet Explorer is the shell for the operating system or if it is the startup application in a Terminal Services session.

CAUSE

This problem occurs when you create a new window in Internet Explorer and you do not set the WindowName variable.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

Steps to Reproduce the Problem

  1. Create the following Hypertext Markup Language (HTML) page:

    <html>
    <head>
    </head>
    <body>
    <a target="newWindow" href="http://www.microsoft.com/">Microsoft</a>
    <a target="newWindow"  href="http://www.msn.com">MSN</a>
    </body>
    </html>
                        
  2. Set up your Windows 2000-based Terminal server to use Internet Explorer as the startup application, and then set the HTML page that you created in step 1 as the home page.
  3. Log on to the Terminal server. Internet Explorer is the only window that opens.
  4. Click both links on your home page.

Typically you have only two windows: one for the home page and the other that contains the link that you clicked in the first window.

If you set Internet Explorer as the startup application on the Terminal server, a new window opens each time instead of refreshing the same target window. This behavior also occurs when when Internet Explorer is set as the shell for the operating system.

Keywords: kbbug kbnofix KB321477
Technology: kbAudDeveloper kbIEsearch kbOSWin2000 kbOSWinNT400 kbOSWinNTSearch kbOSWinSearch kbOSWinXP kbOSWinXPSearch kbSDKIE550SP2 kbSDKIESearch