SSIS:“错误:expression式的结果”@ …不能写入属性“
我一直在尝试过去10个小时来解决以下问题:
我有一个ForEach循环容器,枚举我的控制stream中的Excel文件名。 在ForEach循环容器中,我有一个将数据导入到Sql-Server的Excel Source。 这连接到派生列转换使用User :: FileName作为expression式连接到一个OLE DB命令映射到User-FileName到Report_Date(Excel文件名称包含报表date)列在Sql-Server中相关的行。
以下是我的控制stream的片段:
我不断收到以下exception:
Error: The result of the expression "@[User::FileName]" on property "\Package\Foreach Loop Container 1\Data Flow Task.Properties[[Derived Column].[Derived Column Output].[Derived Column 2].[FriendlyExpression]]" cannot be written to the property. The expression was evaluated, but cannot be set on the property.
我试过了我所知道的一切,无法摆脱它。 用尽选项。
我错过了在这个过程中的一个步骤?