Delete Error: The page cannot be found

Mar 12, 2009 at 10:19 PM
Edited Mar 12, 2009 at 10:19 PM
I've done a search on this topic and I can find one specifically relating to this.  I recently downloaded BE and I'm running it on a test webserver.  I can add and edit posts, but when I try to delete, I get the page cannot be found.

Same thing when I try to delete the included sites in the blogroll.  Running IIS 6 and I believe I have the correct Web.config, but any help would be appreciated.
Mar 12, 2009 at 10:30 PM
So you click 'Delete' and then you see a page cannot be found error?  What is the URL in the address bar before you click 'Delete' and what is the URL in the address bar when you see the page not found error?  Also, after you get the error and go back to the blog, is the post (or blogroll site) still there, or did it get deleted?
Mar 12, 2009 at 10:34 PM
I click 'Delete' and then comes the page not found error.  This is the URL being displayed:


When I get the error, and go back to the blog, the post (and/or blogroll site) is still there.
Mar 12, 2009 at 10:41 PM
Is your blog installed directly in news-webdev?  Or is it installed in a blog folder/application?  In other words, is your blog's homepage URL

-- or something like --
Mar 12, 2009 at 10:44 PM
Yes, http://news-webdev/ is the install of the blog.  The blog IS the site.  When I click on the post header, this is the url:  http://news-webdev/post/2009/03/12/Test-Post-2.aspx
Mar 12, 2009 at 11:31 PM
Edited Mar 13, 2009 at 4:37 AM
EDIT:  Not important.  The next post below is probably the issue.
Mar 13, 2009 at 12:18 AM
Edited Mar 13, 2009 at 4:37 AM
Do you have URLScan installed on your server?  According to this, URLScan failures result in 404 errors.  Searching for 404 errors in your W3SVC log will include failures due to URLScan blocking.

Another BlogEngine user reported URLScan problems when the querystring included the word "deletepost".

EDIT: This would also explain why you are getting errors trying to delete entries out of the BlogRoll.  Clicking the 'Delete' link navigates you to a URL like:


In this case too, "delete" is in the querystring.

You could disable the filter for the word 'delete' in URLScan (as jsmcmullen brought up in the that other post).  Or, you could make some (somewhat minor) modifications to your BlogEngine code so it would use a different keyword in the querystring -- other than 'delete'.
Mar 13, 2009 at 2:22 PM
That was it!  Our system admin installed URLScan on the test webserver yesterday.  Thanks for your help!
Jun 5, 2009 at 2:21 PM

i'm having this issue when trying to delete blogroll entries.  i do NOT have URLScan installed.  any ideas?

Jul 3, 2009 at 7:41 AM

I am on linux and I changed the permissions on the admin directory to 777 or everyone full access and it solved the problem.