You may get this error when trying to use the bulk insert operator in SQL server 2005:
Cannot bulk load because the file "\\maykov100\public\blogcatalog.txt" could not be opened. Operating system error code 5(Access is denied.).
As it turns out, SQL server tries to use your credential to access the file to bulk import (impersonation). In a situation, where you access SQL server remotely (ie from a SQL Management Studio running on your machine), your credentials can't be retranslated. Possible ways to solve this problem:
- Use BCP from your local machine
- Run the SQL managements studio directly on a SQL machine
- Modify your company's active directory to allow impresonalizati0n

