I am creating an ASP.NET MVC application that connects to TFS. The application shows a tree with test plans, sets and test tables.
When the application runs in Visual Studio 2012 Update 3, everything works fine when connected to a TFS instance installed on my development machine or when connected to Visual Studio Online. When I deploy an ASP MVC application on my local IIS, it still works when connected to my local TFS. However, when connected to the Visual Studio Online API, the TFS gives me the error "HRESULT error E_FAIL was returned from a call to the COM component." when I receive records in accordance with the test plan when accessing ITestPlan.RootSuite.Entries.
What could be the problem or solution?
Additional Information:
I refer to the following assemblies, all versions 11.0.0.0
- Microsoft.TeamFoundation.Build.Common.dll
- Microsoft.TeamFoundation.Client.dll
- Microsoft.TeamFoundation.Common.dll
- Microsoft.TeamFoundation.dll
- Microsoft.TeamFoundation.TestManagement.Client.dll
- Microsoft.TeamFoundation.TestManagement.Common.dll
- Microsoft.TeamFoundation.WorkItemTracking.Client.DataStoreLoader.dll
- Microsoft.TeamFoundation.WorkItemTracking.Client.dll
When working in Visual Studio, the ASP MVC application runs in IISExpress and loads the following assemblies (according to the output window):
GAC_MSIL
- Microsoft.TeamFoundation.Client.dll
- Microsoft.TeamFoundation.Common.dll
- Microsoft.TeamFoundation.dll
- Microsoft.TeamFoundation.TestManagement.Client.dll
- Microsoft.TeamFoundation.TestManagement.Common.dll
- Microsoft.TeamFoundation.WorkItemTracking.Client.dll
- Microsoft.TeamFoundation.WorkItemTracking.Common.dll
- Microsoft.TeamFoundation.WorkItemTracking.Client.QueryLanguage.dll
- Microsoft.TeamFoundation.WorkItemTracking.Proxy.dll
Gac_32
- Microsoft.TeamFoundation.WorkItemTracking.Client.DataStoreLoader.dll
IIS ( Process Monitor):
C:\WINDOWS\\NativeImages_v4.0.30319_32\
- Microsoft.TeamFoundation.Client.ni.dll
- Microsoft.TeamFoundation.Common.ni.dll
- Microsoft.TeamFoundation.Diff.ni.dll
- Microsoft.TeamFoundation.TestManagement.Client.ni.dll
- Microsoft.TeamFoundation.TestManagement.Common.ni.dll
- Microsoft.TeamFoundation.VersionControl.Client.ni.dll
- Microsoft.TeamFoundation.VersionControl.Common.Integration.ni.dll
- Microsoft.TeamFoundation.VersionControl.Common.ni.dll
- Microsoft.TeamFoundation.WorkItemTracking.Client.DataStoreLoader.ni.dll
- Microsoft.TeamFoundation.WorkItemTracking.Client.ni.dll
- Microsoft.TeamFoundation.WorkItemTracking.Client.QueryLanguage.ni.dll
- Microsoft.TeamFoundation.WorkItemTracking.Common.ni.dll
C:\WINDOWS\\GAC_32\
- Microsoft.WITDataStore.dll
, IISExpress MSIL , IIS . IIS VersionControl Microsoft.TeamFoundation.WorkItemTracking.Proxy.dll Microsoft.TeamFoundation.Diff.ni.dll Microsoft.TeamFoundation.dll. , .
IIS, TFS TFS Online, . , , , , , . , IISExpress - TFS Online.