We have looked at all the articles here are believe we only need to do this after the "Report" is loaded :-
Code: Select all
report.Load(...);
connectionString = "Data Source=SQLSERVERNAME;Initial Catalog=LotsOfLovelyData;Integrated Security=False;User ID=sa;Password=shhhSecret";
report.Dictionary.Databases.Clear();
report.Dictionary.Databases.Add(new Stimulsoft.Report.Dictionary.StiSqlDatabase("LotsOfLovelyData", connectionString));
If we don't use any of the above code, the reports work fine in the dev environment.
Please could someone assist.
Thanks.