?
Solved

How to resolve processing and db connection errors with SQL ReportServer

Posted on 2008-02-12
1
Medium Priority
?
1,453 Views
Last Modified: 2013-11-26
Hello All,
I'm extremely new to SQL Server,  so please bear with me if this questions has an obvious answer. I've been thrown into a problem just today when the our ASP.NET web application went down citing db connection problems and we saw the message below in the event viewer:

Microsoft.Reporting.WinForms.ReportServerException: An error has occurred during report processing. (rsProcessingAborted) ---> Microsoft.Reporting.WinForms.ReportServerException: Cannot create a connection to data source 'MyDb'. (rsErrorOpeningConnection) ---> Microsoft.Reporting.WinForms.ReportServerException: An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
   --- End of inner exception stack trace ---
   --- End of inner exception stack trace ---
   at MyRepScheduler.Service1.ForAnalysis(DataRow row)
   at MyRepScheduler.Service1.objTimer_Elapsed(Object sender, ElapsedEventArgs e)An error has occurred during report processing. (rsProcessingAborted)MyRepSchedulerSystem.Collections.ListDictionaryInternal

All reports were working fine intiially and then late last nite someone ran about 25 in a row, and then we lost our db connection through the Web application. Is there a simple way to reset the SQL connection to the web application. Maybe by restarting one of the Windows services or SQL Server itself? I'll be happy to provide any other informationor log files if requested.

Thanks,

0
Comment
Question by:OS_III
1 Comment
 

Accepted Solution

by:
OS_III earned 0 total points
ID: 20887813
We've fixed the problem, although i'm not sure if our fix would be considered the "right" fix! Everything works now though so that's the point for most around here...!

While looking for more error messages, on the website itself we saw the message below:
"An Error has occured during reports processing. Cannot create a connection to Data Source "MyDb". For more information about this error, navigate to the report server on the local server machine, or enable remote errors."

 Taking this hint along with the event viewer's error message in my first post, we went to the URL for the Report server and examined the User ID, pwd and the IP itself from the data source's connection string. We tested the first two for db connectivity with a .udl file, and then found that the IP used for the data source was an external one.  Since we have our app and db on two different servers that are both behind the firewall, we changed the external IP to an internal one in the Report Server's connection string and voila, the connection was restored. As a newbie, i'm chalking this up to just a  whole lot of inexperience with the Report Server setup, but if there are no other words of advice, i'll consider this problem solved. Thanks for all who even looked!
 - os3
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
In this article, we will show how to detach and attach a database and then show how to repair a corrupt database and attach it, If it has some errors. We will show how to detach and attach using SSMS or using T-SQL sentences.
SQL Database Recovery Software repairs the MDF & NDF Files, corrupted due to hardware related issues or software related errors. Provides preview of recovered database objects and allows saving in either MSSQL, CSV, HTML or XLS format. Ensures recov…
Stellar Phoenix SQL Database Repair software easily fixes the suspect mode issue of SQL Server database. It is a simple process to bring the database from suspect mode to normal mode. Check out the video and fix the SQL database suspect mode problem.

593 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question