Quantcast
Channel: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 4871

SQL bulk insert error

$
0
0

We recently stood up a SQL 2016 server.  When we attempt to do bulk inserts we are getting the below error.

Cannot bulk load because the file ERRYYYYxxxxxxxx.txt could not be opened. Operating system error code 5 (Access is denied).

The bulk insert command is being run from SSMS connected with a domain account.  I've given the SQL Server service rights to the file location.  Several years ago I fought this battle with a SQL 2014 server and was able to get it working, but I can't remember what I ended up having to do.


Viewing all articles
Browse latest Browse all 4871

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>