404 after fresh publish

Topics: Troubleshooting
Mar 20, 2011 at 10:21 AM

I'm getting a 404 not found error after i deploy an orchard install. The server is running IIS7, .NET 4.0 Integrated Pipeline. Any ideas where i should start looking for the problem?

Mar 20, 2011 at 10:23 AM

Update: When deploying to a local IIS (7.5) i get an 'Internet Explorer cannot display the webpage' error.

Mar 20, 2011 at 9:01 PM

Just to be 100% sure, it's the app pool that is configured for 4.0, right, not just that there is 4.0 on the machine?

Mar 21, 2011 at 9:46 AM
Edited Mar 21, 2011 at 9:47 AM

Yep, the app pool has .NET 4.0 in Integrated Pipeline mode, running under the Network Service account (on my local machine). I don't know under which account the app pool is running in the dev environment, but nevertheless, i had no problems deploying other sites running under .NET 4.0 on their servers.

Mar 21, 2011 at 5:02 PM

What folders do you see at the root of that site?

Mar 23, 2011 at 2:19 PM

I'm seeing the correct folders, i'm now seeing a generic error that tells me to enable remote displaying of errors, but the hosting provider disabled this (they say it's for performance reasons). I switched to another hoster and everything is fine now.

Thank you.