If Redgate Monitor is configured to authenticate users with Active Directory, and you're locked out of your Active Directory service account, you need to switch the authentication mode back to the default, restart the Web Service (or website, if you're using IIS), and then switch back to Active Directory authentication.
You won't be able to log in to Redgate Monitor (even as an administrator) to switch the authentication mode back to the default. Instead, you need to run a SQL script to do this.
- Switch the authentication mode back to the default:
- In SQL Server Management Studio, connect to the SQL Server instance that hosts the SQL Monitor database.
-
Paste the following SQL script into a new query window targeting the SQL Monitor data repository and run it:
DELETE FROM [settings].[KeyValuePairs] WHERE [KeyName] = 'AuthenticationType';
DELETE FROM settings.ActiveDirectoryDomains; --optional, to delete any existing configuration - Stop the Redgate Monitor Base Monitor service
To stop the Base Monitor service: from the Start menu, open Services, right-click Redgate Monitor Base Monitor service, and select Stop.
- Stop the Web Service (or website and application pool, if you're using IIS).
To stop the Web Service: from the Start menu, open Services, right-click Redgate Monitor Web Service, and select Stop.
To stop the website and application pool (if you're using IIS): open IIS Manager and, in the Connections sidebar, right-click the website SQL Monitor uses. Click Manage Website, and select Stop. Then click into Application Pools and right-click on the application pool the site uses. Select Stop.
- Restart the Redgate Monitor Base Monitor service
To Restart the Base Monitor service: from the Start menu, open Services, right-click Redgate Monitor Base Monitor service, and select Restart.
- Restart the Web Service (or website, if you're using IIS).
To restart the Web Service: from the Start menu, open Services, right-click Redgate Monitor Web Service, and select Restart.
To restart the website (if you're using IIS): right-click the application pool and select Start and then right click the website and click Manage Website and then selecting Start.
- In SQL Server Management Studio, connect to the SQL Server instance that hosts the SQL Monitor database.
Switch back to Active Directory authentication.
Related article:
2
0
Was this article helpful?
1 out of 2 found this helpful
Articles in this section
- Redgate Monitor migration guide to version 14
- "Your browser does not seem to be accepting cookies." error message
- Setting up OpenID Connect (OIDC) with Entra ID in Redgate Monitor
- Proxy Configuration in Redgate Monitor
- WMI error after DCOM hardening patch
- Redgate Monitor alert tuning
- Redgate Monitor set up for optimal performance
- Redgate Monitor Base Monitor Service Account
- Configuring Metrics and Alerts in Redgate Monitor
- Getting started with Redgate Monitor