Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Validation erro: Component XML Source is missing required property "AccessMode"

$
0
0

I am very new to SSIS 2008 R2.  I get this error when I try to run this:

Error	1	Validation error. Data Flow Task XML Source [1]: The value for custom property "AccessMode" on component "XML Source" (1) is incorrect.  	XML Parser.dtsx	

I looked at the code for this DTSX file and I found this line:

<component id="1" name="XML Source" componentClassID="{2E42D45B-F83C-400F-8D77-61DDE6A7DF29}" description="Extracts data from an XML data file." localeId="-1" usesDispositions="true" validateExternalMetadata="False" version="1" pipelineVersion="0" contactInfo="Extracts data from an XML data file.;Microsoft Corporation;Microsoft SqlServer v10; © 2007 Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;1">

I tried entering an AccessMode element, but this wasn't recognized.  What is the syntax for this and how can I resolve this error?

I also saw these lines of code further down in my DTSX:

<property id="5" name="AccessMode" dataType="System.Int32" state="default" isArray="false" description="Defines how the XML source adapter gets XML data." typeConverter="" UITypeEditor="" containsID="false" expressionType="None">0</property>
<property id="5630" name="AccessMode" dataType="System.Int32" state="default" isArray="false" description="Specifies the mode used to access the database." typeConverter="AccessMode" UITypeEditor="" containsID="false" expressionType="None">3</property>


Ryan D


Viewing all articles
Browse latest Browse all 24688

Trending Articles