Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9076

Re: Login failed error on CR from VB.Net

$
0
0

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

 



Viewing all articles
Browse latest Browse all 9076

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>