This is a migrated thread and some comments may be shown as answers.

How do I connect to a different Source Control Project

4 Answers 112 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Wade
Top achievements
Rank 1
Wade asked on 23 Apr 2015, 07:36 PM

Greetings,

 

I've disconnected my test studio project from VSO and deleted the VSO project because I want to move it to a different VSO project.

Now when I click the Connect To Source control button, nothing happens, but the log says that the project doesn't exists.

It's trying to connect to the old project that doesn't exist. It won't give me the dialog box to reconfigure the source control.

Thanks

Wade

 

4 Answers, 1 is accepted

Sort by
0
Wade
Top achievements
Rank 1
answered on 23 Apr 2015, 07:37 PM

Here is the log file

 

[04/23 12:36:28,Telerik.TestStudio.exe(1100:1),TeamFoundationServer] TFSServer.ConnectToServer() : ------- Function Start -------
[04/23 12:36:28,Telerik.TestStudio.exe(1100:1),TeamFoundationServer] TFSServer.ConnectToServer() : ------- Function End -------
[04/23 12:36:28,Telerik.TestStudio.exe(1100:1),TeamFoundationServer] TFSServer.AttachToRepository() : ------- Function Start -------
[04/23 12:36:30,Telerik.TestStudio.exe(1100:1),TeamFoundationServer] TFSServer.AttachToRepository() : ------- Function End -------
[04/23 12:36:30,Telerik.TestStudio.exe(1100:1),TestStudio] StandaloneHost.ReconnectToSourceControl() : EXCEPTION! (see below)
     Situation: Error reconnecting to source control
     Outer Exception Type: Microsoft.TeamFoundation.VersionControl.Client.TeamProjectNotFoundException
     Message: TF10175: The Test Studio team project does not exist.
     HRESULT: 0x80131600 (Official ID (if app.) = COR_E_APPLICATION, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5632)
     Call Stack:
          at Microsoft.TeamFoundation.Client.Channels.TfsHttpClientBase.HandleReply(TfsClientOperation operation, TfsMessage message, Object[]& outputs)
          at Microsoft.TeamFoundation.Client.Channels.TfsHttpClientBase.Invoke(TfsClientOperation operation, Object[] parameters, TimeSpan timeout, Object[]& outputs)
          at Microsoft.TeamFoundation.VersionControl.Client.Repository.UpdateWorkspace(String oldWorkspaceName, String ownerName, Workspace newWorkspace, Int32 supportedFeatures)
          at Microsoft.TeamFoundation.VersionControl.Client.WebServiceLayer.UpdateWorkspace(String oldWorkspaceName, String ownerName, Workspace newWorkspace, Int32 supportedFeatures)
          at Microsoft.TeamFoundation.VersionControl.Client.WebServiceLayerLocalWorkspaces.QueryWorkspace(String workspaceName, String ownerName)
          at Microsoft.TeamFoundation.VersionControl.Client.Client.GetRepositoryWorkspace(String workspaceName, String workspaceOwner)
          at Microsoft.TeamFoundation.VersionControl.Client.Workspace.Refresh()
          at Microsoft.TeamFoundation.VersionControl.Client.Client.UpdateWorkspace(Workspace workspace, UpdateWorkspaceParameters uwp)
          at Microsoft.TeamFoundation.VersionControl.Client.Client.InternalSetWorkingFolder(Workspace workspace, WorkingFolder workingFolder, Boolean isDelete)
          at Microsoft.TeamFoundation.VersionControl.Client.Workspace.CreateMapping(WorkingFolder mapping)
          at ArtOfTest.Common.TFSClient.TFSServer.AttachToRepository(IRepositoryInfo repository)
          at ArtOfTest.WebAii.Design.ProjectModel.StandaloneHost.PrepareRepository(IRepositoryInfo repo)
          at ArtOfTest.WebAii.Design.ProjectModel.StandaloneHost.PrepareRepository(FileBasedNode node)
          at ArtOfTest.WebAii.Design.ProjectModel.StandaloneHost.ReconnectToSourceControl(ProjectNode project)
 
     Inner Exception Type: System.Web.Services.Protocols.SoapException
     Message: TF10175: The Test Studio team project does not exist.
     HRESULT: 0x80131501 (Official ID (if app.) = COR_E_SYSTEM, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5377)
 
