Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Anyone else tried to use the Membership.GetAllUsers method? When I try on my installation (Umbraco 18.104.22.168) it doesnt work, returns following error
ArgumentNullException: Key cannot be null.Parameter name: key] System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add) +7484510 System.Collections.Hashtable.Add(Object key, Object value) +11 System.Web.Security.MembershipUserCollection.Add(MembershipUser user) +129 umbraco.providers.members.UmbracoMembershipProvider.GetAllUsers(Int32 pageIndex, Int32 pageSize, Int32& totalRecords) in d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\providers\members\MembersMembershipProvider.cs:497 System.Web.Security.Membership.GetAllUsers(Int32 pageIndex, Int32 pageSize, Int32& totalRecords) +65
Anyone else get this error?
Solved. Turned out to be a member that was deleted from umbraco members that still hade some remaning leftovers in the db, proberly due to I might have used the member on a content node with a member picker before the member was deleted. Figured it out by using the getall on umbracos own member api and saw that I had a "blank" member. Chased down the id in all tables and deleted the row where it was present. After that Membership.GetAllUsers worked.
Great feedback Anders, always great if people can provide feedback on what may have been wrong. +1 from me.
As an admin, can you put a request in for marking own answers as solution. Cant seam to find a button for that :-)
Unfortunately, you (still) can mark your own answer as a solution (would be a bit of a karma hack actually)
Just wanted to thank you Anders, I had this problem too. The relevant tables incase anyone else is wondering are
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted