2

I deleted a Team Project from Visual Studio Online. We were using the repository in source control with Visual Studio 2013.

Since deleting it, everytime I load up Visual Studio, I get the following message in general ouput:

The server returned the following error: The project with id '{myid}' does not exist, or you do not have permission to access it.

And the following popup:

The project with id does not exist, or you do not have permission to access it.

If I try to do ANYTHING source control related, I get the following error:

TF10175: The My Project team project does not exist.

The team project does not exist

I have removed the project from my "connected projects" in VS Team Explorer. I have double checked that all my workspaces don't point to this repository. I have even removed the project files from my PC and have restarted.

Dave New
  • 38,496
  • 59
  • 215
  • 394

2 Answers2

2

I found another solution, so you can avoid deleting your whole workspace.

So the problem is, that a project is deleted from visualstudio.com before it deleted from a workspace. Why this ends up so bad, is another great question?

My workaround is as follow:

  1. Create a new project with the same name as the troubled one.
  2. From VS navigate to Team Explorer
  3. From Team Explore: "Connect to Team Projects"
  4. Select Team Projects...
  5. Choose the troubled project added to the collection in 1
  6. Click on the project and "Configure your workspace"
  7. Map & Get
  8. [Optional] I had issues because I had uncommitted changes in the project. I solved this by navigation to Pending Changes and undo and or excluded them from tfs.
  9. Now it's possible to delete the workspace.
  10. And now that the workspace is properly deleted, the project can once again be deleted from visualstudio.com
  11. Restart Visual Studio

I don't know if any of the above steps can be omitted, this is how I accomplished to get rid of "TF10175", if anyone have optimized the procedure please leave a comment.

SteveC
  • 15,808
  • 23
  • 102
  • 173
DNRN
  • 2,397
  • 4
  • 30
  • 48
  • I know this was long time ago. I had the same issue today, the step 1 is very important. I created the project on TFS online with the same name, then I can undo, ... otherwise, it does not allow me undo. – urlreader Jan 22 '18 at 05:47
0

I tried everything.

What eventually worked was deleting my workspace and recreating it. A very frustrating issue.

Dave New
  • 38,496
  • 59
  • 215
  • 394
  • I had to resort to this as well after attempting to remove the individual problem workspace, getting the same error that the project doesn't exist. Did you have trouble re-mapping your workspaces? – Kyle J V Jun 01 '15 at 14:43
  • @KyleJV: I did not. Just make sure you don't have any pending changes! – Dave New Jun 01 '15 at 14:44