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

Forums / Deployment / Invalid page ID specified

Invalid page ID specified

4 posts, 0 answered
  1. David
    David avatar
    22 posts
    Registered:
    04 May 2009
    11 Feb 2010
    Link to this post
    I backed-up my database on a DEV Server  and restored it on a PROD Server and then got this error on one page, but not all:
    Invalid page ID specified. Most likely this error is caused because of broken data integrity or improper CMS page request.

    This page was working fine on DEV.  The page already existed on PROD and was working fine before the backup and restore.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    11 Feb 2010
    Link to this post
    Hi David,

    Could you paste the stack trace of the error? If possible clear sitefinity's error log. Try to reproduce the problem. The error should be written in the log file. Then attach the log file here.

    Sincerely yours,
    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.
  3. David
    David avatar
    22 posts
    Registered:
    04 May 2009
    11 Feb 2010
    Link to this post
    For whatever reason, the sitefinity.log isn't getting any new entries.  Hopefully that's a separate issue.  I was, however, able to get some details from another log:

    Event code: 3005
    Event message: An unhandled exception has occurred.
    Event time: 2/10/2010 2:57:47 PM
    Event time (UTC): 2/10/2010 10:57:47 PM
    Event ID: 77734b0041824ae7b057dbd73826efd3
    Event sequence: 42403
    Event occurrence: 9
    Event detail code: 0
     
    Application information:
        Application domain: /LM/W3SVC/2/ROOT/CMS-1-129102738170713200
        Trust level: Full
        Application Virtual Path: /CMS
        Application Path: C:\Web\Sitefinity\CMS\
        Machine name: H-BIONICEAR
     
    Process information:
        Process ID: 2468
        Process name: w3wp.exe
        Account name: NT AUTHORITY\NETWORK SERVICE
     
    Exception information:
        Exception type: InvalidOperationException
        Exception message: Invalid page ID specified. Most likely this error is caused because of broken data integrity or improper CMS page request.
     
    Request information:
        Request URL: http://www.example.com/cms/sitefinity/admin/previewpage.aspx?cmspagemode=preview&locknavigation=true
        Request path: /cms/sitefinity/admin/previewpage.aspx
        User host address: ******* (blanked out)
        User: ******* (blanked out)
        Is authenticated: True
        Authentication Type: Forms
        Thread account name: NT AUTHORITY\NETWORK SERVICE
     
    Thread information:
        Thread ID: 11
        Thread account name: NT AUTHORITY\NETWORK SERVICE
        Is impersonating: False
        Stack trace:    at Telerik.Cms.Web.PreviewPage.OnPreInit(EventArgs e)
       at System.Web.UI.Page.PerformPreInit()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
     
     
    Custom event details:
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    12 Feb 2010
    Link to this post
    Hello David,

    Check whether you have some HttpModule or HttpHandler that alter the context or PageKey. Make sure that you do not have some code that runs on Application_Start in Global.asax that could cause this problem. Try removing the controls from the page and see whether the problem will persits.
    You coul also try to restore another backup of your localdatabse.

    Let us know how it goes.

    Greetings,
    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.
Register for webinar
4 posts, 0 answered