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

Forums / Set-up & Installation / strange error

strange error

3 posts, 0 answered
  1. Rabindra
    Rabindra avatar
    106 posts
    Registered:
    17 May 2009
    05 Sep 2009
    Link to this post
    I copied all my files and database from my hosting server to my local server.
    When I run the program I following error. I searched for "emailREValidator1" and it is located at SubscriptionFormTemplate.ascx. But there is no 'st1_email'. The textbox ID is "sf1_email". I can't understand why it is looking for "st1_email"? Pls help to fix this problem. (ps- i don't have any problem with my hosting site. All files are the same)
     Unable to find control id 'st1_email' referenced by the 'ControlToValidate' property of 'emailREValidator1'. 
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
     
    Exception Details: System.Web.HttpException: Unable to find control id 'st1_email' referenced by the 'ControlToValidate' property of 'emailREValidator1'. 
     
    Source Error: 
     
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 
     
    Stack Trace: 
     
    [HttpException (0x80004005): Unable to find control id 'st1_email' referenced by the 'ControlToValidate' property of 'emailREValidator1'.] 
       System.Web.UI.WebControls.BaseValidator.CheckControlValidationProperty(String name, String propertyName) +8734238 
       System.Web.UI.WebControls.BaseValidator.ControlPropertiesValid() +40 
       System.Web.UI.WebControls.BaseValidator.get_PropertiesValid() +21 
       System.Web.UI.WebControls.BaseValidator.OnPreRender(EventArgs e) +27 
       System.Web.UI.Control.PreRenderRecursiveInternal() +80 
       System.Web.UI.Control.PreRenderRecursiveInternal() +171 
       System.Web.UI.Control.PreRenderRecursiveInternal() +171 
       System.Web.UI.Control.PreRenderRecursiveInternal() +171 
       System.Web.UI.Control.PreRenderRecursiveInternal() +171 
       System.Web.UI.Control.PreRenderRecursiveInternal() +171 
       System.Web.UI.Control.PreRenderRecursiveInternal() +171 
       System.Web.UI.Control.PreRenderRecursiveInternal() +171 
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842 
     
     
    Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082  

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    06 Sep 2009
    Link to this post
    Hello Rabindra,

    You could check emailREValidator1 declaration and see whether you set not proper value for ControlToValidate property.

    Best wishes,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. Rabindra
    Rabindra avatar
    106 posts
    Registered:
    17 May 2009
    07 Sep 2009
    Link to this post
    It was my mistake. I was pointing to wrong template.
    It is now fixed. thanks
Register for webinar
3 posts, 0 answered