[solved] MP2 crashes after start: Unhandled exception in application (2 Viewers)

ge2301

MP2 Design
  • Team MediaPortal
  • January 11, 2014
    6,693
    2,414
    Stuttgart
    Germany Germany
    Country flag
    • Thread starter
    • Admin
    • #1
    After starting MP2 it crashes directly with a failure message.
    The failure occures only with the SlimTV Native plugin. I used the latest download for 10th anniverary edition, uploaded from morpheus yesterday. Deinstall and reinstall didn't help.

    When starting the TV-Setup, it also crashes directly "SetupTV does not work anymore".
     

    Attachments

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,478
    7,014
    Germany Germany
    Country flag
    It seems like you extracted the SlimTV plugin using explorer. Please either unblock all assemblies or simple extract them using 7z or WinRar etc.

    System.NotSupportedException: Es wurde versucht, eine Assembly von einer Netzwerkadresse zu laden, was in früheren Versionen von .NET Framework zum Ausführen der Assembly als Sandkastenassembly geführt hätte. In dieser Version von .NET Framework wird die CAS-Richtlinie standardmäßig nicht aktiviert, dieser Ladevorgang kann daher gefährlich sein. Wenn Sie nicht beabsichtigen, durch diesen Ladevorgang eine Sandkastenassembly zu erstellen, aktivieren Sie den loadFromRemoteSources-Schalter. Weitere Informationen finden Sie unter "http://go.microsoft.com/fwlink/?LinkId=155569".
     

    ge2301

    MP2 Design
  • Team MediaPortal
  • January 11, 2014
    6,693
    2,414
    Stuttgart
    Germany Germany
    Country flag
    • Thread starter
    • Admin
    • #3
    Ok, problem solved by extracting with 7z. There is another problem, because SetupTV can not find localhost, but I gonna try to fix it by myself at first ;)
     

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,478
    7,014
    Germany Germany
    Country flag
    There is another problem, because SetupTV can not find localhost, but I gonna try to fix it by myself at first
    You need to have the server plugin (SlimTVService) running. If you run SetupTV from another PC, enter the name of the server PC.
     

    ge2301

    MP2 Design
  • Team MediaPortal
  • January 11, 2014
    6,693
    2,414
    Stuttgart
    Germany Germany
    Country flag
    • Thread starter
    • Admin
    • #5
    Hello,

    The server plugin is running (I have to start is manually). Client and Server are on the same computer.
    SetupTV gives the same message (attached) and makes the server also crash, means after the message appears the server is down again.
    MP2 client starts now, but server crashes after a while. From the log file I see a problem with SQL database, which is not accessable. Anything about SQL to install manually apart from MP2 installation package?

    Ge2301
     

    Attachments

    Last edited:

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,478
    7,014
    Germany Germany
    Country flag
    Oh you have an error I've not seen before yet in other installations :)

    It looks like the SlimTvService is not able to create and/or access the SlimTV Sqlite DB.

    Does the C:\ProgramData\Team MediaPortal\MP2-Server\Database\MP2TVE.s3db exists? You can try to delete this file and also the C:\ProgramData\Team MediaPortal\MP2-Server\SlimTVCore folder, then restart MP2-Server. The DB and folder will be recreated with defaults.
     

    ge2301

    MP2 Design
  • Team MediaPortal
  • January 11, 2014
    6,693
    2,414
    Stuttgart
    Germany Germany
    Country flag
    • Thread starter
    • Admin
    • #7
    Does the C:\ProgramData\Team MediaPortal\MP2-Server\Database\MP2TVE.s3db exists? You can try to delete this file and also the C:\ProgramData\Team MediaPortal\MP2-Server\SlimTVCore folder, then restart MP2-Server. The DB and folder will be recreated with defaults.
    - No, MP2TVE.s3db does not exist
    - SlimTVCore in C:\ProgramData\Team MediaPortal\MP2-Server\ does also not exist

    Edit: Also both not created, when starting the MP2 server
     
    Last edited:

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,478
    7,014
    Germany Germany
    Country flag
    I tested it again in my installation and got same error :( Need more time to debug this and I will publish an update ASAP
     

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,478
    7,014
    Germany Germany
    Country flag
    Ok, found this issue, simply but essential ;) The archive is missing the template DB.

    Please extract the contained archive (atttachment) to:
    C:\Program Files (x86)\Team MediaPortal\MP2-Server\Plugins\SlimTv.Service\
    so the DB will be at:
    C:\Program Files (x86)\Team MediaPortal\MP2-Server\Plugins\SlimTv.Service\Database\MP2TVE.s3db

    Then everything should be fine. If you confirm this, I'll upload a fixed plugin tomorrow.
     

    Attachments

    ge2301

    MP2 Design
  • Team MediaPortal
  • January 11, 2014
    6,693
    2,414
    Stuttgart
    Germany Germany
    Country flag
    I followed exactly, extracted the folder with 7z and not explorer.
    But I have to tell you, that the same problem remains.
    MP2 server crashes after starting MP2 client or SetupTV (as above) :(
     

    Attachments

    Last edited:

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

    OP Similar threads Forum Replies Date
    P MP2 TV Server crashes when starting - throws error remoting exception General 2
    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
    Tim [further infos missing] MP2 Server crashes on channel scan 2.2 Archive 9
    Y MP2 crashes General 8
    Scheibes Was passiert bei MP2? Allgemeines Support- und Diskussionsforum 23
    S Programmierte Aufnahme in MP2 - kein Aufwachen des PC Allgemeines Support- und Diskussionsforum 5
    morpheus_xx [WiP] "What's New" plugin for MP2 upgrades MediaPortal 2 6
    da3dsoul [Request] An MVP Plugin example for custom settings in MP2 Plugin Development 2
    morpheus_xx [Evaluate] Checking MP2 code portability to .Net Core MediaPortal 2 11
    da3dsoul Does MP2 not have any active devs? General 8
    da3dsoul MP2 Plugin - Getting Started (Directory Tree and Player) Plugin Development 27
    R [solved] Kein Player registriert Allgemeines Support- und Diskussionsforum 1
    -Merkur- MP2 Client startet nicht, "libXBMC_addon.dll" fehlt Allgemeines Support- und Diskussionsforum 1
    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