404 error on all pages except on first level pages

Topics: Developer Forum, User Forum
Apr 17, 2009 at 5:44 PM

Did anyone had the following problem:

I set new N2 site on production server and imported few pages from my development environment. All first level pages (the level below root page, the start page and trash) work fine and I can reach the without problem but the pages below start page give 404 error all the time.
Whole day I can't figure out why this is happening.
Can anybody help me please?
This is the error I am getting:

Not Found

The requested document was not found on this server.


Web Server at xxx.xxx.xxx
Apr 17, 2009 at 8:02 PM
I get the same thing on our live server that's running IIS6. I've setup a wildcard mapping that uses the asp.net isapi filter, but it still doesn't work. Really need some help with this.

On my Vista IIS7 it works just fine with a wildcard mapping, but I get the same error without it, so it seems like the wildcard mapping is the issue.
Apr 17, 2009 at 8:16 PM
This worked for me:

Open the IIS Manager and the Properties for the web site.
Go to the Home Directory tab and click Configuration.
Add a wildcard mapping that uses the same file as the aspx extensions
Make sure you uncheck the Verify that file exists checkbox.
You're good to go!