TN 1437 How to resolve Historian error: "The SQL login is invalid. Please update the Server startup options."
Last updated: February 20th, 2025Description
- Author: Ernest Lee
- Published: February 20th, 2025
Details:
Description
- Author: Ernest Lee
- Published: March 25, 2024
- Applies to: Historian version 2017 and later
Details
This article from InSource shows how to resolve the Historian error "The SQL login is invalid. Please update the Server startup options."
- In Historian, right-click Management Console and choose Shutdown (and disable Historian
- Open SQL Server Management Studio, navigate to Databases - Runtime - Security - Logins and delete all ArchestrA logins via example:
EL_SP2k23_W2019\aaAdministrators - EL_SP2k23_W2019\aaPowerUsers - EL_SP2k23_W2019\aaUsers - In SSMS navigate to Databases - Runtime - Security - Users and delete the users selected below.
- Next open Configurator and select Security on the left and click Configure to establish Historian security.
- Next navigate to C:\Program Files (x86)\Wonderware\Historian\x64 and right-click aahSecurity.exe and Run as Administrator.
- Navigate to C:\ProgramData\ArchestrA\Historian\Install\Scripts and double-click the SQL script RuntimeSecurity.sql and run it in the SSMS interface.
- Go back to the Historian and this time click Enable (allow to run) Historian.