RC 4 Startup Problem (1 Viewer)

caveman

Portal Pro
August 2, 2007
250
23
Home Country
Denmark Denmark
TV-Server Version: 1.0 RC4
MediaPortal Version: 1.0 RC4
MediaPortal Skin: Blue 3
Windows Version: Vista 32 Professional
CPU Type: AMD 4850e
HDD: Samsung 320
Memory: 4GB
Motherboard: GIGABYTE MA78GPM-DS2H
Video Card: ATI Radeon 3400
Video Card Driver: Catalyst 8.9
Sound Card: Realtek Onboard
Sound Card AC3: Realtek Onboard
Sound Card Driver: 6.0.1.5694
1. TV Card: FireDTV C/CI
1. TV Card Type:
1. TV Card Driver:
2. TV Card:
2. TV Card Type:
2. TV Card Driver:
3. TV Card:
3. TV Card Type:
3. TV Card Driver:
4. TV Card:
4. TV Card Type:
4. TV Card Driver:
MPEG2 Video Codec:
MPEG2 Audio Codec:
h.264 Video Codec:
Satelite/CableTV Provider:
HTPC Case: Origenae X11 v2
Cooling: synth ninja mini
Power Supply: DeZen - SCP400FL - FLPower - PSU 400Watt
Remote:
TV:
TV - HTPC Connection:

I just moved my HTPC to the livingroom and sudently it wont start anymore.
For some reason unknown i get the error:

2008-12-06 16:29:10.257822 [Info.][MPMain]: MediaPortal: Unhandled exception occured
2008-12-06 16:29:10.257822 [Info.][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.

The rest of the Mediaportal.log is below...

The config it complains contains:
<?xml version="1.0"?>
<configuration>
<startup>
<requiredRuntime version="v2.0.50727"/>
<supportedRuntime version="v2.0.50727"/>
</startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="plugins/windows"/>
</assemblyBinding>
</runtime>
<appSettings>
<add key="version" value="1.0.0.0 RC4"/>
<add key="edtftp.log.level" value="ALL"/>
</appSettings>
</configuration>

Anybody who knows what is going on her?

Cheers...
A Sesperate HTPC owner :)

2008-12-06 16:29:10.242222 [Info.][MPMain]: Main: MediaPortal v0.9.4.20955 is starting up on Windows Vista (Service Pack 1)
2008-12-06 16:29:10.242222 [Info.][MPMain]: Main: Using Directories:
2008-12-06 16:29:10.242222 [Info.][MPMain]: Base - C:\Program Files\Team MediaPortal\MediaPortal
2008-12-06 16:29:10.242222 [Info.][MPMain]: Log - C:\ProgramData\Team MediaPortal\MediaPortal\Log
2008-12-06 16:29:10.242222 [Info.][MPMain]: Skin - C:\Program Files\Team MediaPortal\MediaPortal\Skin
2008-12-06 16:29:10.242222 [Info.][MPMain]: Language - C:\Program Files\Team MediaPortal\MediaPortal\Language
2008-12-06 16:29:10.242222 [Info.][MPMain]: Database - C:\ProgramData\Team MediaPortal\MediaPortal\Database
2008-12-06 16:29:10.242222 [Info.][MPMain]: Plugins - C:\Program Files\Team MediaPortal\MediaPortal\Plugins
2008-12-06 16:29:10.242222 [Info.][MPMain]: Thumbs - C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs
2008-12-06 16:29:10.242222 [Info.][MPMain]: Cache - C:\ProgramData\Team MediaPortal\MediaPortal\Cache
2008-12-06 16:29:10.242222 [Info.][MPMain]: Weather - C:\Program Files\Team MediaPortal\MediaPortal\Weather
2008-12-06 16:29:10.242222 [Info.][MPMain]: CustomInputDevice - C:\ProgramData\Team MediaPortal\MediaPortal\InputDeviceMappings
2008-12-06 16:29:10.242222 [Info.][MPMain]: Config - C:\ProgramData\Team MediaPortal\MediaPortal
2008-12-06 16:29:10.242222 [Info.][MPMain]: CustomInputDefault - C:\Program Files\Team MediaPortal\MediaPortal\InputDeviceMappings\defaults
2008-12-06 16:29:10.242222 [Info.][MPMain]: BurnerSupport - C:\Program Files\Team MediaPortal\MediaPortal\Burner
2008-12-06 16:29:10.242222 [Info.][MPMain]: Main: Assembly creation time: 27-11-2008 16:26:36 (UTC)
2008-12-06 16:29:10.257822 [Info.][MPMain]: Main: Set current directory to: C:\Program Files\Team MediaPortal\MediaPortal
2008-12-06 16:29:10.257822 [Info.][MPMain]: MediaPortal: Unhandled exception occured
2008-12-06 16:29:10.257822 [Info.][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.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)
2008-12-06 16:29:10.257822 [Info.][MPMain]: Exception :Configuration system failed to initialize
2008-12-06 16:29:10.257822 [Info.][MPMain]: site :Void EnsureInit(System.String)
2008-12-06 16:29:10.257822 [Info.][MPMain]: source :confused:ystem.Configuration
2008-12-06 16:29:10.257822 [Info.][MPMain]: stacktrace: at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey)
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)
 

