한 데이터베이스에서 다른 데이터베이스로 데이터를 이동시키는 dtsx 패키지를 만들었습니다. BIDS로 실행하면 정상적으로 실행됩니다. 명령 줄에서 실행하면 잘 돌아갑니다. 내가 만든 서비스 계정으로 명령 줄에서 실행할 때 원본 DB의 로컬 SQL Server 사용자 \ 암호가 잘못되었다는 오류가 발생합니다. 소스 DB의 로컬 사용자에 대한 사용자 이름과 암호가 프로젝트에 포함되어 있기 때문에 분명히 사실 일 수는 없습니다.BIDS 패키지는 BIDS에서 실행되지만 명령 줄에서는 실행되지 않습니다.
전체 서버 관리자 권한뿐만 아니라 도메인/서비스 계정 DB 관리자 권한을 부여하려고했습니다. 그건 아무 것도 안했어. 또한 로컬 계정에 LD_Transfer001에 더 많은 사용 권한을 부여하려고했지만 그 또한 아무 것도하지 않았습니다. 이 작업을 수행 할 수있는 유일한 방법은 명령 줄에서 내 도메인 관리자 계정으로 실행하는 것입니다. 패키지가있는 폴더가 올바른 사용 권한을 가지고 있는지 확인했습니다. 도메인/서비스로 실행
:
SQL 로그 :
Login failed for user 'LD_Transfer001'. Reason: Password did not match that for the login provided. [CLIENT: <local machine>]
명령 줄 오류 메시지 : 나 [명령 프롬프트를 엽니 일반적으로 없음으로 실행
Microsoft (R) SQL Server Execute Package Utility
Version 10.50.4000.0 for 64-bit
Copyright (C) Microsoft Corporation 2010. All rights reserved.
Started: 9:47:57 AM
Error: 2014-10-15 09:47:57.74
Code: 0xC0016016
Source:
Description: Failed to decrypt protected XML node "DTS:Password" with error 0
x8009000B "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 err
or. Verify that the correct key is available.
End Error
Error: 2014-10-15 09:47:57.76
Code: 0xC0016016
Source:
Description: Failed to decrypt protected XML node "DTS:Password" with error 0
x8009000B "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 err
or. Verify that the correct key is available.
End Error
Progress: 2014-10-15 09:47:57.88
Source: Data Flow Task
Validating: 0% complete
End Progress
Error: 2014-10-15 09:47:57.92
Code: 0xC0202009
Source: FranchiseeInfo Connection manager "LDHQSQL.001"
Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred.
Error code: 0x80040E4D.
An OLE DB record is available. Source: "Microsoft SQL Server Native Client 10.0
" Hresult: 0x80040E4D Description: "Login failed for user 'LD_Transfer001'.".
End Error
Error: 2014-10-15 09:47:57.92
Code: 0xC020801C
Source: Data Flow Task OLE DB Source [1]
Description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAG
ER. The AcquireConnection method call to the connection manager "LDHQSQL.001" f
ailed with error code 0xC0202009. There may be error messages posted before thi
s with more information on why the AcquireConnection method call failed.
End Error
Error: 2014-10-15 09:47:57.92
Code: 0xC0047017
Source: Data Flow Task SSIS.Pipeline
Description: component "OLE DB Source" (1) failed validation and returned err
or code 0xC020801C.
End Error
Progress: 2014-10-15 09:47:57.93
Source: Data Flow Task
Validating: 50% complete
End Progress
Error: 2014-10-15 09:47:57.93
Code: 0xC004700C
Source: Data Flow Task SSIS.Pipeline
Description: One or more component failed validation.
End Error
Error: 2014-10-15 09:47:57.93
Code: 0xC0024107
Source: Data Flow Task
Description: There were errors during task validation.
End Error
DTExec: The package execution returned DTSER_FAILURE (1).
Started: 9:47:57 AM
Finished: 9:47:57 AM
Elapsed: 0.266 seconds
명령 줄 오류 메시지
Login succeeded for user 'LD_Transfer001'. Connection made using SQL Server authentication. [CLIENT: <local machine>]
설정 파일을 사용하고 있습니까? 그렇습니다. – gvee
나는 그렇게 생각하지 않는다. 내가 가지고있는 것은 dtsx 패키지입니다. – d90
패키지 속성의 "ProtectionLevel"값은 무엇입니까? – gvee