This project is read-only.


ExtendedMongoMembership.Sample not working


I'm seeing some issues with the sample code not working

1) HomeController - CreateRole

This code should check if the role exists before creating - and should look like this:
        if (!Roles.RoleExists("Admin2"))
If I click 'Register' in the web page I get this exception from InitializeSimpleMembership.cs at

"An error occurred while getting provider information from the database. This can be caused by Entity Framework using an incorrect connection string. Check the inner exceptions for details and ensure that the connection string is correct."
Closed Mar 27, 2013 at 9:53 PM by F0rc0sigan
I have uplodaed new release, so now evverything must work fine.

BTW: I deleted InitializeMembership filter b/c we dont need initialize db as we use mongodb.


bluee wrote Mar 27, 2013 at 6:54 PM

It seems only to be a problem with the current release 0.9 and not the trunk code.

F0rc0sigan wrote Mar 27, 2013 at 7:37 PM

Thanks very much for help in finding bugs. Will fix it asap.