try it -- ReportDocument *rptdoc = new ReportDocument(); rptdoc->Load("c:\temp\1.rpt"); //crystal report template filename rptdoc->SetDatabaseLogon("userid", "password", "server", "database"); this->crystalReportViewer->ReportSource = rptdoc; -- hoping this help.