troubleshooting Question

MS SQL Server BULK INSERT can't access remote input file

Avatar of glentek
glentek asked on
Microsoft SQL Server
4 Comments2 Solutions1517 ViewsLast Modified:
I am running an MS SQL Server on my home office workstation.  I have a VPN connection to a remote network.  I am running a vbscript on the remote server that establishes a connection to my SQL Server and attempts to execute a "BULK INSERT" command.  The input file is on the remote server, but because the BULK INSERT is executed on my local SQL Server, I am getting a permissions error as the SQL Server attempts to access the file.  The SQL Server is running under the LocalHost user, which does not have access to the file.  However, there is no user on my local workstation that would be recognized by the remote computer on the remote network.  Any ideas or suggestions?
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 2 Answers and 4 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros