I got below error while debugging the code:
Exception Details: EPiServer.Core.PageNotFoundException: Page 6535 was not found
Please suggest the appropriate solution
Regards
I got below error while debugging the code:
Exception Details: EPiServer.Core.PageNotFoundException: Page 6535 was not found
Please suggest the appropriate solution
Regards
On
If you are getting this error as soon as you visit your page, just login and go directly to edit mode. It could be that your startpage is pointing to a page that has been deleted or something alike.
So take your host and add /util/login.aspx That will take you to epi login. Once you are logged in, check your episerverframework.config (depends on which version you have but just try to find out the path to your cms) and see what kind of virtualpath the cms has. Could be /Epiui/cms or something alike.
You might need to add /edit or /admin depending on what you want to reach. But /edit should be your choice in this particular situation.
Then check your startpage for missing pages to see what could be pointing to that page.
It's a late answer but it might help you or someone else out :)
On
Do you already have a functioning website or is this a new installation? If it's an existing one, go into Episerver's Edit mode (yoursite/episerver/cms/edit/) and use the search (top right of the screen with the magnifying glass icon) and enter the ID (6535) of the page that's missing, the page in question should appear in the search result.
You are trying to get non-existent page. You can check this code link
Perhaps you need to create it in Edit-mode.
You can get through the start page link
And then get all tree pages and see where missed. http://tedgustaf.com/blog/2013/4/hide-pages-in-the-page-tree-in-episerver-7/