SlideShare a Scribd company logo
SQL Server Error 18456 - A Quick Resolution
• SQL Server Error 18456 – An Overview
• Event Properties Of Error 18456
• Causes of SQL Server Error 18456
• How to Resolve Error 18456 ?
• Conclusion
SQL Server Error 18456 – An Overview
The SQL Error 18456 “Login Failed” occurs due to various reasons. One of
the main reason is, The connection is failed to access to the Server after
entering the correct Server name .
The below error message displays when the SQL Error 18456 occurs.
Event Properties Of Error 18456
The Login Failed Error 18456 not provide the much detail about occurrence of this
error. The information is hide to prevent from unauthorized user access.
Although, you can view more information regarding to this error by checking Event
Viewer.
Causes of SQL Server Error 18456
 Mixed mode is enabled and you may trying to connect with Windows
authentication mode.
 The Login or Password is incorrect when you are using SQL Server
Authentication.
 May the SA password you are using has been expired.
How to Resolve Error 18456 ?
 For Windows 7, Use “Run as Admin” to open SQL Server and check if the problem
is solved. (Use also for Windows Vista)
 Check, may the Active Directory Windows account is not corresponding to SQL
login
 Use SQL SA password, if you are connecting through SQL Server
authentication.
 Check for SA Expiration by clicking on:
Logins > user > properties
 Under the General tab, check, if Enforce password expiration is enabled or
disabled
Next, Go to Status tab and Check , if “Login is locked out” option is enabled or
disabled.
 The SQL error 18456 can also occur, if Windows or Mix Mode Authentication is
disabled by itself on the database instance.
 To check this, Right click on database instance and click on Properties.
 Now, under the Security tab check the Server authentication mode.
 You need to Restart the SQL Server Service either if you choose “Windows
Authentication mode” or “SQL Server and Windows Authentication”
 To restart the service right click on database instance and click on Restart.
Conclusion
SQL Server error 18456 may arise from several reasons. Mostly the error occurs, if
user forgets its SA password or if user had tried Windows login name with SQL
Authentication. The above mentioned steps help you to fix SQL Error 18456. But, if
you still facing this error, the SQL Password Recovery software is more preferable
to troubleshoot this “Login Failed” error.
More Resources

More Related Content

PPTX
Offline Storage
PPTX
Manage and consume the api
PPTX
SQL Error 5171- MDF is not Primary Database File
PPTX
Know How to Lock VBA Code in Microsoft Excel
PPTX
Know How to Recover SQL Server SA Password
PPTX
Best Way to Convert OST to PST in Outlook 2016
PPT
SQL Server 17204 FCB Open Failed Error
PPTX
Sqlite Error Code 11 – Causes and Fixes
Offline Storage
Manage and consume the api
SQL Error 5171- MDF is not Primary Database File
Know How to Lock VBA Code in Microsoft Excel
Know How to Recover SQL Server SA Password
Best Way to Convert OST to PST in Outlook 2016
SQL Server 17204 FCB Open Failed Error
Sqlite Error Code 11 – Causes and Fixes

Recently uploaded (20)

PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Machine learning based COVID-19 study performance prediction
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Encapsulation theory and applications.pdf
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Unlocking AI with Model Context Protocol (MCP)
PPT
Teaching material agriculture food technology
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
cuic standard and advanced reporting.pdf
PPTX
Machine Learning_overview_presentation.pptx
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Dropbox Q2 2025 Financial Results & Investor Presentation
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Machine learning based COVID-19 study performance prediction
NewMind AI Weekly Chronicles - August'25-Week II
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Encapsulation theory and applications.pdf
A comparative analysis of optical character recognition models for extracting...
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Encapsulation_ Review paper, used for researhc scholars
Unlocking AI with Model Context Protocol (MCP)
Teaching material agriculture food technology
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
cuic standard and advanced reporting.pdf
Machine Learning_overview_presentation.pptx
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
sap open course for s4hana steps from ECC to s4
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Ad
Ad

SQL Server Error 18456 - A Quick Resolution

  • 2. • SQL Server Error 18456 – An Overview • Event Properties Of Error 18456 • Causes of SQL Server Error 18456 • How to Resolve Error 18456 ? • Conclusion
  • 3. SQL Server Error 18456 – An Overview The SQL Error 18456 “Login Failed” occurs due to various reasons. One of the main reason is, The connection is failed to access to the Server after entering the correct Server name . The below error message displays when the SQL Error 18456 occurs.
  • 4. Event Properties Of Error 18456 The Login Failed Error 18456 not provide the much detail about occurrence of this error. The information is hide to prevent from unauthorized user access. Although, you can view more information regarding to this error by checking Event Viewer.
  • 5. Causes of SQL Server Error 18456  Mixed mode is enabled and you may trying to connect with Windows authentication mode.  The Login or Password is incorrect when you are using SQL Server Authentication.  May the SA password you are using has been expired.
  • 6. How to Resolve Error 18456 ?  For Windows 7, Use “Run as Admin” to open SQL Server and check if the problem is solved. (Use also for Windows Vista)  Check, may the Active Directory Windows account is not corresponding to SQL login
  • 7.  Use SQL SA password, if you are connecting through SQL Server authentication.  Check for SA Expiration by clicking on: Logins > user > properties
  • 8.  Under the General tab, check, if Enforce password expiration is enabled or disabled
  • 9. Next, Go to Status tab and Check , if “Login is locked out” option is enabled or disabled.
  • 10.  The SQL error 18456 can also occur, if Windows or Mix Mode Authentication is disabled by itself on the database instance.  To check this, Right click on database instance and click on Properties.
  • 11.  Now, under the Security tab check the Server authentication mode.
  • 12.  You need to Restart the SQL Server Service either if you choose “Windows Authentication mode” or “SQL Server and Windows Authentication”  To restart the service right click on database instance and click on Restart.
  • 13. Conclusion SQL Server error 18456 may arise from several reasons. Mostly the error occurs, if user forgets its SA password or if user had tried Windows login name with SQL Authentication. The above mentioned steps help you to fix SQL Error 18456. But, if you still facing this error, the SQL Password Recovery software is more preferable to troubleshoot this “Login Failed” error. More Resources