EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB487057: Intermittent Subscription Failures due to "Login Timeout expired" error


Vishal Jain

Technical Account Manager II • MicroStrategy


This article describes how to resolve the "Login Timeout expired" error, which can cause subscriptions to fail intermittently in MicroStrategy.

Symptom

Some subscriptions fail intermittently and at random. When users rerun these subscriptions, they often succeed after the initial failure. This inconsistency results in users not receiving their subscriptions on time and having to manually resend them.
Error message: 

(QueryEngine encountered error: Connect failed. Query time-out. Error type: Odbc error. Odbc operation attempted: SQLDriverConnect. [HYT00:0: on SQLHANDLE] [Microsoft][ODBC SQL Server Driver]Login timeout expired [IM006:0: on SQLHANDLE] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed. Error in Process method of Component: QueryEngineServer, Project DQ Reports, Job 13565, Error Code= -2147212544.)

The following message may appear  in DSSError.log:
[Database Classes][Error][UID:0][SID:0][OID:0][ConnectionKeeper.cpp:77] Connect failed. Query time-out. Error type: Odbc error. Odbc operation attempted: SQLDriverConnect. [HYT00:0: on SQLHANDLE] [Microsoft][ODBC SQL Server Driver]Login timeout expired [IM006:0: on SQLHANDLE][Database Classes][Error][UID:0][SID:0][OID:0][ConnectionWrapper.cpp:438] Failed to connect to data source. Error message: Connect failed. Query time-out.

 

Cause

The "Login timeout expired" error typically indicates that the connection attempt to the database server is timing out before a successful login can be established. This can occur due to network latency, server load, or misconfigured connection settings.
 

Solution

To mitigate the intermittent failures, one of the workaround is to increase the login timeout, which gives the connection attempt more time to succeed.
To increase the login timeout setting, please follow these steps:

  • Open the "ODBC Data Source Administrator (64-bit)" tool.
  • Navigate to the "System DSN" tab and select the relevant DSN.
  • Click "Configure" and then go to the "Advanced" tab.
  • Locate the "Login Timeout" parameter and adjust it to a higher value as needed
ka0PW00000040PdYAI_0EMPW00000FGIA2.jpeg

 


Comment

0 comments

Details

Knowledge Article

Published:

December 27, 2024

Last Updated:

December 27, 2024