VibrantIce
Programmer
I'm trying to override the data source for a report that was deployed on BO XI. I have tried various permutations of the following code, and nothing works. Either the query uses the original data source or it doesn't run. The URL requires no password or username. What am I missing?
//reportLogon.UseOriginalDataSource = false;
//Yes, even THIS fails!
//reportLogon.CustomServerName=reportLogon.CustomServerName
//reportLogon.CustomServerName = GOOD_URL_PLUS_XSD;
//reportLogon.CustomServerName = GOOD_URL_MINUS_XSD;
//reportLogon.CustomServerType = CrystalDecisions.Enterprise.Desktop.CeReportServerType.ceServerTypeUserSpecified;
//reportLogon.CustomDatabaseDLLName = "crdb_xml";
//reportLogon.CustomUserName = string.Empty;
//reportLogon.CustomPassword = string.Empty;
//reportLogon.UseOriginalDataSource = false;
//Yes, even THIS fails!
//reportLogon.CustomServerName=reportLogon.CustomServerName
//reportLogon.CustomServerName = GOOD_URL_PLUS_XSD;
//reportLogon.CustomServerName = GOOD_URL_MINUS_XSD;
//reportLogon.CustomServerType = CrystalDecisions.Enterprise.Desktop.CeReportServerType.ceServerTypeUserSpecified;
//reportLogon.CustomDatabaseDLLName = "crdb_xml";
//reportLogon.CustomUserName = string.Empty;
//reportLogon.CustomPassword = string.Empty;