ICredentialsProvider is unset, therefore can't get
Published 16 July 2015
This error message is shown when linking your database to TFS or attempting to commit or get changes. This happens when SQL Source Control can't authenticate your TFS server.
Workarounds
Delete your SQL Source Control cached credentials file
- Close SSMS.
- Go to the SQL Source Control config files folder. By default, this is located at %localappdata%\Red Gate\SQL Source Control 5
Delete
Credentials.XML
.- Restart SSMS and link the database again. SQL Source Control should prompt for credentials.
Delete your cached credentials
- Close SSMS.
- In Control Panel, go to Credential Manager (or Network Credentials, depending on your version of Windows).
- Remove your TFS credentials.
- Restart SSMS and link the database again. SQL Source Control should prompt for credentials.
Manually create TFS credentials
- Close SSMS.
- In Control Panel, go to Credential Manager (or Network Credentials, depending on your version of Windows).
- Add a new credentials entry for your TFS sever, user name, and password.
- Restart SSMS and link the database again. SQL Source Control should prompt for credentials.