[solved] Startup problem (1 Viewer)

TVWatcher

Portal Member
January 9, 2020
36
2
United Kingdom United Kingdom
Country flag
When I try to run MediaPortal I sometimes get the message box:
------------------------------------------------------
Failed to startup tvserviceSystem.Runtime.Remoting.RemotingException:
Requested Service not found

Server stack trace:
at
System.Runtime.Remoting.Channels.BinaryServerFormatterSink.ProcessMessage(IServerChannelSinkStack sinkStack, IMessage requestMsg, ITransportHeaders requestHeaders, Stream requestStream, IMessage& responseMsg, ITransportHeaders& responseHeaders, Stream& responseStream)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at TvControl.IController.get_Cards()
at SetupTv.Startup.Main(String[] arguments)
------------------------------------------------------

Sometimes trying to start again cures it, other times I need to restart the computer.
The latest example of this was that after successfully starting (and then closing) MediaPortal I tried to run the TV Configuration program and got this error. I was however able to run MediaPortal again, but not the TV Configuration - even after a restart. Today's log file is attached.

Do I need to re-install MP2 before I can run the TV Configuration, and how can I stop this error occuring anyway?

[Edit]
Rather than uninstalling and reinstalling I chose the 'Repair' option after selecting MediaPortal in the Control Panel Programs and Features section. I was then able to run the TV Configuration - not something I want to have to do again!
[/Edit]
 

Attachments

Last edited:

HTPCSourcer

MP2 Product Manager
  • Team MediaPortal
  • May 16, 2008
    11,431
    2,333
    Germany Germany
    Country flag
    Hello,

    What happens is that your computer, which probably is a modern and hence fast one, is not able to correctly initialize the TV plugin. This leads to a fully functional MediaPortal, however, the TV part is not working.

    Try setting the start type of MP2 Server Service to "delayed". While the startup of the PC will take a little bit longer, this should help to avoid the observed issues.

    in any case it is not necessary to do a reinstall or repair. Just restart the MP2 Server Service and you should be OK.
     

    TVWatcher

    Portal Member
    January 9, 2020
    36
    2
    United Kingdom United Kingdom
    Country flag
    What happens is that your computer, which probably is a modern and hence fast one, is not able to correctly initialize the TV plugin.
    Well, not all that modern, it's 9 years old!

    After doing the 'repair' install I now get the error:

    ---------------------------
    Unhandled Exception
    ---------------------------
    Unhandled exception in application: Could not find the MediaPortal.Common.Logging.ILogger service
    ---------------------------

    So I'll do a complete un/re-install, follow your suggestion and cross my fingers!
    Thanks for the prompt reply.
     

    HTPCSourcer

    MP2 Product Manager
  • Team MediaPortal
  • May 16, 2008
    11,431
    2,333
    Germany Germany
    Country flag
    Unhandled exception in application: Could not find the MediaPortal.Common.Logging.ILogger service
    This can happen at the first start after installation, often in conjunction with a DxSharp error message box. Trying again is then usually working. I wish I knew why it behaves that way...

    If you downloaded the installer with Micosoft Edge or IE, make sure that you allow full access to the zip in the file properties (checkbox at the bottom) before unzipping.
     

    TVWatcher

    Portal Member
    January 9, 2020
    36
    2
    United Kingdom United Kingdom
    Country flag
    I unistalled, ran CCleaner to clear junk and temporary files and clean up the registry, restarted, reinstalled from the file donwloaded using Firefox, set the MP2 Server Service to 'delayed' and restarted again. On trying to run the TV Configuration I got the error as in the the attached file, waited a few seconds and tried again. It ran!
     

    Attachments

    TVWatcher

    Portal Member
    January 9, 2020
    36
    2
    United Kingdom United Kingdom
    Country flag
    At least it now works on a second attempt, which it didn't before, and I don't suppose I'll want to run the TV Configuration very often.
    Thanks again for your help.
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    Grisu002 Failed to startup - TV Server funktioniert nicht Allgemeines Support- und Diskussionsforum 0
    U [solved] MediaPortal crashing on startup General Support 10
    T [solved] failed to-startup tvservice Installation, configuration support 1
    A Client/Server Setup: Slow TV Startup Television (MyTV frontend and TV-Server) 0
    Lichloathe [solved] Latest Media Handler - Default view for TVSeries on startup Fanart Handler 2
    D Crashing on startup General Support 8
    TeMorituri Crashes on startup General Support 2
    Remoteglen Freezing on startup General Support 4
    R MP crashing immediately after startup General Support 2
    V [solved] Startup Crash if Video Folders not online/accessible. (default videos plugin) General Support 10
    F Problems with new install of MP2 Newcomers Forum 3
    A [solved] DiseqC problems after upgrade to 1.25 General Support 9
    M Problems with VFD Display after standby- Futaba DM140GINK Mini Display 0
    R Connection (api) problems with thetvdb.com General 3
    123vak123 [solved] 5008: The problem with scrolling text in the "listcontrol" in 4K General Support 22
    framug 1.24.0 1.25.0 pre : problem with build ? 1.24 Pre Release 89
    J Problems with 1.24 StreamedMP 19
    Rob Hexenmeister Navigation problems adding menu buttons to EPG General Support 1
    404 [solved] EPG problem after Win10 'upgrade' General Support 1
    framug [EPG] Some problems with DVB EPG Improvement Suggestions 49
    C strange tuner(?) problem TV-Cards 0
    R Problems accessing MySQL database remotely MediaPortal 1 Talk 0
    G Problems with DRR MediaPortal 1 Talk 1
    rsbrux 1.23.0 MPE Manager Problem with LAV Filters Bugreports 2
    S Problem with Remote Control One-for-all Streamer Newcomers Forum 6
    Top Bottom