Attachment file \\SERVER\file.csv is invalid. [SQLSTATE 42000] (Error 22051). The step failed

后端 未结 1 1195
轮回少年
轮回少年 2021-01-24 21:49

I\'ve got 4 SQL servers: SQL Server 2005, SQL Server 2008, SQL Server 2008 R2 and SQL Server 2012.

In SQL Server 2008 R2; I have created a SQL job that sends me email ev

1条回答
  •  孤城傲影
    2021-01-24 22:31

    Ok, so the problem was that the SQL service account didn't have access to the shared folder. And that's why I got the error "Attachment file \\ServerName\ShareName\Path\SQL2008R2_DB.csv is invalid."

    Now it works just fine ;)

    0 讨论(0)
提交回复
热议问题