MySQLConnector installation fails every time - c#

I've been trying to install MySQL Connector 6.9.4 (NET) for Visual Studio 2012 Ultimate but for some reason the MySQL Connection database does not appear inside Visual Studio.
Here's a screenshot of Programs and Features in Windows:
... and heres one of the Data Sources in Visual Studio 2012, running a C# Windows Forms Project:

Uninstall the connector and install version 6.6.5

Starting with version 6.7, the Visual Studio integration comes in a separate package. You should download the full Windows Installer available at http://dev.mysql.com/tech-resources/articles/mysql-installer-for-windows.html and install it.
If you install only the above driver, then you can access MySQL directly from your code but nothing else.

Related

Visual Studio Setup Project Prerequisites are not installing

I hope you all are well!
Visual Studio 2017 -
WIN-FORM -
C#
I added a Setup Project to my app.
I also selected as prerequisites SQL Server 2019 Express LocalDB:
The installer installs the app just fine but does not install the prerequisites SQL Server 2019 Express LocalDB. There are no popup error messages displayed or any in the Event Viewer.
If I download SqlLocalDB, I install it just fine and my app works. But I would like to have it install during the setup installation if it is needed (auto detect).
I tried on various computers and it also doesn't install SqlLocalDB.
I cannot find anything on the Internet that would explain why setup is not installing the prerequisites.
Any suggestion is appreciated.
Regards,
Setup projects are no more supported starting from VS 2019. So if it's a new project - you might want to try WiX toolset project. There you can add checking of prerequisites to be installed on the MSI level, or you can create your Bootstrapper bundle, which will contain installation for both SQL Server and your own app
The issue was that I was using the .MSI instead of the .EXE file to install the app. Using the .EXE did in indeed prompt the user to installSqlLocalDB.
Solution here:

not getting the option sqlite database from file in visual studio 2015

What I have done:
- Installed the binary file of the provider on my machine from here
http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki
- Installed the following references in the project
system.data.sqlite
system.data.sqlite.ef6
system.data.sqlite.core
system.data.sqlite.linq
Now when i try to do this
add item --> Data --> ADO.net Entity data model --> efdesigner from database --> new connection --> change in here I expect to see a "sqlite database file" option.
This may help somebody else. There is only one binary file that is capable of installing the design-time components for Visual Studio 2015 (system.data.sqlite.org).
Make sure to check "Install the designer components for Visual Studio 2015" during the installation process.
Once the installation process is done, restart Visual Studio and you will get the SQLite database provider installed.
I solved this by installing SQLite package marked as "This is the only setup package that is capable of installing the design-time components for Visual Studio 2015". After installing this, restart Visual Studio and you're good to go.

Using Firebird 2.5.6 in Visual Studio 2015 Community

I require some assistance in getting Visual Studio 2015 Community connected to firebird.
I am new to Visual Studio 2015 (used to program in Delphi/C++ builder), and I am now learning C# and want to use a firebird database.
Could anyone please assist or point me in the right direction in how to accomplish this?
I have installed the DDEX and ADO.net drivers as provided on the Firebird, page but so far no luck.
I don't have any code as of yet, as Visual Studio does not even see the Firebird drivers in the database connection dialogs.
Any assistance would be welcome.
I figured it out.
Perform the following steps:
Install Firebird 2.5.6.
Following packages needed:
EntityFramework (v6.1.3 at time of writing)
FirebirdSql.Data.FirebirdClient (v5.1.1 at time of writing)
EntityFramework.Firebird (v5.1.1 at time of writing)
DDEXProvider (v3.0.2 at time of writing)
in visual studio 2015 Open a solution.
Then click on Tools->NuGet Package Manager->Package Manager Console
execute following commands in the Package manager console:
Install-Package EntityFramework
Install-Package FirebirdSql.Data.FirebirdClient
Install-Package EntityFramework.Firebird
Then download and install the DDEXProvider from http://www.firebirdsql.org/en/additional-downloads/ via normal windows setup.
In Microsoft Visual Studio Click Tools->Connect to Database:
Under data source the Firebird Data Source should now be listed.
Select it and the Data Provide should now list .NET Framework Data Provider for Firebird.
click Next and follow prompts to setup for your database.
Data Source should be server name where database is hosted or localhost.
Database connection should now show under the Server Explorer.

MySQL .NET Connector 6.9.8

I recently had to uninstall and reinstall the MySQL suite, including the connectors for MySQL.
Apparently, the .NET connector never properly uninstalled and when I went to reinstall the connectors, the .NET connector didn't appear in the installer package for MySQL. I went through a myriad of steps to try and remove the package.
I used the Programs and Features uninstall options, CMD msi removal options, removing every entry related to the Connectors from my registry with regedit, as well as the built in removal/repair/change tools in the MySQL msi packages.
I finally got the program to disappear from the programs list, but when I try and install the package again it still says it's installed. I have completely ran out of all ideas as to how to remove this package.
Does anyone know of a way to essentially nuke this program from my computer? Either that or an alternative to allow me to connect C# in Visual Studio 2015 to my MySQL database?
Connector/Net is a fully-managed ADO.NET driver for MySQL.
Starting with version 6.7, Connector/Net will no longer include the MySQL for Visual Studio integration. That functionality is now available in a separate product called MySQL for Visual Studio available using the MySQL Installer for Windows (see http://dev.mysql.com/tech-resources/articles/mysql-installer-for-windows.html).
Please read this reference from MySQL

Visual Studio 2008 Business Intelligence SQL Server, Install C#?

I have Visual Studio 2008 Business Intelligence version that was installed along with Reporting Services for SQL Server 2008 R2. I want to work with C#, but there are no options to create a C# project. I haven't been able to find any way to install a C# package or something.
Is there a way to add on C# functions, are they already built in but hidden, or should I just download a full version?
Thanks
UPDATE:
So I finally managed to find a download of Visual Studio 2008 Express, and installed the C# version. After installing I launched visual studio and it was the same thing, only the sql server projects came up as templates.
I found a forum that said to go into import and export settings and to reset my settings to general development settings, but I still cannot make a c# project.
UPDATE2:
I'm going to try installing VS 2012 Express to see if that works for me, since its the only download microsoft has that you can easily find now.
UPDATE3:
VS 2012 Express has been working just fine for me, and I still don't have the project templates in VS 2008 though.
You'll need to install one of the stand-alone editions of Visual Studio. Business Intelligence Studio, bundled with SQL Server, doesn't allow you to work with C# or other language projects.
SQL Server 2008 Business Intelligence Development Studio ("BIDS") is just an add-on over standard Visual Studio (VS 2008 in this case).
If you hadn't had Visual Studio installed before deploying BIDS, the most basic VS shell was installed along BIDS that does not allow you to work with projects other than the SQL Server BI family.
For you to work with .Net projects, despite being able to edit basic C# files already, you will need to reinstall any version of regular Visual Studio 2008 (e.g. licensed, express). This won't break your BIDS.

Categories