Invalid page ID

Dec 3, 2010 at 3:32 PM
Edited Dec 3, 2010 at 3:40 PM

After creating a new page in BE 2.0, SQL_CE though admin, one is unable to delete the page, invalid page id message is displayed, one has to download the database, delete the page and upload.

Coordinator
Dec 3, 2010 at 6:27 PM

Thanks, this was fixed in BE 2.0.0.3 (after the RC).  You can still delete the Page outside of the control panel -- e.g. using the Delete link under the Page when viewing the page on the front end of the website.

You can also fix it too if you'd like so Delete works from the control panel.  In the App_Code folder is a Posts.cs file.  Line 69 has:

var page = Post.GetPost(new Guid(id));

... that should be ...

var page = Page.GetPage(new Guid(id));

Dec 3, 2010 at 6:45 PM

Thank you Ben.