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

Se aplica a: SQL Server 2014 DeveloperSQL Server 2014 DeveloperSQL Server 2014 Enterprise

Symptoms


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.

Resolution


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 

Status


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

References


Learn about the terminology Microsoft uses to describe software updates.