Author: michael412 | Posted on: 11/20/2008 10:09:38 AM | Views : 356

I have a development website. It has been using a custom MembershipProvider and RolesProvider happily for months. I recently added two new roles to the roles data source. These new roles are not recognised when I try to grant them access to resources. The site is actually a SharePoint site, but that seems to be of limited or no relevance. SharePoint has a useful tool called a people picker, which one uses to search for valid principals (handles both role and membership). When I use this to search for my roles, it returns the old set of roles that I've been using for months and does not show the new ones. When I breakpoint my providers, the breakpoints do not get hit. It is as if it is ignoring the providers and retrieving the roles from a cache somewhere instead.

The membership provider is also misbehaving, and in a similar manner - we appear to be retrieving information from a cache of some sort.

Is caching of the data from a MembershipProvider and RoleProv ...

Go to the complete details ...