please specify the ip address or hostname of the master tv service

Discussion in 'General Support' started by Crom, April 18, 2011.

  1. Crom

    Crom Portal Member

    Joined:
    June 9, 2008
    Messages:
    10
    Likes Received:
    3
    Ratings:
    +5 / 0
    MediaPortal Version: 1.1.2 (upgrading to 1.1.3
    MediaPortal Skin: Streamed MP
    Windows Version: Win 7 32bit
    1. TV Card: Nova T 500

    2. TV Card: Blackgold 3620

    Just in case someone else comes across this problem I had a hard time finding a solution to it. I was receiving the error message in the above subject.

    The error was triggered after upgrading from 1.1.2 to 1.1.3 and installing a new Blackgold 3620.



    Checking error.log produced the following:

    2011-04-18 21:28:35.297768 [ERROR][MPMain(1)]: TVHome: Error in Reload
    2011-04-18 21:28:35.301768 [ERROR][MPMain(1)]: Exception :confused:ystem.TypeInitializationException: The type initializer for 'Gentle.Framework.ProviderFactory' threw an exception. ---> Error: NoConfigStoreFoundUnclassified
    Gentle.Common.GentleException: FATAL ERROR: No configuration store was found!
    Gentle is unable to continue!

    The handlers emitted the following error messages:
    Unable to create GentleSectionHandler for section named "gentle" in file "C:\Program Files\Team MediaPortal\MediaPortal\MediaPortal.exe.Config".

    Unable to create FileHandler for file Gentle.config.
    This usually means that the file could not be found in any of the default search locations.

    The handlers threw the following exceptions:
    System.Xml.XmlException: '.', hexadecimal value 0x00, is an invalid character. Line 1, position 1.
    at System.Xml.XmlTextReaderImpl.Throw(Exception e)
    at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
    at System.Xml.XmlTextReaderImpl.Throw(Int32 pos, String res, String[] args)
    at System.Xml.XmlTextReaderImpl.ThrowInvalidChar(Int32 pos, Char invChar)
    at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
    at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
    at System.Xml.XmlTextReaderImpl.Read()
    at System.Xml.XmlValidatingReaderImpl.Read()
    at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
    at System.Xml.XmlDocument.Load(XmlReader reader)
    at Gentle.Common.FileHandler.LoadXml(TextReader reader)
    at Gentle.Common.FileHandler..ctor(String file)
    at Gentle.Common.Configurator.AddFileHandler(String configStoreName, String fileName)


    at Gentle.Common.Configurator.InitializeHandlers()
    at Gentle.Common.Configurator.Configure(String configStoreName, Object instance)
    at Gentle.Common.Configurator.Configure(Object instance)
    at Gentle.Framework.ProviderRegistry..ctor()
    at Gentle.Framework.ProviderFactory..cctor()
    --- End of inner exception stack trace ---
    at Gentle.Framework.ProviderFactory.GetProvider(Type type)
    at Gentle.Framework.SqlBuilder..ctor(IGentleProvider provider, StatementType stmtType, Type type, LogicalOperator logicalOperator)
    at Gentle.Framework.SqlBuilder..ctor(StatementType stmtType, Type type)
    at TvPlugin.ChannelNavigator.ReLoad()
    2011-04-18 21:28:35.301768 [ERROR][MPMain(1)]: Exception :The type initializer for 'Gentle.Framework.ProviderFactory' threw an exception.
    2011-04-18 21:28:35.302768 [ERROR][MPMain(1)]: site :Gentle.Framework.IGentleProvider GetProvider(System.Type)
    2011-04-18 21:28:35.302768 [ERROR][MPMain(1)]: source :Gentle.Framework
    2011-04-18 21:28:35.302768 [ERROR][MPMain(1)]: stacktrace: at Gentle.Framework.ProviderFactory.GetProvider(Type type)
    at Gentle.Framework.SqlBuilder..ctor(IGentleProvider provider, StatementType stmtType, Type type, LogicalOperator logicalOperator)
    at Gentle.Framework.SqlBuilder..ctor(StatementType stmtType, Type type)
    at TvPlugin.ChannelNavigator.ReLoad()


    Do a search for gentle.config on the C drive. You'll probably find there is more than one.

    AFAIK they should live in the following folders:

    C:\Users\All Users\Team MediaPortal\MediaPortal\gentle.config
    C:\Users\All Users\Team MediaPortal\MediaPortal TV Server

    I checked and they were both there...and then spent some time scratching my head...until I checked the file contents.

    Even though both files were reporting 6kb size in explorer (which is why I hadn't checked the contents) when I opened them one of the files was empty.

    So I just copied the one with something in it over the other - take a backup for the outside chance that you need a blank file ;-) - and voila(!) tv is now back in action.

    ....now back to trying to get the right codec for HD TV.


    Cheers,
    Crom
     
    • Like Like x 3
    • Thank You! Thank You! x 2
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. mmf
    • Premium Supporter

    mmf MP Donator

    Joined:
    August 29, 2007
    Messages:
    100
    Likes Received:
    7
    Ratings:
    +7 / 0
    AW: please specify the ip address or hostname of the master tv service

    Thx, saved me some effort :)
     
  4. mattzp

    mattzp New Member

    Joined:
    November 7, 2006
    Messages:
    1
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    New Zealand New Zealand
    Re: AW: please specify the ip address or hostname of the master tv service

    Second that :) was about to hit the button and reinstall from scratch, this post saved me alot of pain.
     
  5. sincze

    sincze Portal Pro

    Joined:
    September 18, 2011
    Messages:
    76
    Likes Received:
    1
    Ratings:
    +1 / 1


    After a strange bluescreen on my Win 7 X32 machine Live TV & Recoded TV Playback were impossible.
    MP seems to be unable to connect to the tv server. (Keeps asking my for the hostname or ip address)
    VIDEO section playback is working.

    With Crom's explaination saved me some work.
    Now live TV & Recorded TV playback is now working again.

    Hopefully no more BSOD's.
     
  6. eamon

    eamon Portal User

    Joined:
    August 9, 2008
    Messages:
    8
    Likes Received:
    0
    Ratings:
    +0 / 0
    you rock my world mate. I couldnt figure out what was going on. You just saved me hours of work :)
     
  7. Zeoch

    Zeoch Portal Member

    Joined:
    October 3, 2009
    Messages:
    36
    Likes Received:
    4
    Location:
    Berlin
    Ratings:
    +4 / 0
    Home Country:
    Germany Germany
    Show System Specs
    Thank you very much Crom!

    Run into the same problem and your post helped me.
     
  8. runner01

    runner01 Portal Member

    Joined:
    April 22, 2007
    Messages:
    20
    Likes Received:
    0
    Ratings:
    +0 / 0
    Wow great post, saved me a heap of stuffing around, thanks very much
     
  9. GaryF

    GaryF Portal Member

    Joined:
    October 25, 2010
    Messages:
    23
    Likes Received:
    2
    Ratings:
    +2 / 0
    Home Country:
    Sweden Sweden
    Thank you so much!

    Today I suddenly got the error that tv server could not be found and got prompted for ip adress even though the tv server resides on the same computer. I haven't done anything since yesterday when everything worked. But you saved me, one of the gentle files was empty (showed as 0 kb in explorer).

    This bug is very serious if it can occur spontaneously like it did for me.

    Edit: It has now occurred several times for me and the last time it happened when C: was completely full. Would be interesting to know if that is the case for others aswell.
     
    Last edited: May 19, 2013
  10. Da Nib

    Da Nib Portal Member

    Joined:
    November 5, 2008
    Messages:
    19
    Likes Received:
    0
    Occupation:
    Responsible for audiovisuals on a highschool
    Location:
    somewhere round Gent
    Ratings:
    +0 / 0
    Home Country:
    Belgium Belgium
    Yep, suddenly appeared; watching tv on my notebook was without a problem, on my desktop where the tv server resides I was unable to watch tv. This post was the solution, thanks very much.
     
  11. jsc2013
    • Premium Supporter

    jsc2013 MP Donator

    Joined:
    February 17, 2013
    Messages:
    80
    Likes Received:
    13
    Ratings:
    +19 / 0
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    Thanks for the fix. I got this error after I accidentally filled up my C: drive (all my TV stuff goes onto a second drive) on xmas eve! Boy was I worried.

    You saved my bacon!
     
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!