question

DirkHondong avatar image
DirkHondong asked

Perf Dashboard 2012 - data source instance not supplied...

Hi all, I just have downloaded the new Dashboard and tried to run it against a SQL Srv 2008 R2(build .2500). It seems that everything works fine except when I try to open the CPU utilization. Then I get "A data source instance has not been supplied for the data sorce 'CHECK_DEPENDENCIES'. When I refresh that report, then a new error comes up:Error converting data type nvarchar(max) to datetime. Anyone else also got this error and already has a fix for it? Regards Dirk
errorperformance-dashboard
3 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

robbin avatar image robbin commented ·
Take a shot at restarting of services ;)
0 Likes 0 ·
Fatherjack avatar image Fatherjack ♦♦ commented ·
I'd doubt restarting services would help and it's a bit drastic to start at the point of taking a prod server offline. Dirk, Can you give steps required to repro please? I have the reports installed but am not sure what you are describing. Does this error happen on all of your servers or just 2008R2?
0 Likes 0 ·
DirkHondong avatar image DirkHondong commented ·
I think I've found the error. Just will double check now and then I'll post it.
0 Likes 0 ·

1 Answer

·
DirkHondong avatar image
DirkHondong answered
So, 1st of all: the reports are all working fine when executing against a SQL Srv 2012. What I tried was to run the reports against a SQL 2008 and a SQL 2008 R2 (and yes, I've executed the setup.sql first against these servers....) The performance_dashboard_main.rdl worked fine but when I called the report Recen CPU Consumption then the above mentioned error occured. So first thing I did was t trace my session and catched following statement exec sp_executesql @stmt=N'exec msdb.MS_PerfDashboard.usp_QueryStatsRecentActivity @WithActivitySince',@params=N'@WithActivitySince NVarChar(max)',@WithActivitySince=N'27.07.2012 19:52:17' right before getting a conversion error (cannot convert nvarchar to datetime) So I picked the recent_cpu.rdl, opened it in BIDS and checked the parameters. The parameter 'WithActivitySince' is declared as string. So my easy solution in that case (and not to mess up the different xml schemas since the reports still have the 2005 definition and I used BIDS 2008) was to change the data type in the report from String true WithActivitySince to the following DateTime true WithActivitySince Afterwards I double-checked my change against a SQL 2012 and the report can stll be opened. That's it Regards Dirk
2 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Fatherjack avatar image Fatherjack ♦♦ commented ·
Excellent job Dirk, thanks for posting the solution. You ought to post it on your blog too.
0 Likes 0 ·
DirkHondong avatar image DirkHondong commented ·
Will do once I'm back home. Still in the office. Then it's probably not so good to write blog posts... :-) /edit: done!
0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.