Hi,
I'm using Telerik Reporting Tools version 3.44.1.0 on Visual Studio 2017.
I converted a few of my report parameter data sources from Current Data Sources to Report Data Sources by creating a class as described here (these are data sources that'll be used across multiple reports):
https://docs.telerik.com/reporting/data-source-how-to-add-project-data-source.
I used the Wizard to create the data source and the query works within the Wizard, but once I try to open the report I get the "ConnectionString property has not been initialized" error message.
I've verified the connection string is present in the app.config and I was using the same connection string within the Current Data Sources.
Example below:
namespace ReportLibrary
{
public partial class ExchangeDateDataSource : Telerik.Reporting.SqlDataSource
{
private void InitializeComponent()
{
//
// ExchangeDateDataSource
//
this.ConnectionString = "Reports.Properties.Settings.IOConnection";
this.SelectCommand = "dbo.uspSelectExchangeRatesLkUp";
this.SelectCommandType = Telerik.Reporting.SqlDataSourceCommandType.StoredProcedure;
}
}
}
Anything I'm doing wrong? Thanks.