Hi Ludek,
This is code we are using :
protected HomeProfessionalReport rpt;
rpt.DataSourceConnections[0].SetConnection(dbserver, db, dbuser, dbpassword);
foreach (ReportDocument r in rpt.Subreports)
{
r.DataSourceConnections[0].SetConnection(dbserver, db, dbuser, dbpassword);
}
rpt.SetParameterValue("Variable1", "Dummy1");
rpt.ExportToHttpResponse(ExportFormatType.PortableDocFormat, Response, false, "");
rpt.Close();
rpt.Dispose();
Please advice. The CR libraries are the same as I mentioned above.