Recreate the LocalDB instance

Ledger commander requires "MS Sql server express LocalDB" which is installed together with Lc. If Ledger commander does not start then the easiest thing to do backup the DB, uninstall Lc, reinstall Lc and restore the DB. You can try to install or update LocalDB manually

If Lc still does not start then check if LocalDB is running. Start Lc and see if sqlservr.exe exists or not in windows / task manager / details. 



You can try to recrate the local db instance.

  • windows start / type cmd
  • cd "c:\Program Files\Microsoft SQL Server\160\Tools\Binn" 
    • now the latest version is 160
  • SqlLocalDB i
    • this list the LocalDB instances, you should see "MSSQLLocalDB"
  • SqlLocalDB delete MSSQLLocalDB
    • you may have to kill sqlserver.exe, task manager / details / select sqlservr.exe / press delete
  • SqlLocalDB create MSSQLLocalDB
  • SqlLocalDB start MSSQLLocalDB


This does not delete any database but if you use SQL Server Management Studio (SSMS) you have to reattach the databases. 
Previous Post Next Post

Contact Form