Unable to find the requested .NET Framework Data Provider

Posts   
 
    
ab-tools
User
Posts: 15
Joined: 18-Dec-2020
# Posted on: 18-Dec-2020 12:52:16   

Hello,

I'm very new to LLBLGen and just testing your trial (latest version, just downloaded).

When I try to create a project from an existent MySQL database with the standalone designer application directly after selecting the "MySQL Driver (MySQLDirect)" from the list I get this exception:

Exception information.
=============================================================
LLBLGen Pro version: v5.7. Build: 5.7.2

Exception details:
=====================
Message: Unable to find the requested .Net Framework Data Provider.  It may not be installed.
Source: System.Data
Stack trace: 
   at System.Data.Common.DbProviderFactories.GetFactory(String providerInvariantName)
   at SD.LLBLGen.Pro.DBDriverCore.DBDriverBase.ObtainDbProviderFactoryInstance()
   at SD.LLBLGen.Pro.DBDriverCore.ConnectionDataBase.get_FactoryName()
   at SD.LLBLGen.Pro.Gui.Controls.WizardPages.MetaDataRetrievalWizard_Step_ConnectionData.<LoadDriverAndConnectionControl>b__16_1()
   at SD.LLBLGen.Pro.Gui.Classes.ApplicationIdleDispatcher.PerformWork()
   at SD.LLBLGen.Pro.Gui.Classes.ApplicationIdleDispatcherSingleton.Application_Idle(Object sender, EventArgs e)
   at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
   at SD.LLBLGen.Pro.Gui.Classes.GuiController.PerformAddMetaDataFromDatabaseAction()
   at SD.LLBLGen.Pro.Gui.Classes.GuiController.PerformCreateNewProjectAction(String initialFilename)
   at SD.LLBLGen.Pro.Gui.Controls.MainWindow._newProjectMenuItem_ItemClick(Object sender, ItemClickEventArgs e)
   at DevExpress.XtraBars.BarItem.OnClick(BarItemLink link)
   at DevExpress.XtraBars.BarButtonItem.OnClick(BarItemLink link)
   at DevExpress.XtraBars.BarItemLink.OnLinkClick()
   at DevExpress.XtraBars.BarButtonItemLink.OnLinkAction(BarLinkAction action, Object actionArgs)
   at DevExpress.XtraBars.ViewInfo.BarSelectionInfo.ClickLink(BarItemLink link)
   at DevExpress.XtraBars.ViewInfo.BarSelectionInfo.UnPressLink(BarItemLink link)
   at DevExpress.XtraBars.Controls.CustomLinksControl.OnMouseUp(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at DevExpress.XtraBars.Controls.CustomControl.WndProc(Message& msg)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Inner exception: <null>

Is there anything additional which I need to install first?

Best regards and thanks in advance for any support on this

Andreas

Walaa avatar
Walaa
Support Team
Posts: 14946
Joined: 21-Aug-2005
# Posted on: 18-Dec-2020 15:17:23   

Kindly check the MySQL Requirements

ab-tools
User
Posts: 15
Joined: 18-Dec-2020
# Posted on: 19-Dec-2020 19:36:48   

Hello Walaa,

thanks for your quick reply, it was indeed not clear to me that a third-party program is needed to access a MySQL database from the designer.

It's a pity that even the free/express version is not enough if the MySQL server instance requires SSL for security reasons (as this is only supported in the paid version).

Best regards Andreas