Error Screen on Linking database to GIT Source Control

Any database that is currently linked to source when clicked will show the Setup Page and work correctly.   Any database that is not linked will always give this error message (Exception has been thrown by the target of an invocation.) and will not display the page that let's you link the database.  Also, if you had a database previously linked and you unlink the database you will get the same error when you try to link the database again.  

I uninstalled Sql Toolbelt and reinstalled, upgraded Sql Server Managerment Studio, uninstalled Git and reinstalled GIT and none of this works.  I also made sure the path was updated for Source Control.

All other developers can access the central git repository with out issues.

I have run out of things to try, please help.

Thanks!
Tagged:

Answers

  • Hello

    Sorry you're having issues with SQL Source Control.

    I think we'll need some more information to diagnose the problem. Are you able to share a screenshot of the error message you're getting?

    You said you've 'updated the path for SQL Source Control' - can you check that Git is on your PATH environment variable? If Git isn't present that can cause issues.

    Can you also confirm that you can perform Git operations on your machine for the repository outside of SQL Source Control - fetch, pull, commit, push, etc. Perhaps there is an underlying Git configuration issue that needs to be addressed.

    Thanks

    Mikiel
    Mikiel Agutu | Software Engineer | Redgate Software
Sign In or Register to comment.