MVC4, SimpleMemberShip and dotConnect for MySQL

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for MySQL
Post Reply
Posts: 1
Joined: Thu 13 Sep 2012 02:41

MVC4, SimpleMemberShip and dotConnect for MySQL

Post by jmettraux » Thu 13 Sep 2012 06:25


I'm trying to make the most basic MVC4 project (ASP.NET MVC4 Web Application - "Internet Application") work with dotConnect (7.2.77) and MySQL (5.5) on the latest VisualStudio 2012 (professional).

I've changed the connection string to
<add name="DefaultConnection" connectionString="user id=root;password=root;host=localhost;database=sandbox;persist security info=True" providerName="Devart.Data.MySql" />
which work wells for plain code first / entity framework stuff in other MVC4 projects.

Unfortunately upon trying with SimpleMembership, WebMatrix.WebData.SimpleMembershipProvider.CreateTablesIfNeeded is raising this exception:

Is there a way to make the vanilla SimpleMembership thing work with DevArt dotConnect? Should I use a different connection string?

Best regards.

Site Admin
Posts: 8239
Joined: Thu 14 Aug 2008 12:44

Re: MVC4, SimpleMemberShip and dotConnect for MySQL

Post by Shalex » Mon 17 Sep 2012 15:44

Post Reply