报表服务器Windows服务(MSSQLSERVER)无法连接到报表服务器

时间:2016-05-07 20:11:46

标签: sql sql-server database-mirroring

我在远程站点上有2个SQL Server,1个主体和1个镜像。在镜像服务器上,正在记录以下错误。

  

报表服务器Windows服务(MSSQLSERVER)无法连接到报表服务器数据库。

     

应用程序域WindowsService_17无法初始化。错误:Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerDatabaseUnavailableException:报表服务器无法打开与报表服务器数据库的连接。所有请求和处理都需要与数据库的连接。

     

System.Data.SqlClient.SqlException:无法打开数据库" ReportServer"登录请求。登录失败。

     

用户登录失败' MYDOMAIN \ sqladmin'。

     

at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception,Boolean breakConnection)
  在System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
  在System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior,SqlCommand cmdHandler,SqlDataReader dataStream,BulkCopySimpleResultSet bulkCopyHandler,TdsParserStateObject stateObj)

at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK)

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 Microsoft.ReportingServices.Library.ConnectionManager.OpenConnection()

--- End of inner exception stack trace ---

at Microsoft.ReportingServices.Library.ConnectionManager.OpenConnection()

at Microsoft.ReportingServices.Library.ConnectionManager.ConnectStorage()

at Microsoft.ReportingServices.Library.ServiceController.ServiceStartThread(Object firstStart).

两台服务器上都启用了TCP / IP和命名管道。当我在两台服务器上打开报表服务器配置管理器时,设置匹配。

OURDOMAIN\sqladmin设置为服务帐户。 SQL Server Reporting Services在OURDOMAIN\sqladmin服务帐户下运行。

0 个答案:

没有答案