FIX: "Access Denied" error occurs when you run an XML validation task in SSIS 2012 or SSIS 2014

Symptoms
Assume that you run an XML validation task in Microsoft SQL Server 2012 Integration Service (SSIS 2012) or SQL Server 2014 Integration Service (SSIS 2014). When the input source file is in read-only mode, SSIS throws an "Access Denied" error.
Cause
This issue occurs because the default access mode to source file is Read/Write in SSIS 2012. Therefore, when SSIS 2012 opens a read-only source file in the default file access mode, there will be an IOException that results in the "Access Denied" error.
Resolution

Cumulative Update information

The issue was first fixed in the following cumulative update of SQL Server.

Recommendation: Install the latest cumulative update 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. We recommend that you download and install 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.
Properties

Article ID: 3040804 - Last Review: 06/22/2015 15:56:00 - Revision: 4.0

Microsoft SQL Server 2012 Service Pack 2, Microsoft SQL Server 2012 Business Intelligence, Microsoft SQL Server 2014 Business Intelligence, Microsoft SQL Server 2014 Service Pack 1

  • kbqfe kbfix kbsurveynew kbexpertiseadvanced KB3040804
Feedback