reporting services - How to select the Data Source at Runtime in SSRS Report Builder -
before going problem let me clear know there similar questions ask before not find answer of problem. problem is:
want select data source @ runtime. first of all, create report making shared data source. create data set using data source. run report , working perfectly. create 2 parameters, 1 data source , 1 data set. both parameters type of "text", parameter visibility "visible" , available , default values "none". created second data source embedded , connection string :
="data source=" & parameters!datasource.value & ";initial catalog=" & parameters!dataset.value
when click on test connection button shows me error :
"the connectionstring property has not been initialized."
can 1 please explain me how handle it. credentials correct. test credentials making embedded data source , hard codded connection string working fine not dynamic connection string.
you can't use shared data source dynamic data source. use embedded one. think it's prevent corrupting other reports' data sources.
http://www.keepitsimpleandfast.com/2012/08/how-to-use-dynamic-data-sources-in-your.html
Comments
Post a Comment