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

后端 未结 15 2244
遥遥无期
遥遥无期 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:31

    The mentioned exeption is quite generic and you can receive it, for instance, when code fails in the constructor. I had a case of an IO exception that showed up with a similar text. Stepping into the code may provide hints to fix this that may not be obvious otherwise.

提交回复
热议问题