VS 2010, Mysql, Entity Framework and Setup wizard ended prematurely because of an error

UPDATE: If you found this from this Stackoverflow question, could you help me out?  If you liked my answer, vote it up, if you don’t then post a comment why.  There are other higher voted answers that are wrong!  Thanks.

Below are the steps required to get the Entity Framework on VS 2010 to talk to MYSQL.

First step is to install the .net Connector.  I had to use v6.3.1 (alpha).

I tried this with 6.1.3, 6.1.4, 6.2.4 or 6.3.0 but none of them worked.  (For some reason they kept ignoring vs 2010)

Still, 6.3.1 gave me the message:  ”Setup wizard ended prematurely because of an error” message and it quit.

The workaround is to rename your config folder C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Config to Configxxx fixed this.  See this link for more information

Happy days!

[UPDATE] 6.2.3 is now under general release.  This still doesn’t work for VS2010.  As @Marcus mentions below, 6.3.2 is in beta and I can confirm this does work!  (It also doesn’t have “Setup wizard ended” error.)

5 Comments

  1. Hi!

    Your post had helpme. But, when I seek for v6.3.1 to download, I found the v6.3.2.
    With this version doesn't is necessary to rename the folder Config

  2. voted+1 @ SO

  3. I'm using Windows 7 x64. My install failed due to the config folders in "old" dot net 4 folders:

    C:WindowsMicrosoft.NETFrameworkOld_v4.0.21006
    C:WindowsMicrosoft.NETFramework64Old_v4.0.21006

    Renaming the config folder in each of these allowed me to install the latest version of the connecter and register / use from VS 2010.

    Hope it helps someone.

    (I renamed to config_old)

  4. I still have the issue with 6.3.6
    I get the error ”Setup wizard ended prematurely because of an error”

Trackbacks/Pingbacks

  1. .Net 4, VS 2010, Entity Framework & mysql « A Digital Idea - [...] .Net 4, VS 2010, Entity Framework & mysql July 23, 2010 tags: .net, .net 4, .net 4.0, ef, …

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>