[no Bug] Loading Window Plugins (1 Viewer)

JohnnyXP

New Member
April 13, 2010
4
3
MediaPortal Version: 1.1.0.0 SVN 25546
MediaPortal Skin: PureVisionHD
Windows Version: Windows 7 x86 / Windows 7 x64
CPU Type: i7 920 / Q6600
HDD:
Memory: 8GB / 2GB
Motherboard: P5E3-Premium / P6T6WS
Video Card: EAH4870 / GTX285
Video Card Driver: latest
Sound Card:
Sound Card AC3:
Sound Card Driver:
1. TV Card: FireDTV S2
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: Zalman HD160XT
Cooling:
Power Supply:
Remote:
TV:
TV - HTPC Connection: HDMI

Hello Everyone,

first post here and first of all I really need to thank you for the whole work and effort. MediaPortal is a great/outstanding software.

But here is the problem/issue I am currently experiencing. I upgraded to the latest SVN and now everytime when MP is started on any clients it got stuck at the splashscreen at "Loading Windows Plugins". It takes approx. 5 minutes until MP has completely started, but then if you click on TV --> complete freeze!

The seat setup is as follows:

The main HTPC receiving a satelite signal is connected to the HomeGroup via WLAN (n-standard). One Laptop is also connected via WLAN (g) and another PC wired. The router which is being used is a FritzBox 7390. Connections are stable with an excellent signal quality.

In the last SVN's everything just run fine, except that watching TV using the Laptop sometimes freezes MP, or watching HD Live-TV on the main HTPC crashed the whole machine.

Currently I wasn't able to test the lastet SVN due to the problems described above. By the way, watching TV on the Server is just fine with the latest SVN.

Hopefully someone can help me.

Thank you in advance!
 

infinite.loop

