I designed a report using the wizard and selecting my business entity from the Data dialog window. I add a viewer control to the form and bound my report to the viewer as follows:
AL7159_NA report = new AL7159_NA();
ClientService cs = new ClientService();
IList<client> clients = cs.GetAllClients();
report.SetDataSource(clients);
crystalReportViewer1.ReportSource = report;
My problem is, when I run this report I get Database login window. I am stumped here. Why the report is prompting for login, when I am calling a method on the service layer to return me list on my entities!