[solved] - MP2 crashes after start: Unhandled exception in application

Discussion in 'Older releases' started by ge2301, April 27, 2014.

  1. ge2301
    • Team MediaPortal

    ge2301 MP2 Design

    Joined:
    January 11, 2014
    Messages:
    6,430
    Likes Received:
    1,589
    Gender:
    Male
    Occupation:
    Automotive Industry
    Location:
    Stuttgart
    Ratings:
    +2,389 / 2
    Home Country:
    Germany Germany
    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".
     

    Attached Files:

    • MP2_crash.jpg
      MP2_crash.jpg
      File size:
      26.5 KB
      Uploaded:
      April 27, 2014
      Views:
      152
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. morpheus_xx
    • Team MediaPortal

    morpheus_xx Lead Dev MP2

    Joined:
    March 24, 2007
    Messages:
    11,165
    Likes Received:
    4,788
    Ratings:
    +6,865 / 11
    Home Country:
    Germany Germany
    Show System Specs
    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".
     
    • Like Like x 1
  4. ge2301
    • Team MediaPortal

    ge2301 MP2 Design

    Joined:
    January 11, 2014
    Messages:
    6,430
    Likes Received:
    1,589
    Gender:
    Male
    Occupation:
    Automotive Industry
    Location:
    Stuttgart
    Ratings:
    +2,389 / 2
    Home Country:
    Germany Germany
    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 ;)
     
  5. morpheus_xx
    • Team MediaPortal

    morpheus_xx Lead Dev MP2

    Joined:
    March 24, 2007
    Messages:
    11,165
    Likes Received:
    4,788
    Ratings:
    +6,865 / 11
    Home Country:
    Germany Germany
    Show System Specs
    You need to have the server plugin (SlimTVService) running. If you run SetupTV from another PC, enter the name of the server PC.
     
  6. ge2301
    • Team MediaPortal

    ge2301 MP2 Design

    Joined:
    January 11, 2014
    Messages:
    6,430
    Likes Received:
    1,589
    Gender:
    Male
    Occupation:
    Automotive Industry
    Location:
    Stuttgart
    Ratings:
    +2,389 / 2
    Home Country:
    Germany Germany
    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
     

    Attached Files:

    Last edited: April 28, 2014
  7. morpheus_xx
    • Team MediaPortal

    morpheus_xx Lead Dev MP2

    Joined:
    March 24, 2007
    Messages:
    11,165
    Likes Received:
    4,788
    Ratings:
    +6,865 / 11
    Home Country:
    Germany Germany
    Show System Specs
    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.
     
  8. ge2301
    • Team MediaPortal

    ge2301 MP2 Design

    Joined:
    January 11, 2014
    Messages:
    6,430
    Likes Received:
    1,589
    Gender:
    Male
    Occupation:
    Automotive Industry
    Location:
    Stuttgart
    Ratings:
    +2,389 / 2
    Home Country:
    Germany Germany
    - 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: April 28, 2014
  9. morpheus_xx
    • Team MediaPortal

    morpheus_xx Lead Dev MP2

    Joined:
    March 24, 2007
    Messages:
    11,165
    Likes Received:
    4,788
    Ratings:
    +6,865 / 11
    Home Country:
    Germany Germany
    Show System Specs
    I tested it again in my installation and got same error :( Need more time to debug this and I will publish an update ASAP
     
    • Thank You! Thank You! x 1
  10. morpheus_xx
    • Team MediaPortal

    morpheus_xx Lead Dev MP2

    Joined:
    March 24, 2007
    Messages:
    11,165
    Likes Received:
    4,788
    Ratings:
    +6,865 / 11
    Home Country:
    Germany Germany
    Show System Specs
    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.
     

    Attached Files:

    • Database.7z
      File size:
      7.9 KB
      Uploaded:
      April 28, 2014
      Views:
      114
  11. ge2301
    • Team MediaPortal

    ge2301 MP2 Design

    Joined:
    January 11, 2014
    Messages:
    6,430
    Likes Received:
    1,589
    Gender:
    Male
    Occupation:
    Automotive Industry
    Location:
    Stuttgart
    Ratings:
    +2,389 / 2
    Home Country:
    Germany Germany
    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) :(
     

    Attached Files:

    Last edited: April 28, 2014
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!