- June 30, 2009
- 4
- 0
- Home Country
-
New Zealand
Thanks in advance.
I have a HTPC and its driving me nuts !! The purpose is to watch NZ's Freeview HD. Using a Hauppuage 4000 quad tuner card.
Having completely given up on PowerCinema and their rubbish support I am trying MediaPortal. Was working in the shop but back home and its not.
I think its a networking problem according to the error log.
The machine is on a home network and the router assigned it an IP address, 192.168.1.5
The TV service is up and running, but has issues connecting to the SQL Server database.
From the error log...
2009-06-30 21:26:44.446724 [SetupTv]: RemoteControl: Error getting server Instance - Invalid URI: A port was expected because of there is a colon (':') present but the port could not be parsed.
2009-06-30 21:26:44.446724 [SetupTv]: RemoteControl - Error checking connection state
2009-06-30 21:28:19.404128 [5]: applyProcessPriority: exception is 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 TvDatabase.TvBusinessLayer.GetSetting(String tagName, String defaultValue)
at TvService.Service1.applyProcessPriority()
2009-06-30 21:28:19.514128 [TVService]: 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-PC\SQLEXPRESS;Connection Timeout=300; ---> System.Data.SqlClient.SqlException: Cannot open database "MpTvDb" requested by the login. The login failed.
Login failed for user 'sa'.
.. more but thats probably enough
From tv.log...
4 attempts then on the 5th...
2009-06-30 21:28:42.517128 [TVService]: Controller: 5 init attempt
2009-06-30 21:28:42.517128 [TVService]: C:\ProgramData\Team MediaPortal\MediaPortal TV Server\gentle.config
2009-06-30 21:28:42.518128 [TVService]: Controller: using SQLServer database connection: Password
2009-06-30 21:28:42.518128 [TVService]: ----------------------------
2009-06-30 21:28:42.519128 [TVService]: Detecting Cards in 5 seconds
2009-06-30 21:28:47.519128 [TVService]: Detecting Cards
2009-06-30 21:28:47.542128 [TVService]: Detected DVB-T card:hauppauge wintv 88x dvb-t tuner/demod
2009-06-30 21:28:47.552128 [TVService]: Detected DVB-S card:hauppauge wintv 88x dvb-s/s2 tuner/demod
2009-06-30 21:28:47.557128 [TVService]: Detected analog card:hauppauge wintv 88x tuner
2009-06-30 21:28:47.560128 [TVService]: Controller: started at Media-PC
2009-06-30 21:28:47.565128 [TVService]: Controller: local ip address:192.168.1.5
2009-06-30 21:28:47.570128 [TVService]: Controller: Failed to initialize TVServer
2009-06-30 21:28:47.573128 [TVService]: TV Service: Load plugins
2009-06-30 21:28:47.582128 [TVService]: PluginManager: Loaded ComSkipLauncher version:1.0.2.0 author:and-81
2009-06-30 21:28:47.766128 [TVService]: PluginManager: Loaded ConflictsManager version:1.0.0.1 author:Broceliande
etc etc.
There is nothing in the hosts file except the standard localhost entry.
This machine is a Gigabyte AMD thing with 4GB RAM, 1TB disk, one giant lemon !!
Any ideas much appreciated.
Should mention the database setup initially was fine.
Now when I try to load the TV Server configuration, I get a message "Unable to connect to fe80::3ce0:c2c:...."
I have a HTPC and its driving me nuts !! The purpose is to watch NZ's Freeview HD. Using a Hauppuage 4000 quad tuner card.
Having completely given up on PowerCinema and their rubbish support I am trying MediaPortal. Was working in the shop but back home and its not.
I think its a networking problem according to the error log.
The machine is on a home network and the router assigned it an IP address, 192.168.1.5
The TV service is up and running, but has issues connecting to the SQL Server database.
From the error log...
2009-06-30 21:26:44.446724 [SetupTv]: RemoteControl: Error getting server Instance - Invalid URI: A port was expected because of there is a colon (':') present but the port could not be parsed.
2009-06-30 21:26:44.446724 [SetupTv]: RemoteControl - Error checking connection state
2009-06-30 21:28:19.404128 [5]: applyProcessPriority: exception is 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 TvDatabase.TvBusinessLayer.GetSetting(String tagName, String defaultValue)
at TvService.Service1.applyProcessPriority()
2009-06-30 21:28:19.514128 [TVService]: 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-PC\SQLEXPRESS;Connection Timeout=300; ---> System.Data.SqlClient.SqlException: Cannot open database "MpTvDb" requested by the login. The login failed.
Login failed for user 'sa'.
.. more but thats probably enough
From tv.log...
4 attempts then on the 5th...
2009-06-30 21:28:42.517128 [TVService]: Controller: 5 init attempt
2009-06-30 21:28:42.517128 [TVService]: C:\ProgramData\Team MediaPortal\MediaPortal TV Server\gentle.config
2009-06-30 21:28:42.518128 [TVService]: Controller: using SQLServer database connection: Password
2009-06-30 21:28:42.518128 [TVService]: ----------------------------
2009-06-30 21:28:42.519128 [TVService]: Detecting Cards in 5 seconds
2009-06-30 21:28:47.519128 [TVService]: Detecting Cards
2009-06-30 21:28:47.542128 [TVService]: Detected DVB-T card:hauppauge wintv 88x dvb-t tuner/demod
2009-06-30 21:28:47.552128 [TVService]: Detected DVB-S card:hauppauge wintv 88x dvb-s/s2 tuner/demod
2009-06-30 21:28:47.557128 [TVService]: Detected analog card:hauppauge wintv 88x tuner
2009-06-30 21:28:47.560128 [TVService]: Controller: started at Media-PC
2009-06-30 21:28:47.565128 [TVService]: Controller: local ip address:192.168.1.5
2009-06-30 21:28:47.570128 [TVService]: Controller: Failed to initialize TVServer
2009-06-30 21:28:47.573128 [TVService]: TV Service: Load plugins
2009-06-30 21:28:47.582128 [TVService]: PluginManager: Loaded ComSkipLauncher version:1.0.2.0 author:and-81
2009-06-30 21:28:47.766128 [TVService]: PluginManager: Loaded ConflictsManager version:1.0.0.1 author:Broceliande
etc etc.
There is nothing in the hosts file except the standard localhost entry.
This machine is a Gigabyte AMD thing with 4GB RAM, 1TB disk, one giant lemon !!
Any ideas much appreciated.
Should mention the database setup initially was fine.
Now when I try to load the TV Server configuration, I get a message "Unable to connect to fe80::3ce0:c2c:...."