Hi Ludek,
Below is the answer to your questions:
What version of CR? What CR Service Pack.
CrystalReports for Visual 2010.
What database?
Microsoft SQL Server 2008 R2.
How are you connecting to the database?
Dim rptdocument As New CrystalDecisions.CrystalReports.Engine.ReportDocument
rptdocument.Load(strreportpath)
rptdocument.SetDatabaseLogon("sa", "test123")
rptdocument.SetDataSource(sqlds.Tables(0))
CrystalReportViewer1.ReportSource = rptdocument
CrystalReportViewer1.Refresh()
Does the report work anywhere? In CR designer?
Yes, the report works perfect in CR designer
What version of .NET?
Microsoft Visual Studio 2010
Version 10.0.40219.1 SP1Rel
I hope that helps. Thanks.
Regards,
Amol