Dragging datasource to form results in NullReferenceException

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for SQLite
Post Reply
crstephan
Posts: 1
Joined: Mon 09 Nov 2015 13:59

Dragging datasource to form results in NullReferenceException

Post by crstephan » Mon 09 Nov 2015 14:06

Hi,

Using VS2015 in Win 10 for a C# WPF project, I have configured a SQLite datasource via dotConnect Pro 5.3.521.0 (trial). I can connect and preview the data without problem. However, dragging a datasource to my form immediately results in:

NullReferenceException: Object reference not set to an instance of an object.
StackTrace: at Devart.Common.d.d()
InnerException: None

Help is greatly appreciated!

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: Dragging datasource to form results in NullReferenceException

Post by Shalex » Tue 10 Nov 2015 09:43

dotConnect for SQLite doesn't include WPF Components (there are only Toolbox > Choose Items > .NET Framework Components). You can generate typed Devart DataSet using Tools > SQLite > DataSet Wizard in WPF application. But this dataset can be used only in run-time (for WPF).

We cannot reproduce NullReferenceException in our environment. We have asked for a test project by email.

Post Reply