Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2003

    Unanswered: BULK INSERT from another server

    Hi there!

    I'm trying to do a BULK INSERT on my SQL Server with a file that resides on my webserver (two different locations). I am trying to run this BULK INSERT from a stored procedure, which is called from an ASP page. This does work when I'm running everything on my local machine (both SQL Server and local IIS).

    When I try this, I get an error along the lines of <file> could not be opened.

    When I try to send it the url, I get the following: <file> could not be opened. Operating system error code 123(The filename, directory name, or volume label syntax is incorrect.).

    I still want to keep the files wherever they are, as I don't think I can write these files from my website.

    Thank you for all and any help.

  2. #2
    Join Date
    Jun 2003
    Provided Answers: 1
    The only thing I can tell you is that the bulk copy operation looks at the location of the file from the perspective of the database server, not whatever remote machine you happen to be executing from. Other than that, this sounds more like a network issue.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts