views:

43

answers:

0

hi, i have installed vs2010 beta2, create a MVC website, i want to use subsoinc access a mysql database in SimpleRepository, when run the website, i get error: "Unable to find the requested .Net Framework Data Provider. It may not be installed. ".

var repo = new SimpleRepository("NorthwindMySql", SimpleRepositoryOptions.None);
var user = repo.Find<Models.User>(u => u.Username == "mm");

ViewData["UserData"] = user;

then, i use my vs2008 do the same thing, this time, the website works just fine. how can i fix this? thanks.