One of the customers that I work with have deleted a Team Project from the TFS collection, when he have tried to create a new Team Project on the same collection he got an error":
“Test settings 'Local Test Run' already exists. Test settings must be unique per team project.”
The log file included the following information (which didn’t give any new information):
“Exception Message: Test settings 'Local Test Run' already exists. Test settings must be unique per team project. (type SoapException)SoapException Details: <detail xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><ExceptionProperties xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><property name="ERRORCODE"><value xsi:type="xsd:int">0</value></property></ExceptionProperties></detail>”
Searching for information about this error and how to resolve it I found the following methods:
- Removing all of the temp files in C:\Users\[UserName]\AppData\Local\Microsoft\Team Foundation\3.0\Cache
- Recreate the Team Project with a different user account on a different machine.
- Restart of the TFS application machine
I have tried both method 1 and 2 but with no success, I still got the same error when I tried to create the Team Project. Only after the TFS Application machine was restarted I could create a new Team Project with the old name.