In Visual Studio 2017, I'm trying to use the MySQL Web Configuration Tool, I get the following error:
Could not load file or assembly "MySQL.ConnectorInstaller,
Version=6.10.4.0 Culture=neutral, PublicKeyToken=c5687fc88969c44d' or
one of its dependencies. The system cannot find the file specified.
I have connector/net 6.10.4, MySQL for Visual Studio 2.0.5, MySql.Data 6.10.4, MqSql.Data.Entity 6.10.4, and MySql.Web 6.10.4 installed.
Can't find where to get MySQL.ConnectorInstaller (dll i presume).
Seems like 6.10.4 doesn't install the .dlls correctly. I downgraded back to 6.9.10 (via NuGet) and those work fine.
Related
I recently updated to Xamarin Studio v. 5.5.3 and now I can't open any cshtml files. When I try to add new item (razor template) to project i get the error:
System.IO.FileNotFoundException: Could not load file or assembly 'System.Web.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Nie można odnaleźć określonego pliku.
File name: 'System.Web.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
at MonoDevelop.AspNet.Razor.RazorCSharpParser.Parse(Boolean storeAst, String fileName, TextReader content, Project project)
at MonoDevelop.SourceEditor.SourceEditorView.RunFirstTimeFoldUpdate(String text)
at MonoDevelop.SourceEditor.SourceEditorView.Load(String fileName, Encoding loadEncoding, Boolean reload)
at MonoDevelop.SourceEditor.SourceEditorView.Load(String fileName)
at MonoDevelop.Ide.Gui.LoadFileWrapper.Invoke(String fileName)
The same is when i try to open any cshtml file in Xamarin Studio. I tried reinstalling and updating for several ways. I tried solutions from google but they were mostly for people who couldn't compile their projects, and my project compiles and runs just fine. The thing is I can't edit cshtml files.
I run it on Windows 7 32bit.
Someone?
I would try downgrading to an older version of Xamarin Studio.
Looking at the 5.5.3 installer (XamarinStudio-5.5.3.6-0.msi) it no longer installs the System.Web.Razor.dll, nor some other Mvc dlls. Not sure if that is deliberate or not.
Older installers, such as XamarinStudio-5.5.2.0-0.msi, do install these dlls.
This problem is also worth reporting on bugzilla
I have an ASP.Net / c# web application running under framework 4.0, for some years now, using MySQL database.
I have recently being trying to implement reports, and have been trying to use for the first time the automated dataset wizard to create a new DataTable adapter. In running the wizard, I am able to set the datatable adapter and configure the sql statement. I am even able to execute and test it from the visual studio designer. I am also able to create a connection from the Server Explorer tab in Visual Studio and browse the database schema.
When I next try to compile the application, I get the following error:
"Error 1 Failed to generate code. Could not load file or assembly
'MySql.Data, Version=6.6.5.0, Culture=neutral,
PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The
located assembly's manifest definition does not match the assembly
reference. (Exception from HRESULT: 0x80131040) C:\Projects\Sharpview
V2\SharpView V2\App_Code\MCPS\DAL\dsCrewHistory.xsd 1"
Looking in my bin directory, the version I have is 6.4.3.0. Does this mean that I have to download MySQL.Data.dll version 6.6.5.0 and replace it in the bin file? Where can I download this version?
In the visual studio take the reference from the explorer and make sure that the Specific Version is set to false.
If you have an acces to the file web.config make changes to the file and remove version info.
You would need to open the project file with you fav text editor and make sure the version is not mentioned , then remove the line
, Version=6.5.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d'
Please have a look here and here
When trying to run my VB.NET MVC4 application I receive the following error
Could not load file or assembly 'Newtonsoft.Json, Version=4.5.0.0, Culture=neutral,
PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the
file specified.
I cannot locate this package in my reference list whatsoever.
Many steps to get this Newtonsoft.Json installed since Tools > Nuget Package Manager did not exist in my VS 2012 instance.
1) Uninstall Nuget
a) Rename the C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\Extensions folder to Extensions_old
b) Run the uninstaller from Control Panel > Uninstall a Program
2) Reinstall Nuget using the .VSIX file from their website (do not use VS 2012)
3) Open the solution and run Tools > Nuget Package Manager > Package Manager Console
4) Run Install-Package Newtonsoft.Json
We've got a project using Ormlite.MySql built for .NET 4.0.
Ormlite and its dependencies are loaded via NuGet (it's ServiceStack.Ormlite.MySql 3.9.54), including MySql.Data 6.6.5.
When we try to run the code, however, we get a dependency error:
Could not load file or assembly 'MySql.Data, Version=6.6.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system cannot find the file specified.
The ServiceStack.OrmLite.MySql package in NuGet lists MySql.Data as a dependency, but doesn't list any specific version. In reflector, I can see that ServiceStack.OrmLite.MySql.dll is, in fact, referencing 6.6.4.0 of MySql.Data.dll.
Has anyone encountered this issue? I hate to hack the config file to redirect assmbly binding in general (always feels like a kludge).
I've just encountered the same problem. I solved it by downloading the Mysql.data.dll version 6.6.4.0 from servicestack on github: https://github.com/ServiceStack/ServiceStack.OrmLite/blob/master/lib/MySql.Data.dll
I had the same error. Just install with nuget : Mysql.data (it work for me)
nuget install the right version : "6.6.4"
(you could verify the version number in the nuget description)
I am trying to add a dll reference to my SSIS package (2012) with a script Component. The IntelliSense is working for me and I don't see error when coding. However, I get the following error:
Could not load file or assembly 'XYZ, Version=1.0.0.0, Culture=neutral, PublicKeyToken=XYZ' or one of its dependencies. The system cannot find the file specified.
Please help.
If this is a custom DLL, then you will need to install it into the GAC (global assembly cache) for it to run outside of SSDT.
An assembly cannot be installed into the GAC unless it's strongly signed. Once it's signed, from a Visual Studio command prompt, registration would look like gacutil -if MyRadAssembly.dll