I Love the Sql Server 2005 Performance Dashboard Reports, but there is a slight bug that gets me from time to on systems with long uptimes. Below Essa Mughal has the fix!
PERMALINK: http://www.tsql.ca/Default.aspx?tabid=633&EntryID=24
Posted by: Essa Mughal | 7/19/2007 10:05 AM |
Those who are using Performance Dashboard Custom Reports, they might get that error if they have not updated there script. Difference of two datetime columns caused overflow at runtime. Reason: Solution: C:\Program Files\Microsoft SQL Server\90\Tools\PerformanceDashboard Update the following line sum(convert(bigint, datediff(ms, login_time, getdate()))) – sum(convert(bigint, s.total_elapsed_time)) as idle_connection_time, with sum(convert(bigint, CAST ( DATEDIFF ( minute, login_time, getdate()) AS Run the script again into MSDB database of SQL Server and after that it will run fine. Thanks |
|
Copyright ©2007 Essa Mughal |
Tiny URL for this post:
Comments are closed.