Authentication issues after migrating a site to a local host

Overview

In this article, you will learn how to eliminate authentication issues that may happen after moving a DNN site to a local host.

Pre-requisites

This solution assumes you have admin level knowledge of your DNN instance, as well as sufficient SQL Server knowledge to perform the queries listed.

Solution

To resolve problems related to authentication, please follow these steps:

  1. Confirm you followed the DNN Move Site instructions, which includes:
    1. Install and configure your website on IIS
    2. Restore the .bak file to your SQL Server
    3. Set the host file with the website URL (for both addresses with www and without it)
  2. Run the following queries:
    DELETE * FROM WebServers;
    UPDATE Schedule SET [Servers] = NULL;
    DELETE * FROM DNNPRO_License;
    UPDATE HostSettings SET SettingName = 'hash_old'
    WHERE SettingName = 'hash';
  3. Clear the DNN cache
  4. Restart the DNN application

 

Product: DNN 9.2.0

Comments

0 comments

Please sign in to leave a comment.