Bonjour,
J'ai ce message d'erreur dans mon log SSIS:
Ce que je ne comprends pas, c'est que j'ai cette erreur sur une machine (chez le client bien sûr) et pas sur notre plateforme de dev (on a pourtant les mêmes version de SSIS, SQL Server et Win 2K8 ...Started: 09:39:25
Error: 2011-11-28 09:39:26.96
Code: 0xC00470D0
Source: Import Connection manager "Dest_Actes_CM"
Description: The data type of variable "User::Repertoire_Sauvegarde" is not supported in an expression.
End Error
Error: 2011-11-28 09:39:26.96
Code: 0xC00470EA
Source: Import Connection manager "Dest_Actes_CM"
Description: Reading the variable "User::Repertoire_Sauvegarde" failed with error code 0xC00470D0.
End Error
Error: 2011-11-28 09:39:26.97
Code: 0xC0017003
Source: Import
Description: The expression "@[User::Repertoire_Sauvegarde] + REPLACE(SUBSTRING((DT_STR, 30,1252)GETDATE(), 12,8), ":", "" )+"_"+@[User::Fichier_Actes_CM]" on property "ConnectionString" cannot be evaluated. Modify the expression to be valid.
End Error
La variable @[User::Repertoire_Sauvegarde] est construite à partir d'une expression qui utilise une autre variable User::Repertoire_Recuperation :
Le plus étrange, c'est que malgré cette erreur la variable Repertoire_Sauvegarde est bien calculé et le traitement dans lequel elle est utilisé s’exécute correctement (mon fichier est bien copié dans le répertoire de sauvegarde)
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24 <DTS:Variable> <DTS:Property DTS:Name="Expression"></DTS:Property> <DTS:Property DTS:Name="EvaluateAsExpression">0</DTS:Property> <DTS:Property DTS:Name="Namespace">User</DTS:Property> <DTS:Property DTS:Name="ReadOnly">0</DTS:Property> <DTS:Property DTS:Name="RaiseChangedEvent">0</DTS:Property> <DTS:Property DTS:Name="IncludeInDebugDump">2345</DTS:Property><DTS:VariableValue DTS:DataType="8">D:\Rapport_MS\Depot_CFT\</DTS:VariableValue> <DTS:Property DTS:Name="ObjectName">Repertoire_Recuperation</DTS:Property> <DTS:Property DTS:Name="DTSID">{00160608-B1DF-4A5A-9076-D669B21E39B9}</DTS:Property> <DTS:Property DTS:Name="Description"></DTS:Property> <DTS:Property DTS:Name="CreationName"></DTS:Property></DTS:Variable> <DTS:Variable> <DTS:Property DTS:Name="Expression">@[User::Repertoire_Recuperation]+"Save_Imports\\"+ REPLACE(SUBSTRING((DT_STR, 30,1252)GETDATE(), 1, 10), ":", "" ) +"\\"</DTS:Property> <DTS:Property DTS:Name="EvaluateAsExpression">-1</DTS:Property> <DTS:Property DTS:Name="Namespace">User</DTS:Property> <DTS:Property DTS:Name="ReadOnly">0</DTS:Property> <DTS:Property DTS:Name="RaiseChangedEvent">0</DTS:Property> <DTS:Property DTS:Name="IncludeInDebugDump">2345</DTS:Property> <DTS:Property DTS:Name="ObjectName">Repertoire_Sauvegarde</DTS:Property> <DTS:Property DTS:Name="DTSID">{F76DD20A-CC3B-47B8-823E-2CA2478E4B7B}</DTS:Property> <DTS:Property DTS:Name="Description"></DTS:Property> <DTS:Property DTS:Name="CreationName"></DTS:Property> </DTS:Variable>
Quelqu'un a t'il une idée ?
Merci d'avance.
Partager