caveman

Portal Pro
August 2, 2007
250
23
Home Country
Denmark Denmark
If anybody could post the mediaportal.exe.config i could see if that woud make the app start again.
 

caveman

Portal Pro
August 2, 2007
250
23
Home Country
Denmark Denmark
Bugger... Just when the machine was behaving nicely :)
Wonder what is going on then...
 

The Doctor

MP Donator
  • Premium Supporter
  • December 24, 2007
    180
    14
    Home Country
    Netherlands Netherlands
    Last week I had a simular problem after a reboot. Mediaportal was missing the GENTLE.CONFIG file.
    It was there but empty and 0 kb in filesize. I copied the file back from an installer backup that is created when installing svn's.

    Hope this solves your problem.


    Mediaportal = a never ending story (I love it :) )
     

    caveman

    Portal Pro
    August 2, 2007
    250
    23
    Home Country
    Denmark Denmark
    Well I cant check it right now i "kind" of have lost the screen to the mediacenter. Well my screen resolution went buy buy when i moved the machine...
    And remote desktop is not working ;)

    Just checked it the gentel.config is 6kb..
     

    caveman

    Portal Pro
    August 2, 2007
    250
    23
    Home Country
    Denmark Denmark
    Had to try someting so i did the normal desperate thing.
    Deleted the mediaportal folder in C:\Program Files and C:\ProgramData

    The trying to install the mediaportal client only.
    But for some strange reason it didnt install the posibility to access the tvserver.

    Then i tried installing the hole mediaportal server and clien (standalone setup) again..
    TVServer was found and not reinstalled..
    But still client dint not have access to TVServer...

    And still when i try to run the app i get the error:
    That the root elemet is missing..
    Please HELLLP :)
     

    Jupek

    Portal Member
    March 6, 2006
    24
    5
    Home Country
    Finland Finland
    I just had this and after a few hours I figure out Vista's logic on this matter. You have corrupted gentle.config but the question was where it is. :)

    In my case if I ran with administrator rights mediaportal it worked just fine because it used that file on mediaportal's home dir. But when ran with normal rights it just crashed and couldn't connect to server.

    Right file was on

    C:\Users\<your_account>\AppData\Local\VirtualStore\Program Files\Team MediaPortal\Media Portal\gentle.config.

    It was even 6 kb how Windows reported it but when I opened that with notepad noticed that it was empty. That explained that "root" problem. I just then copied correct gentle.config over that file and now it's working again. :) I hope this helps.
     

    caveman

    Portal Pro
    August 2, 2007
    250
    23
    Home Country
    Denmark Denmark
    Well i just did what i have done about 12 - 15 times...
    Formated the drive, reinstalled vista and now i wait for the 1.0 version... :)
    But think i will do it again.. Vista for no aparent reason gave me blue screen yesterday...
    Hmmm i realy DO love computeres ;)
     

    Users who are viewing this thread

    Top Bottom