Spurious errors when using SQL Server 2005 Performance Dashboard Reports

Published 16 August 07 06:25 AM | SQL Master 

You might have observed errors when using Performance Dashboard reports that is available (recently) for SQL Server 2005, the error below is mostly ocurred:

Difference of two datetime columns caused overflow at runtime.

Based on the forums & other blogs on the web suggests that 

The fix for that error is to update setup.sql file residing into Performance Dashboard folder: C:\Program Files\Microsoft SQL Server\90\Tools\PerformanceDashboard by editing search in script "procedure MS_PerfDashboard.usp_Main_GetSessionInfo" then replace the code "datediff(mm, login_time, getdate())))" to "datediff(ss, login_time, getdate())))".

If you have got this error during or after the setup then perform above correction then run setup.sql again or if it is during any report viewer then after correcting simply refresh performance_dashboard_main.rdl file too in order to make it work perfectly. To be precise for better explanation ArtfulBlog suggests more detailed correction.

Not only above error there are few others such as:

"The 'version_string' jparameter is missing a value"

"The "Report parameter 'sql_handle' was not found"

"Report parameter 'include_system_processes' was not found

Arithmetic overflow error conferting expression to data type datetime.

Make sure you have applied the service pack 2 for SQL 2005 for the client tools, then you can open the performance_dashboard_main.rdl file with the Custom Reports functionality new to Management Studio in Service Pack 2.  For that Arthimetic overflow error  ensure you have got installed the recent_cpu.rdl & performance_dashboard_main.rdl to call relevant stored procedures.

Recently I was swamped with the following error:

---------------------------------

An error has occurred during report processing.

Cannot read the next data row for the data set SESSION_REQUEST_ACTIVITY.

For more information about this error navigate to the report server on the local server machine, or enable remote errors

---------------------------------

To dig out further I have found that the above error only occurs on a particular client's machine where the language settings are different to the web server. So that means ensure the locale settings matches to the webserver & SQL Server and in this case check that the user you're using to browse the reports has british english as a language.

Lastly don't forget to refer through MakeMostoutofIt post.

Comments

# Other SQL Server Blogs around the Web said on August 16, 2007 7:28 AM:

You might have observed errors when using Performance Dashboard reports that is available (recently)

# SSQA.net - SqlServer-QA.net said on August 16, 2007 8:32 AM:

You might have observed errors when using Performance Dashboard reports that is available (recently)

# SQL Server Security, Performance & Tuning (SSQA.net) said on December 3, 2007 11:53 AM:

What kind of database maintenance operations you should be doing when you are DBA? You should have better

# performance sql info errors said on May 29, 2008 7:39 AM:

PingBack from http://cristianhome.678host.com/performancesqlinfoerrors.html

Anonymous comments are disabled

About SQL Master

**__________________________________** SQL Server MVP, Sr. DBA & industry expert. - Knowledge is of two kinds. We know a subject ourselves or we know where we can find information on it. It is also a power and you will gain by sharing it.

Search

Go

This Blog

«August 2007»
SMTWTFS
2930311234
567891011
12131415161718
19202122232425
2627282930311
2345678

Syndication