SQL Source Control

Latest version: 3.1

SQL Source Control

Knowledge Base

"ICredentialsProvider is unset, therefore can't get" error occurring within SQL Source Control

Category: Troubleshooting & error messages
Date: 11 Jan 2013
Product: SQL Source Control
When working with SQL Source Control and TFS, you may encounter the following error message when linking your database or attempting to commit/retrieve changes:

"ICredentialsProvider is unset, therefore can't get"

This occurs when SQL Source Control is not able to authenticate against your TFS Server, and can have several underlying causes. Some suggested workarounds are

detailed below:

1: Delete your SQL Source Control cached credentials file

Close SSMS
Locate %USERPROFILE%\AppData\Local\Red Gate\SQL Source Control 3\
Delete the Credentials.XML file
Restart SSMS and try linking again - SQL Source Control should prompt for credentials.

2: Delete your Windows cached credentials

Close SSMS
Go into Control Panel
Locate the Credentials option (Credential Manager or Network Credentials, depending on your version of Windows)
Locate your TFS Credentials and remove them.
Restart SSMS and try linking again - SQL Source Control should prompt for credentials.

3: Manually create credentials

Close SSMS
Go into Control Panel
Locate the Credentials option (Credential Manager or Network Credentials, depending on your version of Windows)
Go to Windows Credentials, and a new entry for your TFS server, username and password.
Restart SSMS and try again.

If all of the above fail to help, please contact support, after verifying:
- do other members of the team have the same problem?
- is your TFS server located within your domain or is it external?
- if it's TFS Preview or TFS 2012, make sure you complete the steps at http://www.red-gate.com/SupportCenter/Content/SQL_Source_Control/knowledgebase/SoC_Using_TFS2012
- if contacting support, please also supply full error details.

Document ID: KB201301000525 Keywords: ICredentialsProvider,Source,Control

Was this article helpful?

Search support
Forums

SQL Source Control

all SQL products

all products