Belirtiler
Aşağıdaki senaryoyu ele alalım:
- Microsoft SQL ServerSQL Server Integration Services (SSIS) 2012 veya SQL ServerSQL Server Integration Services (SSIS) 2014 projeniz var.
- SSIS paketlerinin ProtectionLevel özelliğini EncryptSensitiveWithPassword olarak ayarlarsınız.
- Proje için bir SQL Yönetim Nesnesi (SMO) bağlantı yöneticisi oluşturursunuz.
- Bağlantı yöneticisi için bir kullanıcı hesabı ve parola ayarlarsınız.
- SSIS projesini çalıştırıyorsunuz.
Bu senaryoda, aşağıdaki hata iletilerini alırsınız:
Not
Microsoft.SqlServer.Dts.Runtime.DtsException: Proje bildiriminde PassWord için 'Salt' özniteliği eksik.
at Microsoft.SqlServer.Dts.Runtime.XMLSerializationHelper.DecryptByPassword(XmlNode xmlNode, Dize parolası)
at Microsoft.SqlServer.Dts.Runtime.Project.DecryptXmlNode(XmlNode xmlNode, DTSProtectionLevel protectionLevel, String projectPassword, IDecryptionFailureHandler decryptionFailureHandler)
at Microsoft.SqlServer.Dts.Runtime.ConnectionManagerItem.LoadInternal(StreamStream stream, IDTSEvents events)
at Microsoft.SqlServer.Dts.Runtime.ConnectionManagerItem.Load(IDTSEvents events, StreamStream stream)
at Microsoft.SqlServer.Dts.Runtime.ConnectionManagerItem.Load()
Microsoft.SqlServer.Dts.Runtime.ConnectionManagerItem.get_ConnectionManager() konumunda
at Microsoft.SqlServer.Dts.Runtime.Project.EnumerateSharedConnectionProperties()
at Microsoft.SqlServer.Dts.Runtime.Project.SaveManifest(IProjectStorage depolaması)
at Microsoft.SqlServer.Dts.Runtime.Project.SaveTo(IProjectStorage depolama alanı)
at Microsoft.SqlServer.Dts.Runtime.Project.Save()
at Microsoft.DataTransformationServices.Project.DataTransformationsProjectBuilder.IncrementalBuildThroughObj(IOutputWindow outputWindow)
at Microsoft.DataTransformationServices.Project.DataTransformationsProjectBuilder.BuildIncremental(IOutputWindow outputWindow)
Not: Bu sorun yalnızca yönetilen kodda bağlantı yöneticileriyle çalışırken oluşur.
Çözüm
Sorun ilk olarak aşağıdaki toplu SQL Server güncelleştirmesinde düzeltilmiştir.
SQL Server 2014 için Toplu Güncelleştirme 1 /en-us/help/2931693
SQL Server 2012 SP1 için Toplu Güncelleştirme 8 /en-us/help/2917531
SQL Server toplu güncelleştirmeleri hakkında
SQL Server için her yeni toplu güncelleştirme, önceki toplu güncelleştirmeye dahil edilen tüm düzeltmeleri ve tüm güvenlik düzeltmelerini içerir. SQL Server için en son toplu güncelleştirmelere göz atın:
- SQL Server 2014 için en son toplu güncelleştirme
- SQL Server 2012 SP1 için en son toplu güncelleştirme
Durum
Microsoft bunun, "Şunlar için geçerlidir" bölümünde listelenen Microsoft ürünlerinde sorun olduğunu doğrulamıştır.