|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Friday, February 17, 2012 8:27 PM
Points: 16,
Visits: 31
|
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Tuesday, August 26, 2008 5:13 AM
Points: 4,
Visits: 12
|
|
| I am afraid I cannot get this to work as it complains about connection string expressions are not allowed in Shared Data Sources, and does not allow closing the dialog. Was this something that used to work in an earlier version of SSRS I wonder?
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Friday, February 17, 2012 8:27 PM
Points: 16,
Visits: 31
|
|
Hi Steve. We are trying to get away from shared data source. You cannot use a shared datasource with this expression based connection string, it defeats the purpose of making it dynamic. You pass in the server name and database name in the parameters or in the url to dynamically generate report against the database and server you are sending in. so your expression based connection string replaces the parameter names with actual name of the server and database like this. ="data source=" & Parameters!Server.Value & ";initial catalog=" & Parameters!Database.Value Data Source=(local);initial catalog=Northwind
Hope i answered your question. Bottom line is , You cannot use shared datasource in this case. Bilal
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Tuesday, September 13, 2011 7:57 AM
Points: 2,
Visits: 49
|
|
Anyone got it working with multiple data sets? I get this error:
"Error during processing of the ConnectString expression of datasource ‘xxx’."
Any hint would be greatly appreciated! Andrea
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Tuesday, September 13, 2011 7:57 AM
Points: 2,
Visits: 49
|
|
Ok, found it. the problem was only partial due to the multiple data sets: Of course, if you have other parameters in the report whose valid values depend on tables in the data base to choose, you have to put the server and db parameters on top of the parameter list ..
cheers Andrea
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Monday, May 21, 2012 8:34 AM
Points: 15,
Visits: 13
|
|
I got real excited when I saw the article as this is something we need, but it is unfortunate that you cannot use it with shared datasources... We only work with shared datasources in SSRS... Anyone has any ideas around manipulating connection information for shared datasources?
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Thursday, June 03, 2010 11:32 AM
Points: 5,
Visits: 4
|
|
I've just tried this process and it works great for datasets that do not use stored procedure. When I use a stored procedure, RS cannot validate the procedure when I deploy and changes command type from stored procedure to text. Once on the server, the report can't execute the stored procedure(s) since they are now text. Suggestions?
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Thursday, June 03, 2010 11:32 AM
Points: 5,
Visits: 4
|
|
OK. I stopped fighting RS and left the command as text and used the syntax EXEC storedprocedure @parm1, @parm2 for the stored procedure. Now I need assistance passing the server and database parameter in the URL instead of requiring the user to complete.
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Tuesday, June 12, 2007 2:54 AM
Points: 6,
Visits: 1
|
|
I still get an error, before I get to enter the server/database details, how does one stop this from happening? - An error has occurred during report processing.
- Cannot create a connection to data source 'ClientDB'.
- For more information about this error navigate to the report server on the local server machine, or enable remote errors
Kindest Regards,
Rosey
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Tuesday, June 12, 2007 2:54 AM
Points: 6,
Visits: 1
|
|
Sorry, I meant to ask, does this also work for embedded (Jump to) reports and if so, how do I get the embedded report to run using the same server/database parameters? Thx, Rosey.
Kindest Regards,
Rosey
|
|
|
|