Database Writer Error
Posted: Wed Jun 01, 2016 9:58 pm
Hello Everyone,
I moved from a Win 7 PC to a Win 10 PC and did a fresh install of VRS and the writer plugin. The writer plugin will not start and is giving me the following error:
[2016-06-01 18:08:23.724 UTC] [t1] Database writer plugin caught exception on starting session: System.Data.SQLite.SQLiteException: unable to open database file
unable to open database file
at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
at System.Data.SQLite.SQLiteDataReader.NextResult()
at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.SQLite.SQLiteCommand.ExecuteScalar(CommandBehavior behavior)
at System.Data.SQLite.SQLiteCommand.ExecuteScalar()
at Dapper.SqlMapper.ExecuteScalarImpl[T](IDbConnection cnn, CommandDefinition& command)
at Dapper.SqlMapper.ExecuteScalar[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Nullable`1 commandTimeout, Nullable`1 commandType)
at VirtualRadar.Database.BaseStation.Database.Sessions_Insert(BaseStationSession session)
at VirtualRadar.Database.BaseStation.Database.InsertSession(BaseStationSession session)
at VirtualRadar.Plugin.BaseStationDatabaseWriter.Plugin.StartSession()
I moved from a Win 7 PC to a Win 10 PC and did a fresh install of VRS and the writer plugin. The writer plugin will not start and is giving me the following error:
[2016-06-01 18:08:23.724 UTC] [t1] Database writer plugin caught exception on starting session: System.Data.SQLite.SQLiteException: unable to open database file
unable to open database file
at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
at System.Data.SQLite.SQLiteDataReader.NextResult()
at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.SQLite.SQLiteCommand.ExecuteScalar(CommandBehavior behavior)
at System.Data.SQLite.SQLiteCommand.ExecuteScalar()
at Dapper.SqlMapper.ExecuteScalarImpl[T](IDbConnection cnn, CommandDefinition& command)
at Dapper.SqlMapper.ExecuteScalar[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Nullable`1 commandTimeout, Nullable`1 commandType)
at VirtualRadar.Database.BaseStation.Database.Sessions_Insert(BaseStationSession session)
at VirtualRadar.Database.BaseStation.Database.InsertSession(BaseStationSession session)
at VirtualRadar.Plugin.BaseStationDatabaseWriter.Plugin.StartSession()