[04/23 12:36:38,Telerik.TestStudio.exe(1100:25)] First trace message from foreground unnamed thread (managed ID = 25, native ID = 6580).
[04/23 12:36:38,Telerik.TestStudio.exe(1100:25),TestStudio] StandaloneHost.LoadResults() : ------- Function Start -------
[04/23 12:36:38,Telerik.TestStudio.exe(1100:25),Uncategorized] MainWindow.LogMessage() : Partially Loading '1' results..
[04/23 12:36:38,Telerik.TestStudio.exe(1100:1),Error] RegistryHelper.PerformActionOnCurrentKey() : Cannot locate HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DevDiv\vs\Servicing\10.0\VSTSCore
[04/23 12:36:38,Telerik.TestStudio.exe(1100:1),Error] RegistryHelper.PerformActionOnCurrentKey() : Cannot locate HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DevDiv\vs\Servicing\10.0\VSTDCore
[04/23 12:36:38,Telerik.TestStudio.exe(1100:1),Error] RegistryHelper.PerformActionOnCurrentKey() : Cannot locate HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DevDiv\vs\Servicing\10.0\PROCore
[04/23 12:36:38,Telerik.TestStudio.exe(1100:1),Error] RegistryHelper.PerformActionOnCurrentKey() : Cannot locate HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DevDiv\vs\Servicing\11.0\ultimate
[04/23 12:36:38,Telerik.TestStudio.exe(1100:1),Error] RegistryHelper.PerformActionOnCurrentKey() : Cannot locate HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DevDiv\vs\Servicing\11.0\premium
[04/23 12:36:38,Telerik.TestStudio.exe(1100:1),Error] RegistryHelper.PerformActionOnCurrentKey() : Cannot locate HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DevDiv\vs\Servicing\11.0\professional
[04/23 12:36:38,Telerik.TestStudio.exe(1100:1),Error] RegistryHelper.PerformActionOnCurrentKey() : Cannot locate HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DevDiv\vs\Servicing\12.0\ultimate
[04/23 12:36:38,Telerik.TestStudio.exe(1100:1),Error] RegistryHelper.PerformActionOnCurrentKey() : Cannot locate HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DevDiv\vs\Servicing\12.0\premium
[04/23 12:36:38,Telerik.TestStudio.exe(1100:25),Warning] Loader.AddToKnownTypes() : Attempt to index multiple types with the same signature: http://schemas.datacontract.org/2004/07/System.ServiceModel:ExceptionDetail
[04/23 12:36:38,Telerik.TestStudio.exe(1100:25),Warning] Loader.AddToKnownTypes() : Attempt to index multiple types with the same signature: http://schemas.microsoft.com/netservices/2011/06/servicebus:TryReceiveResponse
[04/23 12:36:38,Telerik.TestStudio.exe(1100:25),Uncategorized] MainWindow.LogMessage() : Results are loaded!
[04/23 12:36:38,Telerik.TestStudio.exe(1100:25),TestStudio] StandaloneHost.LoadResults() : ------- Function End -------

0
Ivaylo
Telerik team
answered on 24 Apr 2015, 05:25 AM
Hello Wade,

You can try to disconnect from TFS manually and then connect to the other project.

The only workaround for this case will be if you manually edit the project's settings file. Please open the file in notepad or notepad ++ and set the source repository to null and isOnline to false.

Here is short demonstration video (no audio).

Hope this works for you.

Regards,
Ivaylo
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Wade
Top achievements
Rank 1
answered on 24 Apr 2015, 04:14 PM

Thank you. That worked.

 

By the way, how do I get Notepad++ to display the settings file correctly formatted?

0
Ivaylo
Telerik team
answered on 27 Apr 2015, 01:26 PM
Hello Wade,

Glad to hear this worked for you.

Regarding the notepad ++ you will need to install the JSTool plugin and when installed you get the proper formatting when you pres Ctrl+Alt+M.

I am closing this case now.

Regards,
Ivaylo
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Wade
Top achievements
Rank 1
Answers by
Wade
Top achievements
Rank 1
Ivaylo
Telerik team
Share this question
or