Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase 123»»»

The Reporting Services 3-Trick Pony Expand / Collapse
Author
Message
Posted Monday, October 22, 2007 9:56 PM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Wednesday, April 16, 2014 8:29 AM
Points: 32, Visits: 579
Comments posted to this topic are about the item The Reporting Services 3-Trick Pony
Post #413662
Posted Tuesday, October 23, 2007 1:49 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Thursday, December 19, 2013 7:00 PM
Points: 20, Visits: 135
I'm keen to try this out but cannot create the data source. An error message stating that "expressions cannot be used in a shared data source" appears. How do I create a data source that is not a shared data source? The Solution only has Shared Data Sources.

Even the Report Wizard stalled at this, there was a warning messages saying "that a connection can not be made to the database" and that "connection string expressions cannot be tested at design time" which is fine but the "next" button would not respond and I could only go back or cancel.

How did you get around this?
Post #413727
Posted Tuesday, October 23, 2007 2:25 AM


Mr or Mrs. 500

Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500

Group: General Forum Members
Last Login: Wednesday, June 20, 2012 5:02 AM
Points: 530, Visits: 945
This is neat, but couldn;t you have the report call itself? Then there's be no need for an SR1 AND an SR2. I do this for a couple of reports where a hyperlink initiates a data update and the report then runs again automatically to show the changed state of the data.
Post #413734
Posted Tuesday, October 23, 2007 3:02 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Thursday, December 19, 2013 7:00 PM
Points: 20, Visits: 135
I found the answer using the magic of Google.

A report specific datasource can be created by selecting the Data tab and creating a new dataset. Should have known but funnily enough I've just always used shared datasources.

Cheers for now.
Post #413748
Posted Tuesday, October 23, 2007 3:11 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Friday, January 04, 2008 5:03 AM
Points: 2, Visits: 11
It keeps failing on error "Cannot create a connection to data source 'test'.
I checked the datasets and one of them is referring to 'test'.
That data source is not available of course.
I tried to repoint the dataset to the 'DBA_REP.rsd' datasource, but that does not help.
Post #413750
Posted Tuesday, October 23, 2007 5:49 AM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Wednesday, April 16, 2014 8:29 AM
Points: 32, Visits: 579
Thanks for all of your comments so far.
The "test" data source is not a shared data source. When developing the reports, I used a static datasource for the "test" connection. Yes, I realize, I should have named "test" something else, like "dynamic_server_source". Once the sp_who2 returned results, I then added the dynamic connection string that is in the article.

Two notes:

When I downloaded and tested loading in the RDL in a new project this morning everthing went fine except that the data set that execute "sp_who2" reverted to a type of Text. You will need to change dataset2 to be Stored Procedure, not Text.

And yes...I sheepishly note that SR1 can call itself in a hyperlink. I was just waiting for someone to point that out. :) Actually, that is a great idea, instead of having two reports. Big red palm print on my forehead. I recall starting down that path and hit an error with a invalid nested parameter. Works great, though...thanks for additional the tip Jon.

Rodney Landrum
Author (Pro SQL Server 2005 Rpeorting Services - Apress)
Post #413823
Posted Tuesday, October 23, 2007 9:48 AM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Wednesday, April 16, 2014 8:29 AM
Points: 32, Visits: 579
I have asked to place new RDLs in the code download.
The issue everyone is having with the "TEST" datasource is the default parameter value for the ServerName parameter.
To address without new code, change the default value to be NULL not Non-Queried.
Sorry for the oversight.
Rodney Landrum
Post #414001
Posted Tuesday, October 23, 2007 10:26 AM
Mr or Mrs. 500

Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500

Group: Administrators
Last Login: Wednesday, April 16, 2014 9:53 AM
Points: 569, Visits: 985
The new RDLs are now in the code download.

Cheers,

Tony.

Post #414019
Posted Tuesday, October 23, 2007 11:27 AM
Right there with Babe

Right there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with Babe

Group: General Forum Members
Last Login: Wednesday, February 05, 2014 8:30 AM
Points: 769, Visits: 191
Thanks Tony. It is really nice having a larger group of people who can makes these small changes for us. I think poor Steve was getting overwhelmed with the amount of work and time this site was taking.
Post #414035
Posted Tuesday, October 23, 2007 11:54 AM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Tuesday, April 15, 2014 9:27 AM
Points: 1,174, Visits: 566
This is really cool!

I'm thinking of using these techniques and combining them with standard SSMS reports and/or performance dashboard reports. That would be a nice muli-server monitoring solution.

Thanks Rodney!



Post #414041
« Prev Topic | Next Topic »

Add to briefcase 123»»»

Permissions Expand / Collapse