SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


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


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

Author
Message
rambilla4
rambilla4
SSCrazy
SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)

Group: General Forum Members
Points: 2027 Visits: 777
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.
Gift Peddie
Gift Peddie
SSCoach
SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)

Group: General Forum Members
Points: 16936 Visits: 14456
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
rambilla4
rambilla4
SSCrazy
SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)

Group: General Forum Members
Points: 2027 Visits: 777
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
Gift Peddie
Gift Peddie
SSCoach
SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)

Group: General Forum Members
Points: 16936 Visits: 14456
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
rambilla
rambilla
Grasshopper
Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)

Group: General Forum Members
Points: 14 Visits: 10
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.
Gift Peddie
Gift Peddie
SSCoach
SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)

Group: General Forum Members
Points: 16936 Visits: 14456
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
rambilla4
rambilla4
SSCrazy
SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)

Group: General Forum Members
Points: 2027 Visits: 777
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
Gift Peddie
Gift Peddie
SSCoach
SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)

Group: General Forum Members
Points: 16936 Visits: 14456
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
shivam
shivam
Valued Member
Valued Member (65 reputation)Valued Member (65 reputation)Valued Member (65 reputation)Valued Member (65 reputation)Valued Member (65 reputation)Valued Member (65 reputation)Valued Member (65 reputation)Valued Member (65 reputation)

Group: General Forum Members
Points: 65 Visits: 177
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
lmcatl
lmcatl
Grasshopper
Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)

Group: General Forum Members
Points: 11 Visits: 73
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!
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search