Cannot bulk load. The file "c:\data.txt" does not exist
Solution 1:
That's run on the server, so its looking for C:\data.txt
on the server's C:
drive.
Also ensure the logon your using has read permissions on C:.
Solution 2:
Is that file on the SQL Server's C:\ drive?? SQL BULK INSERT etc. always works only with local drive on the SQL Server machine. Your SQL Server cannot reach onto your own local drive.
You need to put the file onto the SQL Server's C:\ drive and try again.
Update: @bp_, ok, correct - the file can also be on a share that you can access from the SQL Server machine using an UNC path. But again: that share must be created first, and the user the SQL Server process is running under must have access permissions to that share. You cannot just simply grab a file from a local drive on your PC without setting up quite a bit of infrastructure overhead first