Categories: SQL Server

SQL Server Error : 14607, Severity: 16. %s name is not valid

SQL Server Error : 14607 Details


SQL Server Error: 14607
Severity: 16
Event Logged or not: No
Description:
%s name is not valid
Severity 16 Description:
Indicates general errors that can be corrected by the user.

Cause of Error:

For SQL Server Emailing, we need to create an database mail account and then a database mail profile.

If we send a email with below on SQL Management Studio and executed the following script:

@recipients=’xyz@xyz.com’, @profile name = ‘Profilename’, EXEC msdb.dbo.sp send dbmail @subject =’test email,’ @body =’test email,’ @body format =’HTML’

We can have a job failed due to an error below for any other user trying to send a email with database mail profile above which is not made public.

The profile name is incorrect. 42000 [SQLSTATE] Error 14607.

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

Solution for Resolving the Error

The profile we created may not be made public and we have to change it security and make it Public.

So from SSMS (SQL management Studio), navigate to Database mail -> Configure Database mail, and select option-> Manage Profile Security.

Making it public profile allows guest and other account access too.

SQL Server Error Code and solution summary


SQL Server Error: 14607
Severity: 16
Event Logged or not: No
Description:
%s name is not valid

A Database mail profile needs to be made public for other users to be able to use it in Database mail -> Configure Database mail, and select option-> Manage Profile Security.

VRB

Recent Posts

sql server detected logical consistency based error

Learn about SQL Server detecting logical consistency based issues and how to resolve them.

5 months ago

sql server error 1222

Learn about SQL Server error 1222 and how to resolve the lock request time out…

5 months ago

Microsoft SQL Server 2022 New Features

Discover the new features of Microsoft SQL Server 2022 and how they compare to previous…

5 months ago

SQL Server Error 1222 lock request time out period exceeded

SQL Server Error 1222 lock request time out period exceeded   Lock request time out…

6 months ago

SQL Server Error : 427, Severity: 20. Could not load the definition for constr

SQL Server Error : 427, Severity: 20. Could not load the definition for constraint ID…

10 months ago

SQL Server Error : 204, Severity: 20. Normalization error in node %ls.

SQL Server Error : 204, Severity: 20. Normalization error in node %ls.

10 months ago

This website uses cookies.