Hi,
I can not configure the ObjectDatasource anymore.
And when I click OK Visual Studio 2017 restarts.
Please see the attached file.
Best Regards
Simon
9 Answers, 1 is accepted
UPDATE:
MyData is the class in the ReportLibrary Project that constains all the methods to get data for the report.
See the other error messages in the attached files.
I think it's related with my problem.
Something is going wrong and I don not know what .
Hello Simon,
Did you build the project after adding the data class? The Reporting engine uses System.Reflection to access the ObjectDataSource types from the assembly and the project should be built when changed so that the new types to be added in the dll file.
If the above is not causing the problem, consider sending us the ReportLibrary project for local investigation.
Regards,
Todor
Progress Telerik
Our thoughts here at Progress are with those affected by the outbreak.
Hello Todor,
I have built the project after adding MyData class.
I have attached that project as zip file.
Payroll is the report I'm working on.
Hope you can open it.
Update:
Please see the errormessage.
How can I upload zip files?
UPDATE:
Can you delete something by mistake so System.Reflection doesn't work anymore?
We are working with Git.
Could it destroy the configuration file during a merge?
UPDATE:
Hello Todor,
The error message is gone.
I don't understand why.
The error was in the area Report Violation.
This method in the MyData class returns the data for the Violation-Report:
public List<
DriverViolationReport
> GetViolationData(DateTime date1, DateTime date2, object[] drivers)
{...
and this method,which was called in the other method, cause the error message describe above:
public static DriverViolationReport GetDriverViolationReport(aio.Lewin.Fleet.DomainModel.DtcoMessage dtcoitem, DateTime currentViolationStartDate, TimeSpan planned,
TimeSpan current, TimeSpan difference, List<
aio.Lewin.DomainModel.Vehicle
> vehicles, String drivername, String violationType,
aio.Lewin.Fleet.DomainModel.Employee currentEmployee, List<
aio.Lewin.Ops.DomainModel.OperationalTour
> tours)
{...
I have outsourced them in it's own class.
Hi Simon,
We need the report and a compilable project with the user functions to try to reproduce the error.
Note that the Reporting engine needs to have access to all external dependencies of the user functions.
You may open a Support ticket to attach an archive. You may also use alternative ways for file-sharing like Dropbox, Google Drive, etc. In a Forum post, you may attach only images - GIF, JPG, JPEG, PNG.
Regards,
Todor
Progress Telerik
Our thoughts here at Progress are with those affected by the outbreak.
I have access to all external dependencies but I think it takes some seconds to load this dependencies.
Perhaps it loads not fast enough .
This could be the reason why I get the error message.
Can I define a receive timeout or enlarge it?
Regards
Simon
Hello Simon,
Our relevant code executes synchronously, so I don't think it may be a delay in loading assemblies. You may use Fuslogvw to check for failures while loading dlls.
Regards,
Todor
Progress Telerik
Our thoughts here at Progress are with those affected by the outbreak.