I am trying to get my C# program to open a Crystal 9 report up in a crystal report viewer. The report is not part of my C# project, it was designed in Crystal Reports 9. The program simply creates a new crystal report class and then loads the crystal report into the class and then opens the report in the view. The program generate an XML file before loading the report, and it is this XML file that the report uses as the datasource.
However, every time I try to preview a report the "Database Login" screen comes up, and asks for the server name, user id, and password. Since the report should be connecting to an XML file in the same directory it should not require this information. Does anyone have any suggestions on how I can get the report to use the XML file without asking for anything?