Sql Server 2008 r2 Reports

We are running a report that is generating the following error:

An error has occurred during report processing(rsProcessingaborted) . can not read the next data row for the dataset (dataset name) (rserrorreadingnextdataflow)

If we run this report with less records selection (1 month instead 4 month) the report runs, but  when we run it for longer -4 month) it generate the error above.

Alos when we ran it from the actual report server:
we got error:

an error ocurred within the report server database. this may be due to a connection failure, timeout, or low disk condition within the database (rsreportserverdatabaseerror)
ShenAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Anthony PerkinsCommented:
Sounds like it is time to roll up your sleeves and optimize the query.  If you are unsure of how to do that, post the query here and there should be a lot of help forthcoming.
0
ShenAuthor Commented:
This is the problem. i am not too familiar with reports. These reports were created by the vendor. I see the .rdl file for the report(file  attached) . The query has a lot of parameters and is very long.

Is it possible to setup a trace, run the report through report server (http://localhost/reports) and get the query with the parameters. I tried but i can't see it in the trace.
0
Anthony PerkinsCommented:
You should be able to view the query using SQL Profiler or using a script such as Adam Machanic's sp_whoisactive.  Bu ultimately you will have to find someone that is proficient in optimizing queries.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.