Error Can't find object MySqlDataConnection

Paulo FreirePaulo Freire S??o Paulo - Brasil
edited 1:15PM in FastReport .NET
FastReportError01.jpg

My English is bad

In Designer's ok, when I view the error occurs.

thank you

Comments

  • edited 1:15PM
    Hello,

    You should register a connection in code, as described in the readme.txt file:

    3) register the dll programmatically
    - add the "FastReport.MySQL.dll" reference to your project;
    - execute the following code once at the application start:
    FastReport.Utils.RegisteredObjects.AddConnection(typeof(MySqlDataConnection));
  • Paulo FreirePaulo Freire S??o Paulo - Brasil
    edited 1:15PM
    AlexTZ wrote: »
    Hello,

    You should register a connection in code, as described in the readme.txt file:

    3) register the dll programmatically
    - add the "FastReport.MySQL.dll" reference to your project;
    - execute the following code once at the application start:
    FastReport.Utils.RegisteredObjects.AddConnection(typeof(MySqlDataConnection));


    Thank you AlexTZ

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.