Unable to access page: "You are not authorized to view this page!" error

Overview

You have a page in EVOQ CMS that no one can view and not even the Host Administrator has permission to access.

When trying to access it, you get the following error message: 'You are not authorized to view this page!'

Solution

This issue could be caused by a custom DNN module. In this case, it is recommended for you to contact the developers of the third-party module for understanding how it interferes with the permissions of the affected page as DNN does not offer support for custom modules. Once you understand the issue, you may find the Finding Details of Modification of Page and Module Permissions and Updating the Page Permission of a Specific Role Through the Database articles useful for additional information on page permissions and how to reset them.

As a workaround, you can also try deleting the module causing the issue. Before attempting this, make sure to create a backup of your database.

  1. Open the DNN SQL Console or SQL Server Management Studio to run database queries.

  2. Run the following query to find the ModuleID and TabID of the affected module and page based on the module name:
    SELECT ModuleID, TabID, ModuleTitle FROM TabModules

  3. Use the newly found Module and Tab IDs in the following query to delete the page:
    DELETE FROM TabModules WHERE ModuleId = <ModuleID> and TabId = <TabID>

  4. Clear the cache and restart the application.

Testing

Try accessing the page to check if the issue has been resolved with the deletion of the module. If you need support, please contact our support team.

Comments

0 comments

Please sign in to leave a comment.