MP2 - V2.1 MP2-Server Crash - SQLiteExecption Unhandled (1 Viewer)

Not open for further replies.


New Member
November 25, 2017
Australia Australia
MediaPortal 2 Version: 2.1.2

I upgraded from 2.1.1 released July 2017 to the latest 2.1.2 and I've noticed the MP2-Server.exe service crashes with the following exception from the Windows Application Log

Application: MP2-Server.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Data.SQLite.SQLiteException
at System.Data.SQLite.SQLite3.Prepare(System.Data.SQLite.SQLiteConnection, System.String, System.Data.SQLite.SQLiteStatement, UInt32, System.String ByRef)
at System.Data.SQLite.SQLiteCommand.BuildNextCommand()
at System.Data.SQLite.SQLiteCommand.GetStatement(Int32)
at System.Data.SQLite.SQLiteDataReader.NextResult()
at System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand, System.Data.CommandBehavior)
at System.Data.SQLite.SQLiteCommand.ExecuteReader(System.Data.CommandBehavior)
at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(System.Data.CommandBehavior)
at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
at System.Data.SQLite.SQLiteConnection.Open()
at Gentle.Provider.SQLite.SQLiteProvider.GetConnection()

Exception Info: Gentle.Common.GentleException
at Gentle.Common.Check.FailWith(Gentle.Common.Severity, Gentle.Common.Error, System.Exception, System.String)
at Gentle.Common.Check.Fail(System.Exception, Gentle.Common.Error, System.Object[])
at Gentle.Provider.SQLite.SQLiteProvider.GetConnection()
at Gentle.Framework.PersistenceBroker.Execute(Gentle.Framework.SqlStatement, System.Data.IDbConnection, System.Data.IDbTransaction)
at TvDatabase.TvBusinessLayer.GetSetting(System.String, System.String)
at TvEngine.PowerScheduler.PowerScheduler.LoadSettings()
at TvEngine.PowerScheduler.PowerScheduler.StandbyWakeupThread()
at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ThreadHelper.ThreadStart()

Steps to Reproduce:
Not sure as I did the upgrade from 2.1.1 to 2.1.2, it ran for about a day but upon starting the client I got an error about no TV providers. I then checked the status of the MP2-Server service and it was stopped. I then checked the application log and found the execption in the description. I ran the log collector and zipped the MP2-Server directory. From the stack trace it looks like a an issue connecting to the SQLite database. I can send that through if required, but I didn't want to post that in a public forum.



MP2 Design
  • Team MediaPortal
  • January 11, 2014
    Germany Germany
    Country flag
    I saw the same error in a unreleased internal version and reported internally. I see generally a lot of SQL warnings.
    Not open for further replies.

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    R [fixed] [MP2-819] MP2 Server crashes on ATSC OTA channel scan Submit: Bug Reports 33
    J [fixed] [MP2-833] 2.2.2 server crash during import Submit: Bug Reports 50
    P MP2 TV Server crashes when starting - throws error remoting exception General 2
    Tim [further infos missing] MP2 Server crashes on channel scan 2.2 Archive 9
    Lehmden [WiP] [MP2-824] DLNA Server functionality MediaPortal 2 27
    raffe How do I setup MP2 as an UPnP server? General 3
    A Help! MP2 - DVB-T Not recognised (DRIVERS?) General 12
    joecool70 [solved] Installationsprobleme: MP2-Server failed to start Allgemeines Support- und Diskussionsforum 25
    BlueMax1916 [Question] What does MP2 Server Service have to do with MediaPortal 2 3
    J [solved] Clients do not see available MP2 server in the network General 3
    Patrik-See Win 10 Benutzer bei verschiedenen Clients Betriebssysteme 4
    K MP2 - V2.1 [MP2-763] Interface configuration for RTSP streaming server lost on every restart Older releases 6
    P MP2 - V2.1 MP2 computer (client/server) cuts Win10 network communications Older releases 0
    ge2301 Kodi Plugin for MP2 TV Server MediaPortal 2 11
    mp2-ulrich [solved] MP 2.2.3 spielt nur manche Sender Allgemeines Support- und Diskussionsforum 2
    H MP2 database won't keep in synch with recordings General 8
    H [solved] MP2 Wiedergabe von Aufnahmen und Live TV geht nicht Allgemeines Support- und Diskussionsforum 6
    ge2301 [WiP] MP2Web - A platform independent web client for MP2 MediaPortal 2 68
    F Problems with new install of MP2 Newcomers Forum 3
    catalpa Bug MP2-837 Allgemeines Support- und Diskussionsforum 2
    P MP2: US user, OTA - can NOT get SchedulesDirect plugin to work on MP1 or MP2 --> how do I get OTA schedule? General 5
    bigboss97 Does anyone has a SoundGraph imon remote file for MP2 to share? General 0
    ge2301 Android based client for MP2 MediaPortal 2 3
    R MP2 GUI Issues General 7
    P [solved] MP2 new install, 2 x hdhomerun tuners, client on same PC unable to view TV & recordings Newcomers Forum 8
    Similar threads

    Top Bottom