I created this application in Windows Forms which is managing MySQL database by Entity Framework. I’ve published it and installed on my system and it worked fine… but when I’ve send it to my friend and he tried to run it, there is this error (sorry for my bad translation there]:
System.TypeInitializationException: [type initiator prompted error for type] ‘Kwestionariusz.Stuff.EntityManager’. —> System.ArgumentException: [the supplier of the warehouse can’t be found in the configuration or it isn’t correct] —> System.ArgumentException: [can’t find wanted supplier of application data. it’s possible that it’s not installed].
[in] System.Data.Common.DbProviderFactories.GetFactory(String providerInvariantName)
[in] System.Data.EntityClient.EntityConnection.GetFactory(String providerString)
What they want me to install and why wasn’t it installed by the installation of my software?
Do you install on your target machine the MySQL accessor components? They are not included in .NET framework and you probably istalled them too before start your solution.