Forums

Skip Navigation LinksHome / Developer Network / Forums / Sitefinity Older Versions (3.x): Security > Password Change and Recovery User Control

Password Change and Recovery User Control

  • Samson avatar

    Posted on Oct 12, 2010 (permalink)

    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

    Reply

  • Answer Ivan Dimitrov Ivan Dimitrov admin's avatar

    Posted on Oct 12, 2010 (permalink)

    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

    Reply

  • Samson avatar

    Posted on Oct 12, 2010 (permalink)

    Awesome! Thank you, dunno how I missed it.

    Reply

  • Charles avatar

    Posted on Dec 24, 2011 (permalink)

    broken link :(

    Reply

  • Ivan Dimitrov Ivan Dimitrov admin's avatar

    Posted on Dec 26, 2011 (permalink)

    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

    Reply

  • Register for webinar
Skip Navigation LinksHome / Developer Network / Forums / Sitefinity Older Versions (3.x): Security > Password Change and Recovery User Control