Skip to content

Commit

Permalink
Refresh MSSQLSERVER_18452 article (UUF 338165)
Browse files Browse the repository at this point in the history
  • Loading branch information
rwestMSFT committed Nov 8, 2024
1 parent e9f133e commit ddd97fb
Showing 1 changed file with 40 additions and 37 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
---
title: "MSSQLSERVER_18452"
description: "MSSQLSERVER_18452"
description: "MSSQLSERVER_18452: The user attempted to sign in with credentials that can't be validated."
author: MashaMSFT
ms.author: mathoma
ms.date: "01/31/2024"
ms.reviewer: randolphwest
ms.date: 11/08/2024
ms.service: sql
ms.subservice: supportability
ms.topic: "reference"
Expand All @@ -12,38 +13,40 @@ helpviewer_keywords:
- "18452 (Database Engine error)"
---
# MSSQLSERVER_18452
[!INCLUDE [SQL Server](../../includes/applies-to-version/sqlserver.md)]

## Details

| Attribute | Value |
| :-------- | :---- |
|Product Name|SQL Server|
|Event ID|18452|
|Event Source|MSSQLSERVER|
|Component|SQLEngine|
|Symbolic Name|LOGON_INVALID_CONNECT|
|Message Text|Login failed. The login is from an untrusted domain and cannot be used with Integrated authentication.%.\*ls|

## Explanation

The user attempted to log in with credentials that can't be validated. Possible causes are:

- The login may be a [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] login but the server only accepts Windows Authentication.

- You're trying to connect using [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] Authentication but the login used doesn't exist on [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)].

- The login may use Windows Authentication but the login is an unrecognized Windows principal. An unrecognized Windows principal means that the login can't be verified by Windows. This could be because the Windows login is from an untrusted domain.

- This issue might be related to consistent authentication where the trust level between domains might cause failures in account authentication or the visibility of Service Provider Name (SPN)s.

Similar problems can cause the less-specific error 18456.

## User Action
If you're trying to connect using [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] Authentication, verify that [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] is configured in Mixed Authentication mode.

If you're trying to connect using [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] Authentication, verify that the [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] login exists.

If you're trying to connect using Windows Authentication, verify that you're properly logged into the correct domain.

You can run the `SETSPN` and `RUNAS` commands to test the trust relationship independent of your application.

[!INCLUDE [SQL Server](../../includes/applies-to-version/sqlserver.md)]

## Details

| Attribute | Value |
| :--- | :--- |
| Product Name | SQL Server |
| Event ID | 18452 |
| Event Source | MSSQLSERVER |
| Component | SQLEngine |
| Symbolic Name | LOGON_INVALID_CONNECT |
| Message Text | Login failed. The login is from an untrusted domain and cannot be used with Integrated authentication.%.\*ls |

## Explanation

The user attempted to sign in with credentials that can't be validated. Possible causes are:

- The login might be a [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] login but the server only accepts Windows Authentication.

- You're trying to connect using [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] Authentication but the login used doesn't exist on [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)].

- The login might use Windows Authentication but the login is an unrecognized Windows principal. An unrecognized Windows principal means that the login can't be verified by Windows. This could be because the Windows login is from an untrusted domain.

- This issue might be related to consistent authentication where the trust level between domains might cause failures in account authentication or the visibility of service principal names (SPNs).

Similar problems can cause the less-specific error 18456.

## User action

If you're trying to connect using [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] Authentication, verify that [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] is configured in Mixed Authentication mode.

If you're trying to connect using [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] Authentication, verify that the [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] login exists.

If you're trying to connect using Windows Authentication, verify that you're properly logged into the correct domain.

You can run the `setspn` and `runas` commands to test the trust relationship independent of your application.

0 comments on commit ddd97fb

Please sign in to comment.