“The invocation of the constructor on type 'TestWPF.MainWindow' that matches the specified binding constraints threw an exception.”- how to fix this?

后端 未结 15 2259
遥遥无期
遥遥无期 2020-12-03 09:51

I\'m working with WPF. When I\'m trying to declare SQLiteConnection in the code, the problem arises-

The invocation of the constructor on type \         


        
15条回答
  •  孤街浪徒
    2020-12-03 10:22

    I got the same error and, after wasting about 2 hours with it, found that it is my SQL Server service that's not running. Not sure if this can ever help someone, but it did solve my problem to just start the service.

提交回复
热议问题