Perte De Connexion Au Tvserver (1 Viewer)

titof

Portal Pro
March 3, 2008
2,248
63
Home Country
France France
Salut,

Cela fait plusieurs jours (presque tous les jours), que je retrouve MP sur l'écran de spécification de l'adresse IP du serveur.

Des fois en relancant le module tv, ça repart, mais des fois je suis obligé de redémarrer le serveur.

De quoi ça pourrait venir ?
 

titof

Portal Pro
March 3, 2008
2,248
63
Home Country
France France
J'ai ça dans le fichier error.log du tvserver :

<div class='quotetop'>CITATION</div>
2008-10-23 03:07:29.962006 [TVService]: Exception :Error: DatabaseUnavailableUnclassified
Gentle.Common.GentleException: The database backend (provider SQLServer) could not be reached.
Check the connection string: Password=1105;Persist Security Info=True;User ID=sa;Initial Catalog=MpTvDbRC2;Data Source=PC-MediaCenter\SQLEXPRESS;Connection Timeout=300; ---> System.Data.SqlClient.SqlException: Cannot open database "MpTvDbRC2" requested by the login. The login failed.
Login failed for user 'sa'.
à System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
à System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
à System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
à System.Data.SqlClient.SqlConnection.Open()
à Gentle.Provider.SQLServer.SQLServerProvider.GetConnection()
--- Fin de la trace de la pile d'exception interne ---
à Gentle.Common.Check.FailWith(Severity severity, Error error, Exception e, String msg)
à Gentle.Common.Check.Fail(Exception e, Error error, Object[] args)
à Gentle.Provider.SQLServer.SQL92Analyzer.Analyze(String tableName)
à Gentle.Provider.SQLServer.SQLServerAnalyzer.Analyze(String tableName)
à Gentle.Framework.GentleAnalyzer.UpdateObjectMap(ObjectMap map)
à Gentle.Framework.ObjectFactory.ConstructMap(PersistenceBroker broker, Type type)
à Gentle.Framework.ObjectFactory.GetMap(PersistenceBroker broker, Type type)
à Gentle.Framework.SqlBuilder..ctor(IGentleProvider provider, StatementType stmtType, Type type, LogicalOperator logicalOperator)
à Gentle.Framework.SqlBuilder..ctor(StatementType stmtType, Type type)
à TvDatabase.TvBusinessLayer.GetSetting(String tagName, String defaultValue)
à TvLibrary.Implementations.TvCardCollection..ctor()
à TvService.TVController.InitController()System.Data.SqlClient.SqlException: Cannot open database "MpTvDbRC2" requested by the login. The login failed.
Login failed for user 'sa'.
à System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
à System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
à System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
à System.Data.SqlClient.SqlConnection.Open()
à Gentle.Provider.SQLServer.SQLServerProvider.GetConnection()
Exception :The database backend (provider SQLServer) could not be reached.
Check the connection string: Password=1105;Persist Security Info=True;User ID=sa;Initial Catalog=MpTvDbRC2;Data Source=PC-MediaCenter\SQLEXPRESS;Connection Timeout=300;
site :Void FailWith(Gentle.Common.Severity, Gentle.Common.Error, System.Exception, System.String)
source :Gentle.Common
stacktrace: à Gentle.Common.Check.FailWith(Severity severity, Error error, Exception e, String msg)
à Gentle.Common.Check.Fail(Exception e, Error error, Object[] args)
à Gentle.Provider.SQLServer.SQL92Analyzer.Analyze(String tableName)
à Gentle.Provider.SQLServer.SQLServerAnalyzer.Analyze(String tableName)
à Gentle.Framework.GentleAnalyzer.UpdateObjectMap(ObjectMap map)
à Gentle.Framework.ObjectFactory.ConstructMap(PersistenceBroker broker, Type type)
à Gentle.Framework.ObjectFactory.GetMap(PersistenceBroker broker, Type type)
à Gentle.Framework.SqlBuilder..ctor(IGentleProvider provider, StatementType stmtType, Type type, LogicalOperator logicalOperator)
à Gentle.Framework.SqlBuilder..ctor(StatementType stmtType, Type type)
à TvDatabase.TvBusinessLayer.GetSetting(String tagName, String defaultValue)
à TvLibrary.Implementations.TvCardCollection..ctor()
à TvService.TVController.InitController()