Retired Team Member
  • Premium Supporter
  • December 26, 2004
    16,154
    4,133
    127.0.0.1
    Home Country
    Austria Austria
    at HTPCInfoPlugin.HTPCInfo.InitConnectors(), No connection could be made because the target machine actively refused it 127.0.0.1:31456)
    If this log is from the PC which does _not_ have the TvServer installed, then it simply tries to connect to the wrong IP. (127.0.0.1 is your local PC)

    Go to MediaPortal Configurtaion -> Television and enter the hostname of the PC where you have the Tv-Server installed.
     

    arion_p

    Retired Team Member
  • Premium Supporter
  • February 7, 2007
    3,367
    1,642
    Athens
    Home Country
    Greece Greece
    Please always provide full logs - clients and server.

    Also what DB Engine do you use MySQL or MS SQLServer?
    Did you try without any 3rd party plugins?

    Edit: infinityloop is right about localhost, I missed that part.
     

    JohnnyXP

    New Member
    April 13, 2010
    4
    3
    Hi both,

    thanks for your replies.

    @infinityloop: The logs provided are from the Client not from the TVServer. I tried it using DNS Name / IP (also checked the IP on the TV Server itself. Have tried it with a hosts config but neither nor it comes up with the same error.

    arion_p: Sorry for that ... will provide the logs from the server as soon as possible. DB is MYSQL 2008 on the TVServer. As far as I am aware of, there are no 3rd party plugins installed except those from PureVisionHD3.7 - but I tried it with disabled plugins also.

    Thank you in advance for any further help on that issue.

    EDIT: @infinityloop: The section of the log you provided shows the HTPCInfo Plugin which should connect to localhost if monitoring sensors/LAN or sth else - but maybe I am misunderstanding sth here.
     

    elliottmc

    Retired Team Member
  • Premium Supporter
  • August 7, 2005
    14,927
    6,061
    Cardiff, UK
    Home Country
    United Kingdom United Kingdom
    Hi both,

    thanks for your replies.

    @infinityloop: The logs provided are from the Client not from the TVServer. I tried it using DNS Name / IP (also checked the IP on the TV Server itself. Have tried it with a hosts config but neither nor it comes up with the same error.

    @arion_p: Sorry for that ... will provide the logs from the server as soon as possible. DB is MYSQL 2008 on the TVServer. As far as I am aware of, there are no 3rd party plugins installed except those from PureVisionHD3.7 - but I tried it with disabled plugins also.

    Thank you in advance for any further help on that issue.

    EDIT: @infinityloop: The section of the log you provided shows the HTPCInfo Plugin which should connect to localhost if monitoring sensors/LAN or sth else - but maybe I am misunderstanding sth here.

    I think you should try a clean install of RC2 on your client systems, stick with Blue3wide as skin initially and see if you can get that working. The install your skin/plugins of choice.

    Regards,

    Mark
     

    infinite.loop

    Retired Team Member
  • Premium Supporter
  • December 26, 2004
    16,154
    4,133
    127.0.0.1
    Home Country
    Austria Austria
    EDIT: @infinityloop: The section of the log you provided shows the HTPCInfo Plugin which should connect to localhost if monitoring sensors/LAN or sth else - but maybe I am misunderstanding sth here.
    You are right, I missed that.

    But I would advice that you remvoe that plugin since it throws an aweful lot of exceptions in the log.

    Your main issue is:
    2010-04-13 21:37:40.509118 [ERROR][MPMain(1)]: Exception :Error: DatabaseUnavailableUnclassified
    Gentle.Common.GentleException: The database backend (provider SQLServer) could not be reached.
    Since you say that this problem occured suddenly when you installed a new svn rev. - did you try to revert to the last working one and see if it works again?

    Because if not, then something else happened.

    I would advice a complete reinstall of the client using the 1.1.0 RC2 version we released today - and not use any community plugins nor skins for the start to get it back working.
     

    JohnnyXP

    New Member
    April 13, 2010
    4
    3
    Thanks for the advice.

    Just a quick note. I already reinstalled SVN 25546 from scratch on all machines since the problem came up.
    But as you are saying RC2 has been released I will give it a shot.

    BTW I have attached the logs from the TVServer.

    Will get back as soon as I reinstalled RC2 and report if there are any errors left.

    Thank you for your help, really appreciated.
     

    arion_p

    Retired Team Member
  • Premium Supporter
  • February 7, 2007
    3,367
    1,642
    Athens
    Home Country
    Greece Greece
    You definitely have a database connectivity issue:
    Code:
    2010-04-13 21:37:40.508118 [Info.][MPMain(1)]: Exception   :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=MEDIA-CENTER\SQLEXPRESS;Connection Timeout=300; ---> 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: SQL Network Interfaces, error: 28 - Server doesn't support requested protocol)
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
       at System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject)
       at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject)
       at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart)
       at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)
       at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)
       at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)
       at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options)
       at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject)
       at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject)
       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 connectionFactory)
       at System.Data.SqlClient.SqlConnection.Open()
       at Gentle.Provider.SQLServer.SQLServerProvider.GetConnection()
       --- End of inner exception stack trace ---
       at Gentle.Common.Check.FailWith(Severity severity, Error error, Exception e, String msg)
       at Gentle.Common.Check.Fail(Exception e, Error error, Object[] args)
       at Gentle.Provider.SQLServer.SQL92Analyzer.Analyze(String tableName)
       at Gentle.Provider.SQLServer.SQLServerAnalyzer.Analyze(String tableName)
       at Gentle.Framework.GentleAnalyzer.UpdateObjectMap(ObjectMap map)
       at Gentle.Framework.ObjectFactory.ConstructMap(PersistenceBroker broker, Type type)
       at Gentle.Framework.ObjectFactory.GetMap(PersistenceBroker broker, 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()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: SQL Network Interfaces, error: 28 - Server doesn't support requested protocol)
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
       at System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject)
       at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject)
       at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart)
       at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)
       at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)
       at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)
       at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options)
       at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject)
       at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject)
       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 connectionFactory)
       at System.Data.SqlClient.SqlConnection.Open()
       at Gentle.Provider.SQLServer.SQLServerProvider.GetConnection()
    2010-04-13 21:37:40.509118 [Info.][MPMain(1)]: Exception   :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=MEDIA-CENTER\SQLEXPRESS;Connection Timeout=300;
    2010-04-13 21:37:40.509118 [Info.][MPMain(1)]:   site      :Void FailWith(Gentle.Common.Severity, Gentle.Common.Error, System.Exception, System.String)
    2010-04-13 21:37:40.509118 [Info.][MPMain(1)]:   source    :Gentle.Common
    2010-04-13 21:37:40.510118 [Info.][MPMain(1)]:   stacktrace:   at Gentle.Common.Check.FailWith(Severity severity, Error error, Exception e, String msg)
       at Gentle.Common.Check.Fail(Exception e, Error error, Object[] args)
       at Gentle.Provider.SQLServer.SQL92Analyzer.Analyze(String tableName)
       at Gentle.Provider.SQLServer.SQLServerAnalyzer.Analyze(String tableName)
       at Gentle.Framework.GentleAnalyzer.UpdateObjectMap(ObjectMap map)
       at Gentle.Framework.ObjectFactory.ConstructMap(PersistenceBroker broker, Type type)
       at Gentle.Framework.ObjectFactory.GetMap(PersistenceBroker broker, 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()

    If no client can connect, perhaps something changed in you firewall. It is possible that uninstallation of TVServer removed existing rules and new ones where not added in installation of new version.
     

    JohnnyXP

    New Member
    April 13, 2010
    4
    3
    Back again ...

    Installed RC2 on TVServer (singleseat) and on 2 Clients (Client). Attached are all three logs.

    After seeing DB issues in the last log I figured out, that the SQL2008 on the TVServer wasn configured properly. Maybe its due to the script i had been using - let me post the section I think that it responsible for that:

    ; Other options - change these at your own risk!
    SQLSYSADMINACCOUNTS="BUILTIN\Administrators"
    ADDCURRENTUSERASSQLADMIN="False"
    TCPENABLED="0"

    After setting TCP/IP in "Protocols for SQLExpress" to enabled, it is running fine - no startup delays anymore.

    Will give it a try again once installed my skins and plugins.

    Thanks for the hint!
     

    Users who are viewing this thread

    Top Bottom