Home » SQL Server Error : 10024, Severity: 16. The provider indicates that the user did

SQL Server Error : 10024, Severity: 16. The provider indicates that the user did

sql server DBA 999

SQL Server Error : 10024 Details


SQL Server Error: 10024
Severity: 16
Event Logged or not: No
Description:
The provider indicates that the user did not have the permission to perform the operation.
Severity 16 Description:
Indicates general errors that can be corrected by the user.

Reading sql server error log location from SQL Query

Identifying SQL Server Error Log File used by SQL Server Database Engine can be done by reading SQL Server Error Logs. DBA can execute the XP_READERRORLOG extended stored procedure to read the SQL Server Error Log and search for its location used by the instance of SQL Server.

USE master
Go
xp_readerrorlog 0, 1, N'Logging SQL Server messages in file', NULL, NULL, N'asc'
Go

For other ways to read and find error log location please our article https://sqlserver-dba.co.uk/error-log/sql-server-identify-location-of-the-sql-server-error-log-file.html

Solution for Resolving the Error

Solution for sql server error 10024 , I found that the linked Server was missing the domain controller name. We modified the query according to below syntax

“LDAP://DomainControllerName.com/OU=OrganizationalUnit,DC=DOMAIN,DC=NAME”

As soon as we kept the domain controller name, it worked.

 

SQL Server Error Code and solution summary


SQL Server Error: 10024
Severity: 16
Event Logged or not: No
Description:
The provider indicates that the user did not have the permission to perform the operation.

Leave a Reply

Your email address will not be published. Required fields are marked *