We have been using the ODBC connection to use the Crystal Viewer in our .NET programs, specfically C#.NET (Aspx). Does anyone had the integrated security connection to the Crystal Report written in C#. At this point I have this.... But I keep getting failure to login to the database on the SQL connection, which is ADO OLE. I cannot seem to find an example of the code for this type of connection to Crystal in C#.
Thank you in Advance!!
// Connect to Crystal Report
ConnectionInfo connectionInfo = new ConnectionInfo();
connectionInfo.ServerName = "ServerName";
connectionInfo.DatabaseName = "DatabaseName";
//Using windows authenication
// connectionInfo.userid = XXXXX; Don't use
// connectionInfo.password = XXXXX; Don't use
crystalReportViewer.ReportSource = SecurityIntakeReport;
Session["SecurityIntakeReport"] = SecurityIntakeReport;