Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Page not found URL not working View modes: 
User avatar
Member
Member
joeh42 - 5/27/2011 8:43:13 AM
   
Page not found URL not working
I'm setting the Page not found URL to ~/Page-Not-Found.aspx for my site (not global). I verified that the page /Page-Not-Found.aspx exists on my site and is published.

I go to any URL that doesn't exist (i.e. /hellokentico or /hellokentico.aspx), and I receive the IIS 404 error page.

Server Error
404 - File or directory not found.
The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.

How do I debug this?

Thanks,
Joe Hoppe
v5.5.4125 R2

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 5/30/2011 3:07:38 AM
   
RE:Page not found URL not working
Hello,

Could you please change the modules tag in the web.config file from:

<modules>

to the following?

<modules runAllManagedModulesForAllRequests="true">

Additional information can be found in our documentation.

Best regards,
Boris Pocatko

User avatar
Member
Member
joeh42 - 5/31/2011 11:21:33 AM
   
RE:Page not found URL not working
Boris,

I had read this section, but did not test these changes because we're not using Custom URL extensions or extensionless URLs.

Why is this change needed if we're not using Custom URL extensions or extensionless URLs?

It does resolve the problem...

<httpErrors existingResponse="PassThrough" />
<modules runAllManagedModulesForAllRequests="true">

Thanks,
Joe Hoppe