MP crashes instantly (1 Viewer)

kodax

Portal Member
May 10, 2009
12
0
The second I start MP, it crashes. The only thing I've done (I think) is to delete the Video db, and do a rescan.

This is the error log:

2009-05-13 18:12:43.062500 [ERROR][MPMain]: MediaPortal: Unhandled exception occured
2009-05-13 18:12:43.078125 [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-13 18:12:43.078125 [ERROR][MPMain]: Exception :Configuration system failed to initialize
2009-05-13 18:12:43.078125 [ERROR][MPMain]: site :Void EnsureInit(System.String)
2009-05-13 18:12:43.078125 [ERROR][MPMain]: source :confused:ystem.Configuration
2009-05-13 18:12:43.078125 [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()
 

trevor

Portal Pro
October 17, 2006
1,600
950
Chelmsford
Home Country
United Kingdom United Kingdom
Looks like a damaged MediaPortal.exe.config file, unpack the attached file and copy to C:\Program Files\Team MediaPortal\MediaPortal directory overwriting the existing file.

Would make a backup copy of the original.

Trevor
 

Attachments

  • MediaPortal.rar
    30.6 KB

infy

Portal Member
January 27, 2006
45
17
This has happened to me twice now in a short time span....

possible bug? or perhaps some protection is needed to prevent this from happening?

new system though
 

trevor

Portal Pro
October 17, 2006
1,600
950
Chelmsford
Home Country
United Kingdom United Kingdom
This has happened to me twice now in a short time span....

possible bug? or perhaps some protection is needed to prevent this from happening?

new system though

If it's the same error it seems to happen if MP or the PC crashes, at startup in my case.

I keep a copy of MediaPortal.exe.config somewhere safe, well the whole MediaPortal directory actually.

Maybe a bug or just bad luck but I have answered 4 or 5 questions like this so suspect there are others - not sure how you could get round it automatically though.

Trevor
 

Users who are viewing this thread

Top Bottom