MP not starting up (1 Viewer)

Brett Coster

Portal Member
September 25, 2012
11
0
Home Country
Australia Australia
Hi team.

Today MP and MP Config will not start at all. It is set to auto run on startup, but this does not happen. Clicking on the desktop icons or start menu also does not work.Won't even show the splash/loading screen.

Log attached. I upgraded to v1.8 in the hope that would fix it, but no success.
 

Brett Coster

Portal Member
September 25, 2012
11
0
Home Country
Australia Australia
I upgraded from 1.6 to 1.8. The problem occurred while in 1.6. I thought the upgrade might help, but the problem still exists. I have also tried repairing .NET, then uninstalling .NET and reinstalling, but same problem.
 

mm1352000

Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,578
    8,228
    Home Country
    New Zealand New Zealand
    I think the log4net config file (or one of the other config files) might be corrupted.

    From the application event log:
    "26/07/2014 9:20:39 PM";".NET Runtime";"(0)";"Error";"Application: MediaPortal.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.Xml.XmlException
    Stack:
    at System.Xml.XmlTextReaderImpl.Throw(System.Exception)
    at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
    at System.Xml.XmlTextReaderImpl.Read()
    at System.Xml.XmlLoader.Load(System.Xml.XmlDocument, System.Xml.XmlReader, Boolean)
    at System.Xml.XmlDocument.Load(System.Xml.XmlReader)
    at System.Xml.XmlDocument.Load(System.String)
    at MediaPortal.Profile.XmlSettingsProvider..ctor(System.String)
    at MediaPortal.Profile.Settings..ctor(System.String, Boolean)
    at MediaPortal.Profile.MPSettings.get_Instance()
    at MediaPortal.ServiceImplementations.Log4NetWrapper..ctor()
    at MediaPortal.Services.GlobalServiceProvider.LogServiceRequested(MediaPortal.Services.ServiceProvider)
    at MediaPortal.Services.ServiceProvider.Get[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]()
    at MediaPortal.Services.GlobalServiceProvider.Get[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]()
    at MediaPortalApp.Main(System.String[])

    Please check the size of the config files in the MediaPortal install directory (typically c:\Program Files (x86)\Team MediaPortal\MediaPortal). You should also be able to open them in any text editor (notepad, wordpad etc.).
    My files (from MP 1.7.1) are attached.

    mm
     

    Attachments

    • MP config files.zip
      2.3 KB

    Brett Coster

    Portal Member
    September 25, 2012
    11
    0
    Home Country
    Australia Australia
    Mine are all the same size as your config files. Mine are attached. Is it as simple as copying new config files to the directory, or am I looking at a fresh install?
     

    Attachments

    • config.rar
      2.1 KB

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,578
    8,228
    Home Country
    New Zealand New Zealand
    Is it as simple as copying new config files to the directory, or am I looking at a fresh install?
    Stick with your files - they look fine to me.

    Could you please check the log4net.config file in c:\ProgramData\Team MediaPortal\MediaPortal as well. Note that's a hidden folder. You may need to copy + paste the path into the Windows Explorer address bar to get there.
     

    HomeY

    Test Group
  • Team MediaPortal
  • February 23, 2008
    6,475
    4,645
    50
    ::1
    Home Country
    Netherlands Netherlands
    here you go. Attached.
    Looks fine to me.

    Please check the size of the config files in the MediaPortal install directory (typically c:\Program Files (x86)\Team MediaPortal\MediaPortal).
    Hmm... i never noticed this config file is in the root folder also (feels weird to have 2 identical files)... :cautious:

    Maybe it's your MediaPortal.xml that got corrupted (i've seen that in the past).
    In your C:\ProgramData\Team MediaPortal\MediaPortal folder, remove the MediaPortal.xml & MediaPortal.bak files (cut/paste them to another folder) and then try to start MediaPortal.
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,578
    8,228
    Home Country
    New Zealand New Zealand
    Maybe it's your MediaPortal.xml that got corrupted (i've seen that in the past).
    Bingo!
    I should have looked at the file contents in the log zip. :oops:
    File size looks okay, but the contents is totally borked...
     

    Users who are viewing this thread

    Top Bottom