SQL errors
First of all, you should not receive SQL Error 18054 (or any SQL errors) from TFS.
You need your TFS administrator to connect to the SQL server hosting the DB master for your TFS server and run the following query:
select * from master.dbo.sysmessages where error > 50000
If it is a TFS2010 server, the TFS administrator can use TFSConfig PrepSql to reinstall error messages.
If it is a TFS2008 server, your TFS administrator will need to open Add or Remove Programs and start the repair in TFS.
Your actual problem
This sounds obvious at first, two local paths cannot point to the same storage location for the same workspace. However, one that catches a lot of people who do not know that you cannot have two path repositories mapped to the same local path to the same computer.
In TFS, you cannot have two folders with overlapping mappings. Since D:\aaa\bbb\ccc\ddd is a subfolder of D:\aaa , you cannot add it.
One thing you can do is cloak so that they are not part of the workspace comparisons. In your case, you can display D:\aaa and add a cloak for all other subfolders in this directory except D:\aaa\bbb .
Grant holliday
source share