Troubleshooting TAD Not Saving Your SQL Account or Password
Overview
Older versions of TAD have a bug where the saved SQL Account is not replaced when you connect with a different one, even if you check Save Password.
You may see one of these:
- TAD keeps filling in the wrong SQL Account, such as a coworker's account, and says the password is not correct.
- TAD does not remember your SQL Password, so Auto Connect does not work.
The fix is to clear the saved values from the Windows registry and then get connected in TAD again.
How TAD Saves Your Connection
Starting in version 2.28, TAD saves your connection settings in the Windows registry on your computer.
For Auto Connect to work, you need both of these:
- Your TAD license has Allow Saving of Password checked.
- You check the Save Password box in TAD.
That combination saves your password in the registry in encrypted form.
Before You Start
Ask your TAD admin to confirm your license has Allow Saving of Password checked.
In Vista, go to User Database > Programs > TAD Admin - Licenses and check your license. See TAD Admin - Licenses.
Clear the Saved Account and Password
-
Click the Windows icon on your taskbar and search for Registry Editor. Open it.
-
Browse to this path. You can also paste it into the address bar at the top of Registry Editor.
Computer\HKEY_CURRENT_USER\SOFTWARE\VB and VBA Program Settings\TransferAllData\Options
-
On the right side you will see values such as Account, Database, DestCompany, Server, SourceCompany and UseWindows. You may also see Password.
-
Right click Account and choose Delete. If Windows asks you to confirm, click Yes.
-
If you see Password, delete it the same way.
-
Minimize Registry Editor. Do not close it, so you can come back and confirm the change.
Only delete Account and Password. Leave every other value alone.
Get Connected Again
- In Excel, select the TAD ribbon and click Options.
- Enter your SQL Account and SQL Password.
- Make sure Save Password is checked.
- Click Save Options.
For the full connection steps, see Connecting for the First Time.
Confirm the Fix
- Go back to Registry Editor.
- Click View, then Refresh.
- You should see your account saved in Account.
TAD should now save the correct account going forward.
Another Option
If only the account is wrong, you can change it instead of deleting it. Right click Account, choose Modify, enter your SQL Account and click OK. Your account will be the default going forward.