I´m facing an error in my application that already have consumed two entire days of work. I have a Crystal Report that uses an Xml + XSD as datasource. In runtime, I just replace de Xml and run the report as shown in the code below.
It used to work perfectly. But suddenly, after re-compiling my code it just stopped and I´m just unable to discover why. Could any of you help me?
If i get inside Crystal Reports and open my report, I´m still able to "verify the database" and refresh the data without any problem. But, using the code, the exception is always raised:
The code used is like follows.
ReportDocument report = new ReportDocument();
Hope someone can help me.