Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Administration - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 6525

Failed to initialize sqlcmd library with error number -2147467259

$
0
0
Hi all,I have the following problem:I have a three node cluster with three sql instances. All are SQL Server 2014 SP1 Enterprise Edition.Several jobs run everyday emailing data without any problem.But suddenly when I try to create a new job, and run it, the following error message pops up:Failed to initialize sqlcmd library with error number -2147467259My account and the SQL Server agent account are sysadmin.[u]This is not a security problem.[/u]This is my query:EXEC msdb.dbo.sp_send_dbmail@profile_name = 'Rapportage',@recipients = 'dba@unit4.com',@query = 'select * from unit4_beheer.[dbo].[ClusterActiveNode]',@subject=' Active node Salaris1',@attach_query_result_as_file = 1When I try to run this from a query window, the same problem occurs.When I remove the @query parameter the email is sent.I have been searching on the internet but no one seems to know what the problem is.Any ideas would be greatly appreciated :)

Viewing all articles
Browse latest Browse all 6525

Trending Articles