Results 1 to 2 of 2
  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2017

    Need help fixing an error when adding a DataSource to my project

    Hello, I had to reinstall Windows because VS was doing some crazy stuff. I installed VS2015 again, MySQL .NET Connector and MySQL for Visual Studio. Since VS had broken down my DataSet file in my project, I decided to erase it and add a new DataSource to my project (as I said I'm working with MySQL). Here's my problem:

    1. I Click "Add New Data Source" in the Data Sources Tab
    2. I Select Database and click Next
    3. I Select Dataset and click Next
    4. When VS asks for the connection string I use the same connection I've been using succesfully for 2 years and click Next
    5. I save the connection string (Tried the same name as before and a differente name)
    6. I get the following message:
    Name:  Errorrecortado.jpg
Views: 51
Size:  22.8 KB

    When I try using a new connection String, using root access I get the following message:
    Name:  Error2recortado.jpg
Views: 39
Size:  36.2 KB

    Thanks in advance!

  2. #2
    .NUT jmcilhinney's Avatar
    Join Date
    May 2005
    Sydney, Australia

    Re: Need help fixing an error when adding a DataSource to my project

    It seems like an issue with the MySQL components or MySQL itself. Someone who has more experience using MySQL with VS might have more insight but I'd be tempted to reinstall at least the connectivity components.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts


Click Here to Expand Forum to Full Width

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.