Report Server Windows Service (MSSQLSERVER) cannot connect to the report server database.

  • Hi ,

    Iam getting the below error daily once at different timings.How can I diagnose the cause of this error?

    Event Type:Error

    Event Source:Report Server Windows Service (MSSQLSERVER)

    Event Category:Management

    Event ID:107

    Date:5/16/2009

    Time:11:53:21 PM

    User:N/A

    Computer:ABC

    Description:

    Report Server Windows Service (MSSQLSERVER) cannot connect to the report server database.

  • Are you running SSRS and the relational engine in separate boxes? What account is used to run SSRS and Asp.net because SSRS 2005 is Asp.net dependent.

    Kind regards,
    Gift Peddie

  • Both the database engine and reporting services are running on the same box.

    Database engine and Sql Server Reporting Services are running under Local system

    Where can I check Under which account ASP.net is running?I checked the web service identity in reporting services configuration, inthat it shows ASP.net is running under NT Authority\Network service

    1. Default website->properties ASP.net version 1.1.4322

    2.Reports->properties ASP.net version 2.0.50727

    3..Reportserver->properties ASP.net version 2.0.50727

  • Both the database engine and reporting services are running on the same box.

    Database engine and Sql Server Reporting Services are running under Local system

    You need to run SSRS on Network service account because the local systems account does not have access to network resources. Go to configuration manager and right click go to properties and you can change the account there.

    Where can I check Under which account ASP.net is running?

    Right click go to properties on the default website site then directory security.

    1. Default website->properties ASP.net version 1.1.4322

    This could be a problem because SSRS require .NET 2.0 as the default. This is not good because SSRS 2005 expect your IIS to be running .NET 2.0 so you need to change the default website to .NET 2.0 and then add the code below which is an application Start element to your default website Asp.net Web.Config file. I have also added the relevant link so you could understand supportedruntime definition in all .NET applications.

    element

    http://msdn.microsoft.com/en-us/library/w4atty68.aspx

    2.Reports->properties ASP.net version 2.0.50727

    3..Reportserver->properties ASP.net version 2.0.50727

    Go to the location below and run the utility aspnet_regiis after you have made all the changes please run tests in a sandbox before applying to production.

    C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727

    Kind regards,
    Gift Peddie

  • You need to run SSRS on Network service account because the local systems account does not have access to network resources. Go to configuration manager and right click go to properties and you can change the account there

    if this is the case, I should get the error all the time right? but Iam get only once in a day...

    I recently upgraded reporting service 2000 to 2005. I did not change anything after the upgrade. The reports are running fine, so far I did not get any complaints. But in the event viewer, Iam seeing this error daily once.

  • I still think if you have resources for a test box you need to make the changes I recommend, that is if you have the time before SSRS just stop working because your system is confused. You should think about it.

    Kind regards,
    Gift Peddie

  • I changed the Default website->properties ASP.net version 1.1.4322 to 2.0.50727 and now Iam getting the same error by every 2 days or sometimes after 3 days

    Event Type: Error

    Event Source: Report Server Windows Service (MSSQLSERVER)

    Event Category: Management

    Event ID: 107

    Date: 5/20/2009

    Time: 10:23:18 PM

    User: N/A

    Computer: ABC

    Description:

    Report Server Windows Service (MSSQLSERVER) cannot connect to the report server database.But the error repeating???

    But Ican browse the urls and able to view the reports

    http://servername/reports, http://servername/reportserver

  • Your error is documented with many possible solutions so check below and see if you any of the issues are relevant to you.

    http://msdn.microsoft.com/en-us/library/aa337324(SQL.90).aspx

    Kind regards,
    Gift Peddie

  • Hi;

    I am getting a similar issue with my reporting server. The workaround we have found is going to the report manager and deleting the temp folder. This is only a temporary solution. Please let me know if you have been able to resolve your issue.

    Regards

    Shivam

  • We've been having a similar problem today. We have multiple clients that connect to the same report server. The failure message reported to the user in the report viewer was the vague '..internal error occurred on the report server....etc'. However, it was very inconsistent. Some clients were working fine and some were not, then they would connect, then suddenly they could not. The Event Viewer on the reporting server reported the 'cannot connect to the report server database' error. We rebooted the report server and got temporarily relief but then the problem cropped up again.

    Looking through the reporting services log files I found that one of the reports being run had logged a datasource error (ambiguous column). I have fixed the ambiguous column error and am hoping that the other issues magically disappear but am a little wary as it is strange that a datasource error would cause the report server to not be able to connect to the report server database.

    Previously I'm almost certain that datasource errors (embarassing as it is) were displayed to the user in the report viewer window so I'm not sure why all we're getting now is the 'internal error occured'. Quite a bit less helpful!

Viewing 10 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic. Login to reply