KB3115741 - FIX:"The process cannot access the file" error when an XML task fails in SQL Server

Work anywhere from any device with Microsoft 365

Upgrade to Microsoft 365 to work anywhere with the latest features and updates.

Upgrade now


Assume that you use Microsoft SQL Server Integration Services (SSIS). When you execute an SSIS package that contains an XML task, you may receive an error message that resembles the following:

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


This issue is fixed in the following cumulative updates for SQL Server:

    Cumulative Update 2 for SQL Server 2016 SP1

    Cumulative Update 4 for SQL Server 2016 

    Cumulative Update 9 for SQL Server 2014 Service Pack 1 

    Cumulative Update 13 for SQL Server 2014 

Cumulative Update 5 for SQL Server 2012 Service Pack 3 

Cumulative update 3 for SQL Server 2014 SP2

Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. Check out the latest cumulative updates for SQL Server:


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.


Learn about the terminology Microsoft uses to describe software updates.

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.