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

Applies To
SQL Server 2014 Developer - duplicate (do not use) SQL Server 2014 Enterprise - duplicate (do not use) SQL Server 2014 Standard - duplicate (do not use) SQL Server 2012 Service Pack 3 SQL Server 2012 Developer SQL Server 2012 Enterprise SQL Server 2012 Standard SQL Server 2016 Developer - duplicate (do not use) SQL Server 2016 Enterprise - duplicate (do not use) SQL Server 2016 Enterprise Core - duplicate (do not use) SQL Server 2016 Standard - duplicate (do not use)

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:

Note

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 

Cumulative Update 5 for SQL Server 2012 Service Pack 3 

Cumulative update 3 for SQL Server 2014 SP2

About cumulative updates for SQL Server

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:

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.