Article ID: 328002 - Last Review: February 1, 2007 - Revision: 4.3

You cannot connect to Terminal Services from a Web page

This article was previously published under Q328002
Expand all | Collapse all

SYMPTOMS

You may receive a script error message or a blank page when you try to connect to a Terminal Services computer from a Web page after you install Windows XP Service Pack 1 (SP1), Internet Explorer 6 SP1, or the security patch discussed in the following Microsoft Knowledge Base article:
323759  (http://support.microsoft.com/kb/323759/ ) MS02-047: August 22, 2002, Cumulative Patch for Internet Explorer
Under these circumstances, your connection attempt is unsuccessful.

CAUSE

This behavior occurs because the Web site uses one of the following Terminal Services ActiveX controls that Internet Explorer blocks for security reasons:
  • Terminal Services Advanced Client (TSAC) 1.0 ActiveX control - GUID: {1fb464c8-09bb-4017-a2f5-eb742f04392f}
  • Microsoft Windows XP version of the TSAC - GUID: {791fa017-2de3-492e-acc5-53c67a2b94d0}
  • Microsoft Windows .NET beta versions of the TSAC - GUID: {931a8c29-3ea9-494d-91e7-22e9a9247687}
The only GUID that will work in Internet Explorer after you install Windows XP SP1, Internet Explorer 6 SP1, or the security patch described in the "Symptoms" section of this article is the following:
{9059f30f-4eb1-4bd2-9fdc-36f43a218f4a}

RESOLUTION

To resolve this issue, contact the administrator of the Web server. If you are an administrator, you can obtain and install the new control immediately. To do so, visit the following Microsoft Web site:
http://www.microsoft.com/windowsxp/downloads/tools/rdwebconn.mspx (http://www.microsoft.com/windowsxp/downloads/tools/rdwebconn.mspx)
NOTE: This update must be performed on the Web Server hosting Active Server pages that reference these ActiveX controls.

Administrators of the Terminal server and Web developers may also have to modify existing Active Server Pages (ASP) code to load the updated control. To do so, open the ASP files in a text editor such as Notepad, and change any Object tags that refer to the Terminal Services ActiveX control so that the Clsid and Codebase attributes reference the following new values:
  • CLASSID="CLSID:9059f30f-4eb1-4bd2-9fdc-36f43a218f4a"

  • CODEBASE="msrdp.cab#version=5,1,2600,1095"
NOTE: The updated Terminal Services ActiveX control package automatically replaces the Clsid and Codebase attributes in the default Web page and changes the ID attribute to MsRdpClient. If you use custom code to script the Terminal Services ActiveX control, make sure that your code uses the same ID attribute in the OBJECT tag that you reference elsewhere in your custom code.

For additional information about this issue, click the following article number to view the article in the Microsoft Knowledge Base:
327521  (http://support.microsoft.com/kb/327521/ ) MS02-046: Buffer overrun in TSAC ActiveX control might allow code execution

STATUS

This behavior is by design.

APPLIES TO
  • Microsoft Internet Explorer 5.5 Service Pack 1
  • Microsoft Internet Explorer 5.5 Service Pack 2
  • Microsoft Internet Explorer 5.01
  • Microsoft Internet Explorer 5.0
  • Microsoft Internet Explorer 4.01 Service Pack 1
  • Microsoft Internet Explorer 4.01 Service Pack 2
  • Microsoft Internet Explorer 4.0 128-Bit Edition
  • Microsoft Internet Explorer 6.0, when used with:
    • Microsoft Windows XP Home Edition
    • Microsoft Windows XP Professional
    • Microsoft Windows XP Media Center Edition
    • Microsoft Windows XP Tablet PC Edition
    • Microsoft Windows XP Professional x64 Edition
    • Microsoft Windows 2000 Advanced Server
    • Microsoft Windows 2000 Datacenter Server
    • Microsoft Windows 2000 Professional Edition
    • Microsoft Windows 2000 Server
    • Microsoft Windows NT Server 4.0 Standard Edition
    • Microsoft Windows NT Server 4.0, Terminal Server Edition
    • Microsoft Windows NT Workstation 4.0 Developer Edition
    • Microsoft Windows Millennium Edition
    • Microsoft Windows 98 Second Edition
    • Microsoft Windows 98 Standard Edition
Keywords: 
kbnofix kbprb KB328002
 

Article Translations