I have specified an xml datasource, coupled that to a report parameter and configured the dataset's source as the xml datasource. Using a query parameter I also coupled the dataset to the report parameter.
This works as the report is generated but in doing so it still throws an error on the datasource, it seems like it is unable to resolve the connectionstring expression.
Command I am executing is: RdlCmd /fClinicalDischargeSummary.rdl?source=c:\utilities\dischargesummarysample.xml /tpdf
Error I get from the above command is,
ClinicalDischargeSummary.rdl has the following errors:
Severity: 4 - DataSource 'datasource'.
Object reference not set to an instance of an object.
Severity: 4 - Unable to connect to datasource 'datasource'.
The datasource connectionstring is set to ={?source}
Any ideas what I am doing wrong?
Thanks