0
環境:SQL Server 2008 R2のSSISは、/、SSRS有効な変数
私は、SQL Server 2008 R2上で実行されているスケジュールされたジョブでこのエラーを取得しておいてください。
Error: Code: 0xC02020EE Source: Data Flow Task - Fix Missing this and that Row Count - This Not Fixed [148] Description: The variable "MyNameSpace::MyVariableName" specified by VariableName property is not a valid variable. Need a valid variable name to write to. End Error
ここで間違っている可能性はありません。変数は、このようdtsxで宣言されている:
<DTS:Variable>
<DTS:Property DTS:Name="Expression"/>
<DTS:Property DTS:Name="EvaluateAsExpression">0</DTS:Property>
<DTS:Property DTS:Name="NameSpace">MyNameSpace</DTS:Property>
<DTS:Property DTS:Name="ReadOnly">0</DTS:Property>
<DTS:Property DTS:Name="RaiseChangedEvent">-1</DTS:Property>
<DTS:Property DTS:Name="IncludeInDebugDump">6789</DTS:Property>
<DTS:VariableValue DTS:DataType="3">0</DTS:VariableValue>
<DTS:Property DTS:Name="ObjectName">MyVariableName</DTS:Property>
<DTS:Property DTS:Name="DTSID">{F6C30C52-3BDA-45D6-862B-10405215FABC}</DTS:Property>
<DTS:Property DTS:Name="Description"/>
<DTS:Property DTS:Name="CreationName"/>
</DTS:Variable>
そして、それはこのように使用されている:
<component id="148" name="Row Count - IDs Not Fixed" componentClassID="{150E6007-7C6A-4CC3-8FF3-FC73783A972E}" description="Counts the rows in a dataset." localeId="-1" usesDispositions="false" validateExternalMetadata="True" version="0" pipelineVersion="0" contactInfo="Row Count;Microsoft Corporation; Microsoft SqlServer v10; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;0">
<properties>
<property id="149" name="VariableName" dataType="System.String" state="default" isArray="false" description="Specifies the variable to hold the row count." typeConverter="" UITypeEditor="" containsID="false" expressionType="None">MyNameSpace::MyVariableName</property>
</properties>
<inputs>
<input id="150" name="Row Count Input 1" description="" hasSideEffects="true" dangling="false" errorOrTruncationOperation="" errorRowDisposition="NotUsed" truncationRowDisposition="NotUsed">
<externalMetadataColumns isUsed="False"/>
</input>
</inputs>
<outputs>
<output id="151" name="Row Count Output 1" description="" exclusionGroup="0" synchronousInputId="150" deleteOutputOnPathDetached="false" hasSideEffects="false" dangling="false" isErrorOut="false" isSorted="false" errorOrTruncationOperation="" errorRowDisposition="NotUsed" truncationRowDisposition="NotUsed">
<externalMetadataColumns isUsed="False"/>
</output>
</outputs>
</component>
誰かが私はこのエラーを回避するために修正する必要があるものを理解するのに役立つことはできますか?このエラーを検出することはこれまでのところ役立たなかった。