You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had the same error when connecting to MySQL from FastReport 2025.1, but with another component "System.Diagnostics.DiagnosticSource". I solved it by following the next steps:
Download the latest release of FastReport that works on your machine, in my case it was the 2023.3 version
Once you uncompress the .zip file, search the .dll file of the package the error tells you FastReport doesn´t find a match for "System.Diagnostics.DiagnosticSource.dll" or "System.Runtime.CompilerServices.Unsafe.dll" in your case
Copy that file to the FastReport version folder you are trying to run and replace it with the file you copied from the previous version (2023.3 -> 2025.1)
Open FastReport Designer again (2025.1) and the error should appear no more
Also, you would want to check if the "PublicKeyToken" that the error throws you appears in the file "Designer.exe.config" so you can be sure it will work. Otherwise, you could look for the .dll file in NuGet. However, I didn´t have to do it so I wouldn´t be sure if that could work. Good luck.
Using release 2024.2.0
Get error when trying to connect Postgresql database.
To reproduce:
Expected to get 'Hosts can't be null' error mesage from npgsql.dll
Copied System.Threading.Tasks.Extensions.dll from 2022.3.0 release and that solved the issue.
The text was updated successfully, but these errors were encountered: