2007-10-20, 07:04 PM
I know accessing the gbpvr DB directly isn't approved but I've got a slightly confusing error.
I can create a DataAdapter and Dataset with VS dataset designer and execute the query I want without any problems. When I try to do it within a plugin (in PVRX2), I get this in the log file...
Why does it work in VS but not in PVRX2?
Cheers,
Brian
I can create a DataAdapter and Dataset with VS dataset designer and execute the query I want without any problems. When I try to do it within a plugin (in PVRX2), I get this in the log file...
Code:
2007-10-20 18:41:54.157 VERBOSE [1] System.Data.SQLite.SQLiteException: The database file is locked
Unable to close due to unfinalised statements
at System.Data.SQLite.SQLiteConnectionHandle.ReleaseHandle()
at System.Runtime.InteropServices.CriticalHandle.Cleanup()
at System.Runtime.InteropServices.CriticalHandle.Dispose(Boolean disposing)
at System.Runtime.InteropServices.CriticalHandle.Dispose()
at System.Data.SQLite.SQLite3.Close()
at System.Data.SQLite.SQLiteConnection.Close()
at System.Data.Common.DbDataAdapter.QuietClose(IDbConnection connection, ConnectionState originalState)
at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
at DVB_T_Radio.CapSourcesTableAdapters.BDA_RECORDING_SOURCETableAdapter.Fill(BDA_RECORDING_SOURCEDataTable dataTable) in C:\Documents and Settings\gbpvr\My Documents\Visual Studio 2005\Projects\DVB-T Radio\CapSources.Designer.cs:line 636
at DVBTRadio.DVBTRadio.Activate() in C:\Documents and Settings\gbpvr\My Documents\Visual Studio 2005\Projects\DVB-T Radio\DVB-T Radio.cs:line 26
Why does it work in VS but not in PVRX2?
Cheers,
Brian