I am using visual studio community 2017
Access 2010 - 2016
I can import an access file I created
File sent from client contains(tables, queries, forms, macros, and modules)
Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Users\jeremiah\Documents\Batching.accdb
The client sent me another basic file, was able to open without a problem
So I been through all current StackOverFlow solutions for people reporting the unrecognized database error and none of them have been useful.
My only theory is that the database they are using is to complicated to be used as a data source for visual studio.Do you have any suggestions?
I may not tell you what the problem is but I solved this issue before by resaving the database file as Microsoft Access 2003. Goto Save Database As Access 2002-2003 (*.mdb) and then use the new file.
You need use ACE.OLEDB 32 bits in Visual studio connection. (click in Advanced... button in Add Conection screen)
The visual studio try use of Jet.OleDB not more supported.
Related
Hi everyone and thanks for taking the time to see my question.
I'm running VS 2017 with Entity Framework 6 and asp.net MVC and have to add some field to one of my Entities.
I added the corresponding fields in the database, but when I open the edmx file nothing shows apart the message "Entity Data Model Designer is unable to open this file." and it proposes me to open it in XML editor, but I have not the "Update model from Database" option when right clicking on the XML file.
Is anyone knows what causes this ?
I finally came accross my problem. I searched for like 5 hours how to make a new database connection and realised I had no option with MySQL connection. So I found this thread and it led me on the good path. After, I found this cause I weren't able to install MySQL for Visual Studio. I followed these two steps:
Download and install the MySQL for Visual Studio component without the MySQL installer here
Download and install the "Connector/NET" V6.9.10. "mysql-connector-net-6.9.10.msi" here
After that I started Visual Studio and the Design Surface showed up well, and I was directly able to Update my model from the Database :D
EDIT: I just saw that MySQL for visual studio wasn't installed properly. In fact, it rolls back up at the end of the installation, and I have no Mysql Database option on the "new Database connection" window :/ Does somebody know what this is about ?
EDIT SOLUTION Turns out that I had installed Visual Studio on an other disk than C: and mysql for visual studio Installer didn't like that. Now I see "MySql Database" in the list when adding a new connection.
I am using Visual Studio 2008. While opening Crystal report .rpt file it shows some binary data instead of the designer file. I tried a lot of installs and uninstall for both 'VS2008' and the 'Crystal report basic for 2008'. But the issue isn't resolved yet.
Anybody, please help me to resolve this issue.
For visual studio 2017 this worked for me
SAP download guide
At one point says:
For VS2017 integration, user needs use “run as Administrator” by right-clicking setup.exe, even if you are already log on by using Administrator account
So I downloaded CRforVS_13_0_23.exe which is a self extracting file. Installing this the normal way didn't work.
I had to extract it with 7zip or such and run "setup.exe" as administrator.
After I was able to open .rpt files in visual studio.
I might be very late here but recently faced similar issue with VS2017 and CR13_0_23. I resolved the issue by installing CR service pack 21. Download service pack from https://origin.softwaredownloads.sap.com/public/site/index.html
You need to Uninstall Visual studio 2008 and again install fresh VS 2008. Because of I had also this issue.
I have Visual Studio 2013 Express version:12.0.21005.1REL with Team Foundation Server 2012 express installed.
I need to alter a Build Process xaml file however when I download from source control and open the file this happens:
The machine I am using is a 64bit system running a 64 bit windows 7 - but I am very surprised this should happen. How exactly do I go about altering this build process when the design view is not operable and the xml is horridly difficult to read / alter. Are there any resources which can help me?
Or is there anyway I can fix this?
Visual Studio is opening the xaml in split view to enable the visual designer to work. This link explains how to set VS to open xaml files in full text mode.
EDIT
I'm sorry, I misunderstood what you wanted to do. Seems this is a bug that has been reported with a possible workaround mentioned here and a relevant SO question here.
I have Windows 8.1, MySql 5.6, and Visual Studio Ultimate 2012.
I am trying to set a DataSet, but I am having the error Cannot obtain provider factory for data provider named MySql.Data.MySqlClient when I try to drag a table to the DataSet.
a) The Server Explorer can access the database and show me all tables, and the "Test Connection" button returns a successful message.
b) I added MySql references to the bin folder (MySql.Data, MySql.Data.Entity, MySql.Web).
c) I edited the Web.config file removing MySql.Data.MySqlClient invariant and adding it again with "correct" settings. I tried to set <connectionStrings>, <DbProviderFactories>, membership providers, profile providers, and RoleManager providers;
d) I have already uninstalled and reinstalled MySql and Visual Studio.
Nothing seems to work, and the same error remains happening. I have already tried a lot of suggestions from this and other forums.
Worked for me, steps below:
Close Visual Studio
Run the MySQL Connector/Net and remove your installation
Run the Connector again and install as you have done prior to deletion(typical/custom).
Open Visual studio
Delete all connections to server/database/dataset from the solution and server explorer. Do not remove any lines of code.
Re-establish a connection to your database,naming it as it was.
Re-establish a connection to your data source for data set as it was.
Click play, be happy!
Hope this helps.
you have to install mysql connector
just download the last version of MySql connector and install it while closing visual studio
Make sure you have installed "Connector/NET" and "MySQL for Visual Studio". Run "MySQL Installer" and install those two.
C4U gave me the clue I needed after fighting with this all day. Connector/Net seemed to install with MySQL for Visual Studio when I used the installer the first time. I could create a connection in the Server Explorer but couldn't create a new connection from within my project. I also couldn't run the little blue button (MySQL Website Configuration). I tried rerunning the installer and couldn't find Connector/Net. It had not installed completely.
What worked:
I closed Visual Studio and opened Programs and Features from the Control panel and uninstalled ALL MySql Connector programs, including Connector/Net. Then I reran the same MySql Visual Studio Installer I had run before and, voila!, I could see the Connector/Net and install it. Then I opened Visual Studio, deleted my connections, and clicked on the little blue button (MySQL Website Configuration). Worked! I could also create a connection inside my project.
AND I didn't have to add ANY reference or ANYTHING to the config file.
I've been creating an application using Visual Studio 2010 C# and Microsoft Access 2007. I am new to this and I am experiencing some errors. I've tried using MySQL as a database before but when I changed it to MS Access 2007, there are errors occured stating that the database format is not recognized.
Here's the print screen:
The file type of the database I created is .accdb.
Please help. Thanks
The driver you are using to connect accdb database is outdated, install Access 2010 Driver and then change your connection string in this way :
string MyConString = Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\pathofyourDatabase.accdb
Either the database is encrypted or you don't have the proper Access engine for the architecture (x86/x64). Visual Studio is also 32-bit and probably can't connect to x64 database. See this post.