kimmie8000
asked on
ADO OLE Connection with ASP C#.NET for Crystal 2008
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.DatabaseNam e = "DatabaseName";
//Using windows authenication
// connectionInfo.userid = XXXXX; Don't use
// connectionInfo.password = XXXXX; Don't use
SetDBLogonForReport(connec tionInfo);
crystalReportViewer.Report Source = SecurityIntakeReport;
Session["SecurityIntakeRep ort"] = SecurityIntakeReport;
Thank you in Advance!!
// Connect to Crystal Report
ConnectionInfo connectionInfo = new ConnectionInfo();
connectionInfo.ServerName = "ServerName";
connectionInfo.DatabaseNam
//Using windows authenication
// connectionInfo.userid = XXXXX; Don't use
// connectionInfo.password = XXXXX; Don't use
SetDBLogonForReport(connec
crystalReportViewer.Report
Session["SecurityIntakeRep
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER