Telerik report

0 Answers 36 Views
General Discussions
Mynd Integrated Solutions
Top achievements
Rank 1
Mynd Integrated Solutions asked on 07 Oct 2024, 04:52 PM
An error has occurred while processing Report 'Test':
Object of type 'MySql.Data.MySqlClient.MySqlCommand' cannot be converted to type 'System.Data.SqlClient.SqlCommand'.


report was working when i was using trial version of NuGet packages  when i put piad version of nuget package i am getting below issue 
please help
Mynd Integrated Solutions
Top achievements
Rank 1
commented on 09 Oct 2024, 05:58 AM | edited

please provide answer this asap
Dimitar
Telerik team
commented on 10 Oct 2024, 11:49 AM

The issue may be caused by the reporting engine falling back to using the System.Data.SqlClient data provider for one or more of the connections made with the SqlDataSource component.

The engine will fall back to the default data provider when the selected data provider, in this case- MySql.Data.MySqlClient, cannot be loaded. If the provider cannot be loaded, it is often due to the provider's assemblies not being resolved, please try installing the NuGet Gallery | MySql.Data 9.0.0 package in your project and see if that resolves the issue.

If you need further assistance, please attach a trace listener to the project - How to troubleshoot errors in ASP.NET Core projects - Telerik Reporting, and attach the produced trace log to your reply so that I may inspect where the error is thrown.

.

 

 

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
Mynd Integrated Solutions
Top achievements
Rank 1
Share this question
or