SQL SERVER – Event ID 107- Report Server Windows Service (MSSQLSERVER) cannot connect to the report server database.

SQL SERVER – Event ID 107- Report Server Windows Service cannot connect to the report server database.

Error with Report Server

One of my clients reported an error which is the subject of the blog. In the event viewer they were seeing below error:

 

 

Event Type: Error
Event Source: Report Server Windows Service (MSSQLSERVER)
Event Category: Management
Event ID: 107
Computer: SQLSERVER
Description:
Report Server Windows Service (MSSQLSERVER) cannot connect to the report server database

The error is generic because it doesn’t tell the exact error which is causing a connectivity error. My immediate question was that, are there any more errors? So, I asked them to look at Reporting Service Log file.
Report Server Windows Service (MSSQLSERVER) cannot connect to the report server database.
The application domain WindowsService_17 failed to initialize. Error: Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerDatabaseUnavailableException: The report server cannot open a connection to the report server database. A connection to the database is required for all requests and processing.
System.Data.SqlClient.SqlException: Cannot open database “ReportServer” requested by the login. The login failed.
Login failed for user ‘MYDOMAIN\sqladmin’.
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)

Resolution / Fix:

So I captured the profiler and found that the account used by not having permission to connect to the database. After giving permission we were able to start SSRS.

Comments

Popular posts from this blog

SQL Server Builds Information

Using DBCA silent install and disabling automatic memory management