2008-10-23 03:07:32.988406 [TVService]: Exception :Error: DatabaseUnavailableUnclassified
Gentle.Common.GentleException: The database backend (provider SQLServer) could not be reached.
Check the connection string: Password=1105;Persist Security Info=True;User ID=sa;Initial Catalog=MpTvDbRC2;Data Source=PC-MediaCenter\SQLEXPRESS;Connection Timeout=300; ---> System.Data.SqlClient.SqlException: Cannot open database "MpTvDbRC2" requested by the login. The login failed.
Login failed for user 'sa'.
à System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
à System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
à System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
à System.Data.SqlClient.SqlConnection.Open()
à Gentle.Provider.SQLServer.SQLServerProvider.GetConnection()
--- Fin de la trace de la pile d'exception interne ---
à Gentle.Common.Check.FailWith(Severity severity, Error error, Exception e, String msg)
à Gentle.Common.Check.Fail(Exception e, Error error, Object[] args)
à Gentle.Provider.SQLServer.SQL92Analyzer.Analyze(String tableName)
à Gentle.Provider.SQLServer.SQLServerAnalyzer.Analyze(String tableName)
à Gentle.Framework.GentleAnalyzer.UpdateObjectMap(ObjectMap map)
à Gentle.Framework.ObjectFactory.ConstructMap(PersistenceBroker broker, Type type)
à Gentle.Framework.ObjectFactory.GetMap(PersistenceBroker broker, Type type)
à Gentle.Framework.SqlBuilder..ctor(IGentleProvider provider, StatementType stmtType, Type type, LogicalOperator logicalOperator)
à Gentle.Framework.SqlBuilder..ctor(StatementType stmtType, Type type)
à TvDatabase.TvBusinessLayer.GetSetting(String tagName, String defaultValue)
à TvLibrary.Implementations.TvCardCollection..ctor()
à TvService.TVController.InitController()System.Data.SqlClient.SqlException: Cannot open database "MpTvDbRC2" requested by the login. The login failed.
Login failed for user 'sa'.
à System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
à System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
à System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
à System.Data.SqlClient.SqlConnection.Open()
à Gentle.Provider.SQLServer.SQLServerProvider.GetConnection()
Exception :The database backend (provider SQLServer) could not be reached.
Check the connection string: Password=1105;Persist Security Info=True;User ID=sa;Initial Catalog=MpTvDbRC2;Data Source=PC-MediaCenter\SQLEXPRESS;Connection Timeout=300;
site :Void FailWith(Gentle.Common.Severity, Gentle.Common.Error, System.Exception, System.String)
source :Gentle.Common
stacktrace: à Gentle.Common.Check.FailWith(Severity severity, Error error, Exception e, String msg)
à Gentle.Common.Check.Fail(Exception e, Error error, Object[] args)
à Gentle.Provider.SQLServer.SQL92Analyzer.Analyze(String tableName)
à Gentle.Provider.SQLServer.SQLServerAnalyzer.Analyze(String tableName)
à Gentle.Framework.GentleAnalyzer.UpdateObjectMap(ObjectMap map)
à Gentle.Framework.ObjectFactory.ConstructMap(PersistenceBroker broker, Type type)
à Gentle.Framework.ObjectFactory.GetMap(PersistenceBroker broker, Type type)
à Gentle.Framework.SqlBuilder..ctor(IGentleProvider provider, StatementType stmtType, Type type, LogicalOperator logicalOperator)
à Gentle.Framework.SqlBuilder..ctor(StatementType stmtType, Type type)
à TvDatabase.TvBusinessLayer.GetSetting(String tagName, String defaultValue)
à TvLibrary.Implementations.TvCardCollection..ctor()
à TvService.TVController.InitController()[/b]
 

titof

Portal Pro
March 3, 2008
2,248
63
Home Country
France France
<div class='quotetop'>CITATION(WhyMe @ 23 Oct 2008, 19:20 ) <{POST_SNAPBACK}></div>
Pb réseau ?
Pb MsSql ?
Firewall ?[/b]

Réseau, je suis en local, l'adresse spécifié est 127.0.0.1
MSSQL : ben oui, on dirais qu'il n'arrive plus a se connecter à la base, mais pour quelle raison ? j'ai rien changé.
Firewall : c'est celui de Vista, mais si c'était ça, ça ne marcherais jamais non ?
 

Doume

New Member
May 18, 2009
1
0
Home Country
France France
Si tu as laissé s'installer des WindowsUpdate, il serait pas étonnant que cela ait altéré la config de SQL Server
Par exemple, basculer du mode 'SQL Server authentication' à 'Windows authentication'
Ca m'est déjà arrivé
 

titof

Portal Pro
March 3, 2008
2,248
63
Home Country
France France
<div class='quotetop'>CITATION(Doume @ 23 Oct 2008, 20:03 ) <{POST_SNAPBACK}></div>
Si tu as laissé s'installer des WindowsUpdate, il serait pas étonnant que cela ait altéré la config de SQL Server
Par exemple, basculer du mode 'SQL Server authentication' à 'Windows authentication'
Ca m'est déjà arrivé[/b]

Oui, en général, s'il y a des mises à jour je les passe.

Donc faudrait ré installer SQL Server ?
 

titof

Portal Pro
March 3, 2008
2,248
63
Home Country
France France
<div class='quotetop'>CITATION(Scubefr @ 24 Oct 2008, 18:01 ) <{POST_SNAPBACK}></div>
ton pc est relié a internet ?
ton modem a pas redémarré ces dernier temps ?[/b]

oui il est relié à un routeur qui est relié à ma freebox.

Le routeur ne redemarre jamais tout seul (sauf coupure de courant) mais je sais que j'ai un renouvellement d'ip tous les jours à l'heure du dernier reboot du routeur.

C'est d'ailleur assez embettant quand ça tombe sur une heure ou je suis là.

Ce matin, j'ai redemarré mon htpc, tout relancé nickel, et j'ai laissé tourné sur M6.

A midi, MP était sur la page de configuration de l'ip du serveur.

Par contre, je vois pas le rapport avec mon routeur car l'adresse du serveur que j'ai mis est 127.0.0.1.
 

Users who are viewing this thread

Top Bottom