Err Msg: Connect Failed! Could Not Open a Connection to...

ID: Q183969


The information in this article applies to:
  • Microsoft Windows 95
  • Microsoft Windows 98

IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe.

SYMPTOMS

When you type the "telnet://<site>" command line in the Address box in Microsoft Internet Explorer, or in the Open box in the Run dialog box, you may receive one of the following error messages:

Connect failed!
Host Name: <site>/
-or-
Connect failed!
Could not open a connection to <site>/


CAUSE

This behavior can occur if you modify the association for Telnet.exe. When you modify the association for Telnet.exe, a "%1" entry is automatically inserted in the registry. When you attempt to connect to a site, the "%1" entry in the registry adds an invalid "/" symbol to the end of the Telnet site location.


RESOLUTION

WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

For information about how to edit the registry, view the "Changing Keys And Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it.

To resolve this issue, remove the "%1" entry from the (Default) value in the following registry key:


HKEY_LOCAL_MACHINE\Software\Classes\telnet\shell\open\command

Before you make this change, the (Default) value displays the following data value:

rundll32.exe url.dll,TelnetProtocolHandler %l %1

After you make this change, the data value for the (Default) value should be:
rundll32.exe url.dll,TelnetProtocolHandler %l

NOTE: The final character, after you remove the "%1" entry, is a lower- case L.

Keywords : kberrmsg kbtool win95
Version : WINDOWS:95
Platform : WINDOWS
Issue type : kbprb


Last Reviewed: February 2, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.