More in this section

Forums / General Discussions / Invalid Page request

Invalid Page request

7 posts, 0 answered
  1. bnye
    bnye avatar
    332 posts
    Registered:
    22 Sep 2005
    22 Sep 2007
    Link to this post
    I seem to be getting the following error frequently in the TIU demo site:

    Server Error in '/telerik/TIUSite' Application.
    --------------------------------------------------------------------------------

    Invalid Page request! The CMS entry point should never be called directly.
    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: Invalid Page request! The CMS entry point should never be called directly.

    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): Invalid Page request! The CMS entry point should never be called directly.]
    Telerik.Cms.Web.InternalPage.OnPreInit(EventArgs e) +708
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +521

    Sincerely,

    Ben
  2. Pierre
    Pierre avatar
    433 posts
    Registered:
    16 Feb 2006
    24 Sep 2007
    Link to this post
    Hi,

    Not only this, but more :

    ERRORS IN v3.1 BETA

    1-Search Word : Blog in TUI Site

    required control was not found in the template for "Telerik.Search.WebControls.SearchResult+Container". The control must be assignable form type "System.Web.UI.Control" and must have ID "lblResultsStats".

    Description : Une exception non gérée s'est produite au moment de l'exécution de la demande Web actuelle. Contrôlez la trace de la pile pour plus d'informations sur l'erreur et son origine dans le code.

    Détails de l'exception: System.Web.HttpException: A required control was not found in the template for "Telerik.Search.WebControls.SearchResult+Container". The control must be assignable form type "System.Web.UI.Control" and must have ID "lblResultsStats".

    Erreur source:

    Une exception non gérée s'est produite lors de l'exécution de la demande Web actuelle. Les informations relatives à l'origine et l'emplacement de l'exception peuvent être identifiées en utilisant la trace de la pile d'exception ci-dessous.


    Trace de la pile:

    [HttpException (0x80004005): A required control was not found in the template for "Telerik.Search.WebControls.SearchResult+Container". The control must be assignable form type "System.Web.UI.Control" and must have ID "lblResultsStats".]

    Telerik.Cms.Web.UI.GenericContainer`1.FindControl(Type requiredType, String id, Boolean required) +234

    Telerik.Cms.Web.UI.GenericContainer`1.FindRequiredControl(String id) +66

    Telerik.Search.WebControls.Container.get_ResultsStats() +34

    Telerik.Search.WebControls.SearchResult.CreateChildControls() +258

    System.Web.UI.Control.EnsureChildControls() +87

    System.Web.UI.Control.PreRenderRecursiveInternal() +50

    System.Web.UI.Control.PreRenderRecursiveInternal() +170

    System.Web.UI.Control.PreRenderRecursiveInternal() +170

    System.Web.UI.Control.PreRenderRecursiveInternal() +170

    System.Web.UI.Control.PreRenderRecursiveInternal() +170

    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2041

     

     

     

     

    2 -PAGES> TEMPLATES > EDIT MODE > EDIT GENERIC CONTENT

     

    2.1 /When you "CANCEL" the properties PAGE

    Invalid Page request! The CMS entry point should never be called directly.

    2.2/ When you Cancel the Modifications on Page "Template"

    Invalid Page request! The CMS entry point should never be called directly.

     AND OTHERS IN ADD CONTROLS TO PAGES

    3- COMPILING ERRORS IN TIU SITE

    Erreur 1 Le type 'Telerik.Charting.ChartSeries' ne possède pas de propriété publique appelée 'LabelAppearance-Alignment'. C:\Documents and Settings\papa\Mes documents\Visual Studio 2005\WebSites\WebSitedev31\Sitefinity\ControlTemplates\Polls\ResultsBoxNoLegend.ascx 25

    Erreur 2 Telerik.Charting.ChartSeriesCollection doit avoir des éléments de type 'Telerik.Charting.ChartSeries'. 'Items' est de type 'System.Web.UI.HtmlControls.HtmlGenericControl'. C:\Documents and Settings\papa\Mes documents\Visual Studio 2005\WebSites\WebSitedev31\Sitefinity\ControlTemplates\Polls\ResultsBoxNoLegend.ascx 27

    Erreur 3 Telerik.Charting.ChartSeriesCollection doit avoir des éléments de type 'Telerik.Charting.ChartSeries'. 'radC:ChartSeriesItem' est de type 'Telerik.Charting.ChartSeriesItem'. C:\Documents and Settings\papa\Mes documents\Visual Studio 2005\WebSites\WebSitedev31\Sitefinity\ControlTemplates\Polls\ResultsBoxNoLegend.ascx 28

    Erreur 4 Le contenu littéral ('</radC:ChartSeriesItem> </Items> </radC:ChartSeries>') n'est pas autorisé dans un 'Telerik.Charting.ChartSeriesCollection'. C:

    \Documents and Settings\papa\Mes documents\Visual Studio 2005\WebSites\WebSitedev31\Sitefinity\ControlTemplates\Polls\ResultsBoxNoLegend.ascx 28

    Erreur 5 Le type 'Telerik.Charting.ChartSeries' ne possède pas de propriété publique appelée 'LabelAppearance-Alignment'. C:\Documents and Settings\papa\Mes documents\Visual Studio 2005\WebSites\WebSitedev31\Sitefinity\ControlTemplates\Polls\ResultsBoxLegend.ascx 23

    Erreur 6 Le contenu littéral ('</radC:ChartSeries>') n'est pas autorisé dans un 'Telerik.Charting.ChartSeriesCollection'. C:\Documents and Settings\papa\Mes documents\Visual Studio 2005\WebSites\WebSitedev31\Sitefinity\ControlTemplates\Polls\ResultsBoxLegend.ascx 27

    4- WHEN I TRY TO ADD A CONTROL IN CONTENT BOX ( EDIT-MODE)

    Invalid Page request! The CMS entry point should never be called directly.

    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: Invalid Page request! The CMS entry point should never be called directly.

    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): Invalid Page request! The CMS entry point should never be called directly.]

    Telerik.Cms.Web.EditPage.OnPreInit(EventArgs e) +2194

    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +663

     BEST REGARDS. 

     

     

  3. bnye
    bnye avatar
    332 posts
    Registered:
    22 Sep 2005
    24 Sep 2007
    Link to this post
    After creating a new project it seems that this error occurs on logging in and logging out using the new login controls. It seems to be a problem with the redirect pages. Is there some documentation on how to configure these.

    Sincerely,

    Ben

  4. Yasen
    Yasen avatar
    121 posts
    Registered:
    18 May 2013
    24 Sep 2007
    Link to this post
    Hi Ben,

    "Invalid Page request!" is a known issue in TIU site. Chart compilation errors are related to the changes in RadChart control API. These issues will be fixed for the official release.

    The problem with the login control is also known. This is an issue of URL rewriting as by default the login control (also the loginView control) redirects to the same page it is located and messes up with our rewritten addresses. We are working to fix this for the release. For now as a workaround, you can set explicitly the DestinationPageUrl property of the login control.

    As for the search problem, we need more detailed explanations of the steps you undertook because we can't reproduce this. If I understand correctly, you are typing "Blog in TUI Site" in the search box of TIU site and the result is "required control was not found in the template..." exception. Am I missing something?

    Thanks for your cooperation in advance.

    Sincerely yours,
    Yasen
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  5. Pierre
    Pierre avatar
    433 posts
    Registered:
    16 Feb 2006
    24 Sep 2007
    Link to this post
    Searching prblem :

    Open TIU Web SIte,  Go to Search, put anything to seach and push

    Error

    A required control was not found in the template for "Telerik.Search.WebControls.SearchResult+Container". The control must be assignable form type "System.Web.UI.Control" and must have ID "lblResultsStats".

    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: A required control was not found in the template for "Telerik.Search.WebControls.SearchResult+Container". The control must be assignable form type "System.Web.UI.Control" and must have ID "lblResultsStats".

    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): A required control was not found in the template for "Telerik.Search.WebControls.SearchResult+Container". The control must be assignable form type "System.Web.UI.Control" and must have ID "lblResultsStats".]
       Telerik.Cms.Web.UI.GenericContainer`1.FindControl(Type requiredType, String id, Boolean required) +234
       Telerik.Cms.Web.UI.GenericContainer`1.FindRequiredControl(String id) +66
       Telerik.Search.WebControls.Container.get_ResultsStats() +34
       Telerik.Search.WebControls.SearchResult.CreateChildControls() +258
       System.Web.UI.Control.EnsureChildControls() +87
       System.Web.UI.Control.PreRenderRecursiveInternal() +50
       System.Web.UI.Control.PreRenderRecursiveInternal() +170
       System.Web.UI.Control.PreRenderRecursiveInternal() +170
       System.Web.UI.Control.PreRenderRecursiveInternal() +170
       System.Web.UI.Control.PreRenderRecursiveInternal() +170
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2041
    


    Best regards
  6. Pepi
    Pepi avatar
    981 posts
    Registered:
    31 Jan 2017
    24 Sep 2007
    Link to this post
    Hi Romi,

    Could you please open SearchResult template (~/Sitefinity/ControlTemplates/Search/SearchResult.ascx) and look for a Literal control with ID lblResultsStats? A possible reason for this exception is the absence of a control with such an ID in the template.

    Regards,
    Pepi
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  7. Pierre
    Pierre avatar
    433 posts
    Registered:
    16 Feb 2006
    24 Sep 2007
    Link to this post
    Hi Pepi,

    Yes, This is the problem No file Result. I my Search forder I added the file SearchResult.ascx and now work fine.

    Best regards




Register for webinar
7 posts, 0 answered