MP 1.0.2 stopped working after bluescreen (1 Viewer)

e_razor

Portal Member
July 21, 2006
39
2
Home Country
Norway Norway
I had a bluescreen on my Vista SP2 installation while working out some HDTV codec issues, after reboot mp will not start. When you run mediaportal an error dialog instantly apears wich says "Mediaportal has stopped working". The log output is mostly greek to me, but maybe some developer or someone can learn something from it?

2009-05-11 18:10:52.832852 [ERROR][MPMain]: MediaPortal: Unhandled exception occured
2009-05-11 18:10:52.838711 [ERROR][MPMain]: Exception :confused:ystem.Configuration.ConfigurationErrorsException: Configuration system failed to initialize ---> System.Configuration.ConfigurationErrorsException: Root element is missing. (C:\Program Files\Team MediaPortal\MediaPortal\MediaPortal.exe.config) ---> System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlTextReader.Read()
at System.Configuration.XmlUtil..ctor(Stream stream, String name, Boolean readToFirstElement, ConfigurationSchemaErrors schemaErrors)
at System.Configuration.BaseConfigurationRecord.InitConfigFromFile()
--- End of inner exception stack trace ---
at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)
at System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors()
at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey)
--- End of inner exception stack trace ---
at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey)
at System.Configuration.ClientConfigurationSystem.PrepareClientConfigSystem(String sectionName)
at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String sectionName)
at System.Configuration.ConfigurationManager.GetSection(String sectionName)
at System.Configuration.ConfigurationManager.get_AppSettings()
at MediaPortalApp.Main(String[] args)
2009-05-11 18:10:52.838711 [ERROR][MPMain]: Exception :Configuration system failed to initialize
2009-05-11 18:10:52.839688 [ERROR][MPMain]: site :Void EnsureInit(System.String)
2009-05-11 18:10:52.839688 [ERROR][MPMain]: source :confused:ystem.Configuration
2009-05-11 18:10:52.840664 [ERROR][MPMain]: stacktrace: at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey)
at System.Configuration.ClientConfigurationSystem.PrepareClientConfigSystem(String sectionName)
at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String sectionName)
at System.Configuration.ConfigurationManager.GetSection(String sectionName)
at System.Configuration.ConfigurationManager.get_AppSettings()
at MediaPortalApp.Main(String[] args)
 

Attachments

  • error.JPG
    error.JPG
    40.2 KB

tourettes

Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    Try deleting the MediaPortal.xml settings file, it might be corrupted. (of course take a backup in case it is not the cuase for the crash).
     

    chemelli

    Retired Team Member
  • Premium Supporter
  • September 28, 2006
    6,159
    2,264
    50
    Milano, Italy
    Home Country
    Italy Italy
    missing. (C:\Program Files\Team MediaPortal\MediaPortal\MediaPortal.exe.config) ---> System.Xml.XmlException: Root element is missing.

    I think MediaPortal.exe.config is 0 in size. Seen here after a BSOD as well.

    Simone
     

    e_razor

    Portal Member
    July 21, 2006
    39
    2
    Home Country
    Norway Norway
    After replacing mediaporta.exe.config with this file it started working again. And as discussed in the threads in reference to this one, it seems the file somehow got emptied out after bluescreen.

    This has happend to at least 4-5 people from what i can gather, maybe it should be investigated, from what i understood from the other threads. This is a file that is just read from, never written to. When the computer for some reason bluescreens it will become empty and then mediaportal can't start.

    I will attach the file i used in this thread if anyone should need it. The file contained version number 1.0.0.0 wich i edited to 1.0.2.0. I do not know if this is important or relevant for the function of mediaportal however.
     

    Attachments

    • MediaPortal.exe.rar
      30.6 KB

    Users who are viewing this thread

    Top Bottom