I have this error message
could not load assembly 'system.data.entity, version 4.2.0.0,
culture=neutral,publickeytoken=b77a5c561934e089' or one of it's
dependencies. the system cannot find the file specified
and I cannot use the entity framework at all.
it happened after uninstalling June 2011 CTP from my computer, and I have no idea what to do. I reinstalled the visual studio again and with no help. Does anyone have any idea?
after reinstalling visual studio i found another insatnce of the CTP as part of sql server in the add/remove programs, after removing that all was well.
I had the exact same issue. After much frustration, I eventually resorted to re-installing the June 2011 CTP. Not ideal, but at least I can get on with my work...
Related
Yesterday I built a Biml solution in Visual Studio 2019 that worked fine. Today I opened Visual Studio to the same solution and I get a message box saying "Unable to load one or more breakpoints". I click 'Ok' and the solution continues to load. Once all of the SSIS packages finish loading, Visual Studio crashes. Not sure if I even have a breakpoint in any of the packages, but even if I did, I don't know how to delete it if VS keeps crashing before I can start editing any package. If I try to open the solution again, I see this warning:
A previous session ended unexpectedly. Disabling this extension BimlExpress 5.0.64108.0 might help.
I've tried uninstalling and reinstalling BimlExpress but that has no effect on the problem. Any ideas on how to fix this? So frustrated.
I copied the Biml files to another solution and the problem seems to have resolved. Not sure what got corrupted but at least it's working now.
I had the same issue with BIML Express 5.0.64108.0 in Visual Studio 2019. I deleted the ".vs" directory in the solution, which resolved it for me. Prior to that, I did delete the "bin" and "obj" directories in the project directory, which did not seem to help.
I am trying to install MySQL database getting api-ms-win-crt-runtime-l1-1-0.dll error I downloaded and replaced the file but unable to solve the problem
The error basically is telling you that the dll, namely, api-ms-win-crt-runtime-l1-1-0.dll, is not available on the PC. This DLL is usually not installed alongside the software program that throws the error.
To get to the root of your problem, first understand what causes it, i.e., which the particular DLL is that it's not able to find. This DLL, api-ms-win-crt-runtime-l1-1-0.dll, is part of the Microsoft Visual C++ Redistributable.
Hence as a first go try reinstalling the Microsoft Visual C++ Redistributable. This should register the missing .dll file in your PC.
For further details and info, you can refer to this guide to solving the problem.
Quite in contrast to what your error says, reinstalling the program doesn't actually fix the problem. And more importantly, not all missing dll errors are solved by just downloading and placing the dlls in the file system. Try as much as possible to NOT do this. if you're wondering why, check this out.
api-ms-win-crt-runtime-l1-1-0.dll is an important file that is required to run such specific type of programs on Windows. If you're facing this issue, then it means this file is missing from your computer.
So, in order to run your desired program, you will need to fix the .dll error. There are a number of ways using which you can solve this problem. The three main solutions are:
UPDATE THE WINDOWS
REPAIR VISUAL C++ REDISTRIBUTABLE FOR VISUAL STUDIO 2015
DOWNLOAD & INSTALL VISUAL C++ REDISTRIBUTABLE FOR VISUAL STUDIO 2015 MANUALLY
So, you can fix api-ms-win-crt-runtime-l1-1-0.dll is missing error using the above ways.
Thanks,
Eric
I updated to 15.8.0 yesterday. Today, when trying to change my SQL version to anything other than SQL 2017 the process crashes. I first tried rebuilding and that failed. I am currently removing 15.8.0 and reinstalling 15.7.6
I was unable to find anyone mentioning the issue and wanted to ask if anyone knew of a better way to fix it other than install an older Visual Studio version
I had problem populating data from database using LINQ in the visual studio 15.8.0 environment.
15.7.3 works well.
https://social.msdn.microsoft.com/Forums/en-US/2c063b57-8571-41e7-8a95-3ce4a105a5e3/unable-to-deploy-ssis-after-vs-2017-update-1580?forum=sqlintegrationservices
https://developercommunity.visualstudio.com/content/problem/311891/error-deploying-ssis-package.html
looks like there was an issue with 15.8.0
I recently installed Visual Studio 2013 Professional, after install VS I installed MySql for VisualStudio version 1.2.6 that it is the latest release. The problem is when I tried to create a ADO .Net Entity Model I created the connection perfectly fine but when I press Next the window close it self and Visual Studio doesn't create the model.
Things that I checked:
I already have installed in my project the Entity Framework 6, MySQL.Data V6.9.8, MySQL.Data.Entity.EF6 v6.9.8 and MySql.Web v6.9.8.
In the Visual Studio Private Libraries there there is the three same libraries with the same version.
I checked other posts here and I really don't find the cause of my problem. I will be very grateful with any help.
Edit
I attached the process to another instance of Visual Studio and I got this:
'devenv.exe' (CLR v4.0.30319: ProjectExecutionContextDomain): Unloaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Numerics\v4.0_4.0.0.0__b77a5c561934e089\System.Numerics.dll'
'devenv.exe' (CLR v4.0.30319: ProjectExecutionContextDomain): Unloaded 'C:\Users\Jose\AppData\Local\assembly\dl3\3C4YP8TT.W35\4414OC0M.0ZV\4aeb0621\323bbd39_5088d101\SignaSafePro.dll'
'devenv.exe' (CLR v4.0.30319: ProjectExecutionContextDomain): Unloaded 'C:\Users\Jose\AppData\Local\assembly\dl3\3C4YP8TT.W35\4414OC0M.0ZV\77badc31\29b0d95d_4088d101\EntityFramework.SqlServer.dll'
'devenv.exe' (CLR v4.0.30319: ProjectExecutionContextDomain): Unloaded 'C:\Users\Jose\AppData\Local\assembly\dl3\3C4YP8TT.W35\4414OC0M.0ZV\27b7b188\7ad46db4_4f88d101\MySql.Data.Entity.EF6.dll'
A first chance exception of type 'System.ArgumentException' occurred in System.Data.dll
A first chance exception of type 'Microsoft.VisualStudio.TemplateWizard.WizardCancelledException' occurred in Microsoft.Data.Entity.Design.dll
The thread 0x908 has exited with code 259 (0x103).
I also uninstall and install all again, the libraries references are exactly the same, because I'm reference the libraries from the PrivateAssemblies folder.
Guys thank you very much, the problem was my mistake, I thought if I installed just MySQL for Visual Studio was enough but I didn't realized that the MySQL Connector is needed to:
MySQL Connector/Net Developer Guide
I hope it serve to guide for anyone other like me.
Requirements
Windows OS 7 or later.
Visual Studio 2010, 2012 or 2013 Professional or higher version.
Connector/Net 6.8.1 beta or higher version (MySQL Connector download link).
Additional download links (not required)
MySQL for Visual Studio (latest version)
I have downloaded the no-install portable version of Workbench. When I run the exe file (on Windows XP), nothing happens. Does it need some MySQL running? I think it's standalone, right? I have XAMPP for MySQL. Any dependency etc?
You need to install the following in order to run the current version of MySQL Workbench:
Microsoft .NET Framework 4.5.2
Microsoft Visual C++ 2019 Redistributable for Visual Studio 2019
See: dev.mysql.com/doc/workbench/en/wb-requirements-software.html
.
Update 2020:
Unfortunately this is still happening:
Download .NET 4.0 (My machine already had it.)
Download Visual C++
As the above solution states. Download the Mysql workbench
installer.
I still don't know why, it would allow me to install without checking for dependencies. I have become accustomed to this kind of behavior when I am installing any application and to not see it is annoying. I suppose I should leave this personal opinions out of my solution but I have had to install this multiple times and have comes across some kind of dependency issue.
What works for me (workbench 64bit) is that I installed Visual Studio 2015, 2017 and 2019
here is url:
https://support.microsoft.com/en-ph/help/2977003/the-latest-supported-visual-c-downloads
I installed both x86: vc_redist.x86.exe and x64: vc_redist.x64.exe
In my case, i tried all solutions but nothing worked.
My SO is windows 7 x64, with all the Redistributable Packages (x86,x64 / 2010,2013,2015)
The problem was that i tried to install the x64 workbench, but for some reason did not work (even my SO is x64).
so, the solution was download the x86 installer from : https://downloads.mysql.com/archives/workbench/
There are two prerequisite requirements need to install MySql Workbench as follows.
.Net Framework 4.0
Microsoft Visual C++ 2010
When .Net Framework 4.0 does not exist your computer installation will be corrupted. But if Microsoft Visual C++ 2010 does not exist your computer then you will continue the installation but cannot open MySql Workbench program. Sometimes you will need Microsoft Visual C++ 2013 instead of Microsoft Visual C++ 2010. So I recommend to install Microsoft Visual C++ 2013.
Microsoft Visual C++ 2013
In Windows 10 I browsed to %APPDATA%\MySQL\Workbench\ then deleted the workbench_user_data.dat file
Doing so lost my MySqlWorkbence settings but allowed MySqlWorkbence to open.
As per the current setup on June, 2017
Here is the downloadable link for Visual C++ 2015 Redistributable package : https://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x64.exe
Hope this will help, who are struggling with the download link.
Note: This is with regards to MySQL Workbench 6.3.9
I have uninstalled 8.0.19 (64) and installed 8.0.18 (64 bit) and now it Opens.
it might be due to running of xampp or wampp server stop all services running and try to open mysql command line
I found I needed more than just the Visual C++ Redistributable 2015.
I also needed what's at this page. It's confusing because the titles make it ambiguous as to whether you're downloading the (very heavy) Visual Studio or just Visual C++. In this case it only upgrades Visual C++, and MySQL Workbench launched after this install.
You should have these two already installed in your system:
Microsoft Visual C++ 2015-2019 Redistributable
Microsoft .NET Framework 4.5.2
I did these two installations for MySQL Workbench 8.0 CE.
None of these suggestions worked for, however setting compatibility to Vista worked and now the workbench opens again.
2022 case:
My MySQL Workbench was working normally and from one moment it just didn't want to open anymore. I've lost almost half a day trying to fix it.
In folder %APPDATA%\MySQL\ I had to delete the whole folder Workbench,
instead of deleting just workbench_user_data.dat file (which didn't help)
Given that there's so little on this on the web, I'll provide my answer despite this thread being over two years old: it's probably a no-brainer but run Workbench as Administrator (doh!)