How to stop crystal report viewer from asking login credentials when opening subreport

The problem is in Crystal Report login info. before showing the report you have to set login info to all tables which are included in main report and their sub reports. You are using Disconnected Datasource Report Show method. so you don’t need to provide login info to report document. your problem is here. report.SetDataSource(ds); … Read more