after switching from mvc2 - mvc3 with minor problems ... When calling Membership.GetAllUsers
The following problem occurs:
it seems that instead of System.Web.Security.SqlMembershipProvider WebMatrix.WebData.SimpleMembershipProvider kicks. I use WebMatrix to get razor assistants to work with MVC3. I tried a bunch of things, but to no avail.
The IIS7 administration configuration looks like this:
<trustedProviders allowUntrustedProviders="false"> <add type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> <add type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> <add type="System.Web.Security.WindowsTokenRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> </trustedProviders>
[NotSupportedException: the specified method is not supported.] WebMatrix.WebData.SimpleMembershipProvider.GetAllUsers (Int32 pageIndex, Int32 pageSize, Int32 & totalRecords) +28 System.Web.Security.Membership.GetAllUsers (Int32 pageIndex, Int32 pageize 45
source share