I want to use a DNS-less connection Report in order not to set the DNS each time that I install my application but I have problems when I try to set the connection string from C#, the best thing that I have found is: http://stackoverflow.com/questions/674363/how-do-i-change-a-crystal-reports-odbc-database-connection-at-runtime
I have tried with
rpt.DataSourceConnections[0].SetConnection("Driver=Firebird/InterBase(r) driver", Properties.Settings.Default.pathdbsga, "SYSDBA", "masterkey");
but it's always give me an error: "Login Failed" and also it shows the login window.
Has anybody connected a c# app with a DNS-Less Firebird Crystal Report? How?