Microsoft KB Archive/321477

= 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 </li></ul>

-

<div class="notice_section">

This article was previously published under Q321477

<div class="symptoms_section">

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.

<div class="cause_section">

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

<div class="status_section">

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

<div class="moreinformation_section">

Steps to Reproduce the Problem
<ol>  Create the following Hypertext Markup Language (HTML) page: <a target=&quot;newWindow&quot; href=&quot;http://www.microsoft.com/&quot;>Microsoft</a> <a target=&quot;newWindow&quot; href=&quot;http://www.msn.com&quot;>MSN</a> </li> 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.</li> Log on to the Terminal server. Internet Explorer is the only window that opens.</li> Click both links on your home page.</li></ol>

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

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© 2004 Microsoft Corporation. All rights reserved.