Network Management

"Your session expired" message when logging in to the SolarWinds Platform Web Console

The article provides guidance on addressing the behavior for the SolarWinds Platform Web Console after migrating your SolarWinds Platform web server, you are prompted to enter credentials, and then informed that Your session expired.

First published date

6/11/2019 7:09 AM

Last published date

7/15/2025 9:39 PM

Overview

When logging in to the SolarWinds Platform Web Console and entering your domain or local credentials, you receive a Windows security prompt to enter your credentials. When you enter any credentials or cancel the prompt, login fails and the Your session expired message is displayed.

Product section

Orion Platform

Cause

This issue is caused by files left over in the database after the upgrade.

Resolution

Option 1:

If this issue occurs after you have migrated the SolarWinds Platform Webserver to a new server with a new hostname, complete the following steps:
 

  1. Log in to the main polling engine as a local administrator.
  2. Run the Database Manager. See Use Database Manager to view the SolarWinds database.
  3. Right-click the database instance, select New Query, and run the following code:
    -- Scripts are not supported under any SolarWinds support program or service. 
    -- Scripts are provided AS IS without warranty of any kind. SolarWinds further 
    -- disclaims all warranties including, without limitation, any implied warranties 
    -- of merchantability or of fitness for a particular purpose. The risk arising 
    -- out of the use or performance of the scripts and documentation stays with you. 
    -- In no event shall SolarWinds or anyone else involved in the creation, 
    -- production, or delivery of the scripts be liable for any damages whatsoever 
    -- (including, without limitation, damages for loss of business profits, business 
    -- interruption, loss of business information, or other pecuniary loss) arising 
    -- out of the use of or inability to use the scripts or documentation.
    
    DECLARE @oldHostname nvarchar(max)
    SET @oldHostname = 'Server1' /* Replace Server1 with OLD hostname */
    DECLARE @newHostname nvarchar(max)
    SET @newHostname = 'Server2' /* Replace Server2 with NEW hostname */
    
    UPDATE Engines SET ServerName = @newHostname WHERE ServerName = @oldHostname
    UPDATE WebSettings SET SettingValue = @newHostname WHERE SettingName = 'JobSchedulerHost'
    UPDATE Websites SET ServerName = @newHostname WHERE ServerName = @oldHostname
    UPDATE OrionServers SET HostName = @newHostname WHERE HostName = @oldHostname
  4. You can now log in to the SolarWinds Platform Web Console.

Option 2:

  1. Run the query on your Database Manager
    -- Scripts are not supported under any SolarWinds support program or service. 
    -- Scripts are provided AS IS without warranty of any kind. SolarWinds further 
    -- disclaims all warranties including, without limitation, any implied warranties 
    -- of merchantability or of fitness for a particular purpose. The risk arising 
    -- out of the use or performance of the scripts and documentation stays with you. 
    -- In no event shall SolarWinds or anyone else involved in the creation, 
    -- production, or delivery of the scripts be liable for any damages whatsoever 
    -- (including, without limitation, damages for loss of business profits, business 
    -- interruption, loss of business information, or other pecuniary loss) arising 
    -- out of the use of or inability to use the scripts or documentation.

    UPDATE dbo.Settings SET CurrentValue = 1 WHERE SettingID LIKE 'dbm-defragmentation-enabled%' DELETE FROM Limitations WHERE WhereClause = '1=1' DELETE FROM LimitationSnapShots DELETE FROM ContainerMemberSnapshots DELETE FROM PendingNotifications DELETE FROM SubscriptionTags DELETE FROM Subscriptions WHERE EndpointAddress NOT LIKE 'http%'
     
  2. Restart the SolarWinds Platform Services via SolarWinds Platform Service Manager