The dateime format returned from the DateTimePicker control has to match the format of the database which is the english datetime format. In order to be able to create reports. Either the local setting on the client has to be changed to english in order
to be able to create reports or change it with:
One fix would be to change the CurrentCulture of the Thread making the app run with en-US culture. This would return correct datetime format:
System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("en-US");
tag.GetCoverageInfo(this.txtDtaServer.Text, this.txtDtaDatabase.Text, this.dtpFrom.Value, this.dtpTo.Value);
Also, the DisplayOrchestration method does not show the exception info upon errors.
catch (Exception ex)
MessageBox.Show("Error displaying orchestration\r\n" + ex.ToString(), "Error", MessageBoxButtons.OK, MessageBoxIcon.Hand);