I am making a web application with ASP.net MVC3. I eventually want to use roleprovider and authentication used by a login form. So I have this code:
I have been looking for answer and I find the solution that work for me on fix-for-mysql-connectornet-693
You just need to delete ".v20" from every instance of MySql.Web.v20 in
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\machine.config
and
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config
You can edit files in Notepad (Run As Administrator!).