Telerik UserManager not instanciating in upgrade from 3.6 to 5.2
Hi
I've just upgraded a site from 3.6 to 5.2 and have an issue that I haven't been able to solve.
The site has a custom control used to reset passwords. Within the reset procedure there are the following lines of code:UserManager manager = new UserManager();
manager.DeleteUser(iMemberNumber.ToString());
and the code fails on the first line when trying to create an instance of the UserManager (error is object not set to instance of an object).
Hello,
Thank you for the detailed information provided.
Please note that there is a significant difference between project on 3.6 and 5.2. Could you please be more specific on what are you trying to achieve? If you need to delete user profile - please follow this help article.
Regards,
Veronica Milcheva
the Telerik team
Thanks for your reply Veronica.
I see where I was going wrong, as I mentioned I was using the legacy security dll (Telerik.Security) from the v3.7sp2 site when I should have been using Telerik.Sitefinity.Security.
Sorry, that was not clear to me.
cheers