Other Sections

Certain pages in portal lead to a 404 error

Issue

When attempting to navigate to specific pages within the DNN instance, customers are reporting that they lead to a 404 error page. The customer has also validated that these pages do indeed exist within the portal.

Cause

The affected pages were originally created under a parent page and then moved to be under a new parent page. Because of this, the page URLs have retained the .aspx modifier.

Resolution

In order to fix this issue, you will need to completely remove the old system generated URLs so that the new URLs are created without the .aspx modifier.

Requirements: SQL access to the DNN server

NOTE: Please make a backup of your database before running this or any other SQL query.

1. Log in to SQL Server Management Studio.

2. In the left side Object Explorer, Double click on your server name and then Databases to expand.

3. Find your DNNdatabase and right-click to select New Query.

4. Execute the following query to find the PortalID of the affected instance: