Thanks for answer Joe, but as just sayed i have only one datareader, i'm sure of that, and this is demostrated because with others provider i have not error. Try please changing the first lines of code in frmprincipale.vb form as explained for match access database... you Will not have error... why this if not a provider error? Otherwise, what have i to do in tour mind? Thanks
Joe Mistachkin <j...@mistachkin.com> ha scritto: > >Stefano Ravagni wrote: >> >> i've built a very little application wich could reprocude the "CANNOT SET >> CONNECTION WHILE DATAREADER IS ACTIVE" error. >> > >I've run the project with Visual Studio 2013 and determined that the >exception >being raised is almost certainly not an issue with System.Data.SQLite, per >se. > >At the point of the exception, I used the following watch expression: > > >DirectCast(objCmd,System.Data.SQLite.SQLiteCommand)._activeReader.Target Is >Dati > >This returns false, indicating that while the SQLiteCommand object does >indeed >have an active data reader, it is NOT the one that was closed just above >that >point in the code. I'm not sure how the project manages data reader >instances; >however, it would appear that System.Data.SQLite is throwing exceptions just >as >it should in this case. > >-- >Joe Mistachkin > >_______________________________________________ >sqlite-users mailing list >sqlite-users@sqlite.org >http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users