Article ID: 953492 - Last Review: May 22, 2008 - Revision: 1.0

TFS30421 Error when trying to connect from Team Explorer

System TipThis article applies to a different operating system than the one you are using. Article content that may not be relevant to you is disabled.
Expand all | Collapse all
Source: Microsoft Support

RAPID PUBLISHING

RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION. THE INFORMATION CONTAINED HEREIN IS CREATED IN RESPONSE TO EMERGING OR UNIQUE TOPICS, OR IS INTENDED SUPPLEMENT OTHER KNOWLEDGE BASE INFORMATION.

Action

You attempt to connect to Team Foundation Server 2005 or 2008 from Team Explorer.

Result



The following error appears:

TF30421: Team Explorer could not connect to Team Foundation server <servername>. The server may be offline
or the network is unavailable. Contact your Team Foundation Server Administrator to confirm that the server is available on the network.
Use the connect to Team Foundation Server Command on the Tools menu to retry your connection to the server.

The server returned the following error:Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.VisualStudio.OLE.Interop.IServiceProvider'. This operation failed
because the QueryInterface call on the COM component for the interface with IID
'{6D5140C1-7436-11CE-8034-00AA006009FA}' failed due to the following error: No such
interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).

Resolution



Try manually registering the following files:

Urlmon.dll
Mshtml.dll
Actxprxy.dll
Oleaut32.dll
Shell32.dll
Shdocvw.dll

For example, click on Start, and then choose Run, and in the Run dialog type:

regsvr32 Urlmon.dll

You don't have to specify the path when registering the files, but these files are located in the %windir%\system32 folder.

If registering the files does not fix the problem, run a repair on Team Explorer/Visual Studio using the Add/Remove programs in Control Panel or Programs and Features (in Vista and Windows 2008 Server).

DISCLAIMER

MICROSOFT AND/OR ITS SUPPLIERS MAKE NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY, RELIABILITY OR ACCURACY OF THE INFORMATION CONTAINED IN THE DOCUMENTS AND RELATED GRAPHICS PUBLISHED ON THIS WEBSITE (THE “MATERIALS”) FOR ANY PURPOSE. THE MATERIALS MAY INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS AND MAY BE REVISED AT ANY TIME WITHOUT NOTICE.

TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, MICROSOFT AND/OR ITS SUPPLIERS DISCLAIM AND EXCLUDE ALL REPRESENTATIONS, WARRANTIES, AND CONDITIONS WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO REPRESENTATIONS, WARRANTIES, OR CONDITIONS OF TITLE, NON INFRINGEMENT, SATISFACTORY CONDITION OR QUALITY, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE MATERIALS.

APPLIES TO
  • Microsoft Visual Studio Team System 2008 Team Foundation Server
  • Microsoft Visual Studio 2005 Team Foundation Server
Keywords: 
kbnomt kbrapidpub KB953492