how to change another developer to use controls

2 posts, 0 answers
  1. Sarah
    Sarah avatar
    5 posts
    Member since:
    Nov 2010

    Posted 16 Jun 2011 Link to this post

    Hi,

    my workmate already installed control for our project with vs2010, but he will leave soon, so I delete his installation , then I download new copy of product and installed it. but the follow bug occurred which didn't happen before. could  you give me a help?


     

    Server Error in '/zPortalInHouse' Application.

    The value '31/12/9999' of the MaximumValue property of 'EDDRangeValidator' cannot be converted to type 'Date'.

    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: The value '31/12/9999' of the MaximumValue property of 'EDDRangeValidator' cannot be converted to type 'Date'.

    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): The value '31/12/9999' of the MaximumValue property of 'EDDRangeValidator' cannot be converted to type 'Date'.]
       System.Web.UI.WebControls.RangeValidator.ValidateValues() +1346298
       System.Web.UI.WebControls.RangeValidator.ControlPropertiesValid() +12
       System.Web.UI.WebControls.BaseValidator.OnPreRender(EventArgs e) +36
       System.Web.UI.Control.PreRenderRecursiveInternal() +103
       System.Web.UI.Control.PreRenderRecursiveInternal() +175
       System.Web.UI.Control.PreRenderRecursiveInternal() +175
       System.Web.UI.Control.PreRenderRecursiveInternal() +175
       System.Web.UI.Control.PreRenderRecursiveInternal() +175
       System.Web.UI.Control.PreRenderRecursiveInternal() +175
       System.Web.UI.Control.PreRenderRecursiveInternal() +175
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2496
    

  2. Andrey
    Admin
    Andrey avatar
    244 posts

    Posted 17 Jun 2011 Link to this post

    Hello Sarah,

    This looks like something caused by missmatched cultures, between different parts of your code. What's probably happening is: somewhere in your code a value in the "dd/mm/yyyy" format ('31/12/9999') is passed on to a RangeValidator expecting a date in the "mm/dd/yyyy" format. Hence the exception.

    You should be able to find the exact spot of the error if you ran your web application through the Visual Studio debugger.

    Best wishes,
    Andrey
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top