Also, it could be some process does have the report locked. I get it once in a while if I have the report opened in CR Designer.
Try using this:
rpt.Load(rptName.ToString(), OpenReportMethod.OpenReportByTempCopy);
Don
Also, it could be some process does have the report locked. I get it once in a while if I have the report opened in CR Designer.
Try using this:
rpt.Load(rptName.ToString(), OpenReportMethod.OpenReportByTempCopy);
Don