TV server crashed again (1 Viewer)

mm1352000

Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,544
    8,236
    Home Country
    New Zealand New Zealand
    Hello again

    The Windows application event log says:
    [collapse]"14/11/2015 5:44:15 AM";"TV Server";"(0)";"Error";"Service cannot be started. Error: DatabaseUnavailableUnclassified Gentle.Common.GentleException: The database backend (provider SQLServer) could not be reached. Check the connection string: Password=***;Persist Security Info=True;User ID=sa;Initial Catalog=MpTvDb;Data Source=Mediaserver\SQLEXPRESS;Connection Timeout=30; ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 0 - No connection could be made because the target machine actively refused it.) at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connec...";"0"[/collapse]

    Translation: TV Server failed to start because it couldn't communicate with the database server you've configured it to use (SQL Server Express).

    TV Server can't run unless it can use its database. If you try to start TV Server when its database is not available (as you appear to be doing) then it is normal to get this error.

    It is strange that the database would not be available. MediaPortal's installer tells Windows that it must start the database server before it attempts to start TV Server. However in your case it appears that Windows isn't aware of that rule, and is attempting to start TV Server before attempting to start SQL Server.

    Please check the Windows service configuration for the "TVService" (TV Server) service. The dependencies tab should include SQL Server. If it does not, that is the problem.


    P.S. I suggest you investigate the following message which I found in your Windows system event log:
    "13/11/2015 1:37:20 AM";"Microsoft-Windows-HAL";"(0)";"Error";"The platform firmware has corrupted memory across the previous system power transition. Please check for updated firmware for your system.";"12"

    There are more than 90 instances of that error in the log. Doesn't seem very healthy!
     

    Arno31

    Portal Member
    March 16, 2008
    25
    0
    Hello, I installed MediaPortal 1 version 1.12.0 and it crashed sometimes, mostly when watching TV. Therefore I re-installed completely Windows 7, updated it to the latest updates and installed MediaPortal 1.13.0. I use the default skin "wide" (not titan), and xmltv extension. But crashes stared again when watching TV.

    More specifically, the image suddenly freezes, sometimes the sound continues to work but neither the remote nor the keyboard respond.

    Could someone help ?

    I attach the bug report
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,544
    8,236
    Home Country
    New Zealand New Zealand

    Arno31

    Portal Member
    March 16, 2008
    25
    0
    Thank you, I'll try tonight. Could you be a bit more specific for the patch : should I download the file "Core_1.13_removed_lock.v3.zip" anf if yes, what should I do with the "Core.dll" inside ?
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,544
    8,236
    Home Country
    New Zealand New Zealand
    should I download the file "Core_1.13_removed_lock.v3.zip"
    Yes.

    what should I do with the "Core.dll" inside ?
    Use it to replace the Core.dll in your MediaPortal install folder:
    1. Close MP and MP Configuration.
    2. Open Windows Explorer
    3. Navigate to your MediaPortal install directory (typically c:\Program Files (x86)\Team MediaPortal\MediaPortal).
    4. Make a backup of Core.dll in case anything goes wrong.
    5. Download and extract the patched Core.dll to replace the standard one.
     

    Arno31

    Portal Member
    March 16, 2008
    25
    0
    Thank you. I tested yesterday evening and it seems to work. Let's cross fingers ! Thank you again for the nice support !
     

    Users who are viewing this thread

    Similar threads

    Reading through your code, I can see it's more than a couple steps above my paygrade. :cry:
    Reading through your code, I can see it's more than a couple steps above my paygrade. :cry:
    I used to run the TVService under the "NT Service\TVService" account to follow least privileges principal (not exposing my whole...
    Replies
    3
    Views
    2K
    Thank you for this tip! I'm moving MP TV Server to a new machine. I installed the 64-bit version and most of the MP firewall rules were set to Public. I couldn't connect to the new TV Server from my old single-seat installation running 32-bit until I changed all MP-related firewall rules on the new machine to Private. Before I did...
    Thank you for this tip! I'm moving MP TV Server to a new machine. I installed the 64-bit version and most of the MP firewall...
    Server and client on modern uptodate Windows 11 desktop. Software is Server and Client version x86 1.38.003 Remote client on...
    Replies
    26
    Views
    2K
    I haven't tested it. I use MP1, but sometimes I try to help with MP2 :).
    I haven't tested it. I use MP1, but sometimes I try to help with MP2 :).
    This happened immediately after my Windows 11 x64 monthly update for November. The update included also cumulative update to .NET...
    Replies
    9
    Views
    2K
    I noticed there's an updated Visual C++ Runtime (14.50.35710), maybe try to reinstall the runtimes? That's what fixed the issue when I tried 1.38.1
    I noticed there's an updated Visual C++ Runtime (14.50.35710), maybe try to reinstall the runtimes? That's what fixed the issue...
    I just updated from 1.37 to 1.38. MediaPortal 1.38 exits abruptly when stopping video playback. I did three tests; Debug with...
    Replies
    38
    Views
    9K
    MP1 MP2 MP2 - V2.5 MP2 - V2.5 Server on Windows 11 Pro DE
    Good evening, the last weeks my MP2.5 Server with TVE3 is running not very good/stable. After 30 min the server quits working after changing EPG from EPG Buddie to Clickfinder (TV Movie). The OS and the MP2.5 Server Software were installed several times new, but in general nothing changed. Are there any changes or setting needed for...
    Good evening, the last weeks my MP2.5 Server with TVE3 is running not very good/stable. After 30 min the server quits working...
    Good evening, the last weeks my MP2.5 Server with TVE3 is running not very good/stable. After 30 min the server quits working...
    Replies
    0
    Views
    1K
    Top Bottom