+1-888-365-2779
Try Now
More in this section

Forums / Security / Password Change and Recovery User Control

Password Change and Recovery User Control

5 posts, 1 answered
  1. Samson
    Samson avatar
    14 posts
    Registered:
    01 Sep 2010
    12 Oct 2010
    Link to this post
    I followed the steps from this blog post

    http://www.sitefinity.com/blogs/josephanderson/posts/08-12-12/change_password_and_password_recovery_controls_in_sitefinity.aspx

    and when i try to add the freshly uploaded user control to a page i get this error.

     

    Server Error in '/CompanyWeb' Application.

    Compilation Error

    Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

    Compiler Error Message: ASPNET: Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (e.g. Page or UserControl).

    Source Error:

    Line 6:  using System.Web.UI.WebControls;
    Line 7:  
    Line 8: public partial class UserControls_PasswordRecovery : System.Web.UI.UserControlLine 9:  {
    Line 10:     //Make the public property of type Password Recovery, so you can   

    Source File: c:\Program Files\telerik\Sitefinity3.7\WebSites\CompanyWeb\UserControls\Login\ChangePassword.ascx.cs    Line: 8






    Version Information: Microsoft .NET Framework Version:2.0.50727.3615; ASP.NET Version:2.0.50727.3614
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    19 Sep 2016
    12 Oct 2010
    Link to this post
    Hello Samson,

    The class name UserControls_PasswordRecovery is not the same as value of the Inherits attribute in the ascx file.

    Kind regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
    Answered
  3. Samson
    Samson avatar
    14 posts
    Registered:
    01 Sep 2010
    12 Oct 2010
    Link to this post
    Awesome! Thank you, dunno how I missed it.
  4. Charles
    Charles avatar
    61 posts
    Registered:
    18 Jul 2012
    25 Dec 2011
    Link to this post
    broken link :(
  5. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    19 Sep 2016
    26 Dec 2011
    Link to this post
    Hello,

    Here is the updated link.

    Kind regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Register for webinar
5 posts, 1 answered