Article ID: 919913 - View products that this article applies to.
On a computer that is running Microsoft Content Management Server (MCMS) 2002 Service Pack 2 (SP2), you try to use the source control feature in Microsoft Visual Studio 2005 Team Foundation Server to check in files. However, you receive the following error message:
This problem also occurs if the following conditions are true:
[Microsoft Visual Studio]
Unable to cast object of type 'Microsoft.ContentManagement.DeveloperTools.VisualStudio.Documents.TemplateExplorerDocument' to type 'Microsoft.VisualStudio.Shell.Interop.IVsHierarchy'.
This problem occurs because the Microsoft.VisualStudio.Shell.Interop.dll library that MCMS 2002 uses is incompatible with the Microsoft.VisualStudio.Shell.Interop.dll library that is included with other products. These products include Visual Studio Industry Partners (VSIP) 7.1 and VSIP 8.0.
To resolve this problem, disable the MCMS Template Explorer when you use the Team Foundation service. When you disable the MCMS Template Explorer, the MCMS development tools are not loaded. To disable the MCMS Template Explorer for a specific MCMS template project, follow these steps for every MCMS template project:
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Article ID: 919913 - Last Review: August 25, 2006 - Revision: 1.3
Contact us for more help