I’m currently using Visual Studio 2010 and have created a ‘ASP.NET MVC 3 Web Application’.
I’ve changed the question from SQLite to MySQL for reasons pointed out by Darin.
So I’ve setup my MySQL database and configured the web.config as shown in this answer, however I get instant configuration error on this:
Parser Error Message: Could not load file or assembly ‘MySql.Web, Version=6.2.2.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d’ or one of its dependencies. The system cannot find the file specified.
Line 78: type="MySql.Web.Security.MySQLRoleProvider, MySql.Web
Is this because the public key is wrong?
Thanks
You will need to write a custom membership provider which works with SQLite. Here’s an example with MySQL. Also notice that SQLite is not intended to be used in a multithreaded environment such as ASP.NET.