Table of Contents
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.
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.
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
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: 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.
Learn about SQL Server detecting logical consistency based issues and how to resolve them.
Learn about SQL Server error 1222 and how to resolve the lock request time out…
Discover the new features of Microsoft SQL Server 2022 and how they compare to previous…
SQL Server Error 1222 lock request time out period exceeded Lock request time out…
SQL Server Error : 427, Severity: 20. Could not load the definition for constraint ID…
SQL Server Error : 204, Severity: 20. Normalization error in node %ls.
This website uses cookies.