Подтвердить что ты не робот

Задания SQL Server с пакетами SSIS - Не удалось расшифровать защищенный XML node "DTS: Пароль" с ошибкой 0x8009000B

У меня есть задание SQL-сервера, в котором выполняется пакет SSIS. Это задание имеет 9 шагов, и на каждом этапе он извлекает данные из другой базы данных. строки соединений определяются как параметры на каждом шаге.

im, получив следующую ошибку, когда я запустил задание.

Executed as user: USER\MYSERVER$. Microsoft (R) SQL Server Execute Package Utility  Version 10.50.1600.1 for 64-bit  Copyright (C) Microsoft Corporation 2010. All rights reserved.
Started:  5:50:55 PM  Error: 2013-06-21 17:50:55.44
Code: 0xC0016016
Source:
Description: Failed to decrypt protected XML node "DTS:Password" with error 0x8009000B "Key not valid for use in specified state.". You may not be authorized to access this information. This error occurs when there is a cryptographic error. Verify that the correct key is available.  End Error  Error: 2013-06-21 17:50:55.45
Code: 0xC0016016
Source:
Description: Failed to decrypt protected XML node "DTS:Password" with error 0x8009000B "Key not valid for use in specified state.". You may not be authorized to access this information. This error occurs when there is a cryptographic error. Verify that the correct key is available.  End Error  Error: 2013-06-21 17:50:55.45
Code: 0xC0016016
Source:
Description: Failed to decrypt protected XML node "DTS:Password" with error 0x8009000B "Key not valid for use in specified state.". You may not be authorized to access this information. This error occurs when there is a cryptographic error. Verify that the correct key is available.  End Error  Error: 2013-06-21 17:51:06.30
Code: 0xC020901C
Source: Data Flow Task Daily Attendance View 1 [34]
Description: There was an error with output column "ShiftCode" (54) on output "OLE DB Source Output" (45). The column status returned was: "Text was truncated or one or more characters had no match in the target code page.".  End Error  Error: 2013-06-21 17:51:06.30
Code: 0xC020902A
Source: Data Flow Task Daily Attendance View 1 [34]
Description: The "output column "ShiftCode" (54)" failed because truncation occurred, and the truncation row disposition on "output column "ShiftCode" (54)" specifies failure on truncation. A truncation error occurred on the specified object of the specified component.  End Error  Error: 2013-06-21 17:51:06.30
Code: 0xC0047038
Source: Data Flow Task SSIS.Pipeline
Description: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on component "Daily Attendance View 1" (34) returned error code 0xC020902A.  The component returned a failure code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing.  There may be error messages posted before this with more information about the failure.  End Error  DTExec: The package execution returned DTSER_FAILURE (1).  Started:  5:50:55 PM  Finished: 5:51:06 PM  Elapsed:  10.983 seconds.  The package execution failed.  The step failed.

может кто-нибудь рассказать мне, почему это происходит?

4b9b3361

Ответ 1

В дополнение к тому, что предлагает ответ Kiran, убедитесь, что это верно:

В SSIS есть опция для сохранения паролей (для доступа к DB или любому другому материалу), по умолчанию используется значение "EncryptSensitiveWithUserKey"... Вам нужно изменить это.

Окно пакета пакетов > ProtectionLevel - изменить это на EncryptSensitiveWithPassword PackagePassword - введите пароль- > somepassword

Ответ 2

Это потому, что создателем пакетов SSIS является кто-то другой, а другой человек выполняет пакеты.

Если предполагается, что человек создал пакеты SSIS, а B-пользователь пытается выполнить, чем приведенная выше ошибка.

Вы можете решить эту ошибку, изменив имя создателя из свойств пакета от A до B.

Спасибо, Киран Сагар

Ответ 3

Измените оба свойства Project и Package ProtectionLevel на " DontSaveSensitive"