This project is read-only.

resource cannot be found error

Topics: ASP.NET 2.0
Aug 2, 2008 at 9:38 PM
whenever a new post is posted it redirects to page "title".aspx

such a page cannot be found and gives and error

also after posting when clicked on post tile it redirects to "post/post_title.aspx" which also leads to page not found

I have downloaded web project files and using IIS 7.0 on Vista and using default XMLProvider

pl. tell me how to solve it

Aug 2, 2008 at 9:40 PM
I am new here, but let me try to help out.  What version of BE.Net are you using??
Aug 2, 2008 at 9:50 PM

In BE 1.4, i see this

Which means after it saves it redirects you to the post.  If you are getting a 404, something is not set up correctly,

Please create a test entry and post the following information here:

1) The absolute url of the page you are being redirected to:
  ie, not just "post/post_title.aspx" but
2) The absolute url of the entry admin page:
3) Go to the front end of the web site and browse for the test page you just created, and post the absolute url of that post

Aug 2, 2008 at 9:57 PM
Edited Aug 3, 2008 at 6:54 AM
problem solved

pl refer following url

Aug 2, 2008 at 10:33 PM
Edited Aug 2, 2008 at 10:33 PM
Does this work??

Also, can you verify in the settings section of the admin that "Add date to post links" is checked..

I am not familiar with vista or iis7.. but is the application configured as a virtual directory as shown in the video?

Aug 3, 2008 at 6:31 AM
Edited Aug 3, 2008 at 6:55 AM
problem solved

pl refer following url

Aug 3, 2008 at 8:51 AM
you can go through all the changes to the web.config in the above article... or you can make run Be.Net in Legacy mode and configure the sub directory as a virtual directory in IIS as shown as in the installation video.  Personally, I would rather configure the application pool in IIS.  Why?? You are going to run into problems when you deploy BlogEngine.Net to a Windows 2003 server and have to rever back to the original Web.Config. 

On servers in IIS 6.0, when you want to run an application in a sub directory, you configure the application as a virtual directory in IIS an make sure the virtual directory is configure as an application. 

But there's always more than one way to skin a cat, so if you comfortable make the changes to the web.config then just do that.  But like I said, you won't be able to deploy it to a live server.
Aug 3, 2008 at 11:05 AM
ya i didn't change web.config


%systemroot%\system32\inetsrv\APPCMD.EXE migrate config "BlogSiteName/"