Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3457894
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T09:54:57+00:00 2026-05-18T09:54:57+00:00

I am making use of BULK INSERT within a stored procedure and I get

  • 0

I am making use of BULK INSERT within a stored procedure and I get this error:

Cannot bulk load because the file "D:vanAS_TEST_vanRunGroupervan_DB.csv" could not be opened. Operating system error code 32(error not found).

Notice the path has no slashes although it does when I use the BULK INSERT. In addition, I get a code 32 and although the error description was not found. When I looked it up in a few forums (nothing definitive) it seems that the error code relates to:

The process cannot access the file because it is being used by another process.

Can anyone confirm this?

Also, why is the file path missing slashes when the bulk insert command was passed a file path with slashes?

Thanks all for any help

Update

This is how I call the stored procedure:

exec data_Import ''D:\van\AS_TEST_van\Run\Grouper\van_DB.csv'', APCE_1011_Grouper_Out_FCE

This is how I run the bulk insert within the stored procedure:

exec('BULK INSERT dbo.' + @Table + ' FROM ''' + @PathFileName + ''' WITH (FIELDTERMINATOR ='','', FIRSTROW = 2, ROWTERMINATOR =''\n'')')

Please note, I have edited file paths.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T09:54:58+00:00Added an answer on May 18, 2026 at 9:54 am

    The reason I got this error code is that at an unfortunate split second of time another program accessed this file and had a lock on it!

    I hope this helps someone else in the future.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am making use of this script to get the first item of my
I am making use of Codeigniter and I currently have this URL format setup:
I am making use of Andrew Valums awesome AJAX file uploader. I am having
I am making use of seralize and unseralize to set and get session variables
I am making use of the JQuery fancy box - in this pop up
I am making use of sqlmetal tool to generate mapping file for my entities.
I am making use of this excellent library called Tank Auth . Hopefully this
Very brief background: We are making use of CLR stored procedures to apply access
I am making use of AJAX on my site and I would like to
I'm making use of an API on the internet that is marshalling objects to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.