MySQL connection

CapableObjects Forums SupportForum MySQL connection

This topic contains 1 reply, has 2 voices, and was last updated by  Admin 13 hours, 44 minutes ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5158 Score: 0

    william
    Participant

    Hi, I would like to reverse engineer a MySQL DB and failed in putting a PersistenceMapperMySQL to the form designer. I am using VS 2017 with MDriven 7.0.0.9402.

    ---------------------------
    Microsoft Visual Studio
    ---------------------------
    Failed to create component 'PersistenceMapperMySql'.  The error message follows:
    
     'System.InvalidCastException: Unable to cast object of type 'Eco.Persistence.PersistenceMapperMySql' to type 'Eco.Persistence.PersistenceMapperDb'.
    
       at Eco.Persistence.Design.PersistenceHandleDesigner.InitializeComponent(IMapperVerbConfigurator configurator)
    
       at Eco.Persistence.Design.MySqlPersistenceHandleDesigner.InitializeNewComponent(IDictionary defaultValues)
    
       at System.Drawing.Design.ToolboxItem.CreateComponentsCore(IDesignerHost host, IDictionary defaultValues)
    
       at System.Drawing.Design.ToolboxItem.CreateComponents(IDesignerHost host, IDictionary defaultValues)
    
       at System.Windows.Forms.Design.OleDragDropHandler.CreateTool(ToolboxItem tool, Control parent, Int32 x, Int32 y, Int32 width, Int32 height, Boolean hasLocation, Boolean hasSize, ToolboxSnapDragDropEventArgs e)'
    ---------------------------
    OK   
    ---------------------------
    
    #5165 Score: 0

    Admin
    Keymaster

    Most likely is it that the one you find in the toolbox is not pointing to correct version. Try adding C:\Program Files (x86)\CapableObjects\MDriven\7.0\bin\Eco.Persistence.MySql.dll to the toolbox manually

    Also search for different old versions on this and remove

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Comments are closed.