GithubHelp home page GithubHelp logo

Comments (3)

rbriguetto avatar rbriguetto commented on May 9, 2024 1

I had another problem :
Exception: Font file not found on system
FastReport.Export.TTF.TrueTypeCollection.get_Item(Font index)

I had this issue on Windows environment and I solve it removing "font.list" file from application root folder.

from fastreport.

Detrav avatar Detrav commented on May 9, 2024

Hi!

For .NET Core you cannot use ODBC connector, please use FastReport.Data.MySql for PRO version or FastReport.OpenSource.Data.MySql for opensource version

How to use it:

  • execute the following code once at the application start:
FastReport.Utils.RegisteredObjects.AddConnection(typeof(MySqlDataConnection));

now you should be able to create a new MySQL data source from Designer (.Net 4) or from code:

Report report = new Report(); 
report.Load(@"YourReport.frx");
//... 
MySqlDataConnection conn = new MySqlDataConnection();
conn.ConnectionString = "your connection string";
conn.CreateAllTables();
report.Dictionary.Connections.Add(conn);

By the way, you can always get advice on the full version of the product in the technical support.

from fastreport.

psohm avatar psohm commented on May 9, 2024

Hello
Tks for your reply
I used another way to reconfigure my connection string:

foreach (FastReport.Data.DataConnectionBase item in report.Dictionary.Connections)
{
    item.ConnectionString = connectionString;
}

I had another problem :
Exception: Font file not found on system
FastReport.Export.TTF.TrueTypeCollection.get_Item(Font index)

I had to install ttf-mscorefonts-installer on debian docker package (contrib) and it works.

from fastreport.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.