MVC4, SimpleMemberShip and dotConnect for MySQL

MVC4, SimpleMemberShip and dotConnect for MySQL

Postby jmettraux » Thu 13 Sep 2012 06:25

Hello,

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

<connectionStrings>
<add name="DefaultConnection" connectionString="user id=root;password=root;host=localhost;database=sandbox;persist security info=True" providerName="Devart.Data.MySql" />
</connectionStrings>


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:

https://gist.github.com/3712262

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

Best regards.
jmettraux
 
Posts: 1
Joined: Thu 13 Sep 2012 02:41

Re: MVC4, SimpleMemberShip and dotConnect for MySQL

Postby Shalex » Mon 17 Sep 2012 15:44

Shalex
Devart Team
 
Posts: 7282
Joined: Thu 14 Aug 2008 12:44


Return to dotConnect for MySQL