最佳解答者
Login failed when using SQL Server Authenication in SSIS package

問題
-
Hi all,
I have developed a SSIS package. When I used integrated security in the connection managers (I have two connections to different SQLServer, one is 2008 and one is 2000), the execution completed successfully.
When I changed one of the connections (which connect to a SQLServer 2000) to use SQL Server Authenication, it failed with the following error:
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 '_BI-DIR'.".
Error: 0xC020801C at Collect Coal Consumption from PHD, Extract coal consumption from PM [1]: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.
The AcquireConnection method call to the connection manager "gichk_pro_pm" failed with error code 0xC0202009. There may be error messages posted before this with more information on why the AcquireConnection method call failed.I am quite sure the user name and password is correct as I used the "Test Connection" button to verify it. I have also checked the "Save my password" option.
I have also verified the user login / password with ISQL. Sufficient rights have granted on the target database.
When I changed back to use integrated security, it worked seamlessly.
Did I still miss something ?
解答
-
Hi,
I use "An OLE DB error has occurred. Error code: 0x80040E4D" as a keywords for searching, and I found this article, maybe it can help you,
http://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/c1997bde-4fe9-45e4-b39c-dd70eb77e002/
I use "SQLServer 2008 SP1" as a keyword for searching also, but I found SQLServer 2008 SP1 CTP only. So maybe it do not release now.- 已標示為解答 Hong-Gang Chen - MSFTModerator 2009年3月23日 上午 10:05
所有回覆
-
I am using SQL2008 (running on WS2008) and SQL2000 (running on WS2000).
I found that there is a SQL2008 SP1 CTP.
http://www.microsoft.com/downloads/details.aspx?FamilyID=6f26fc45-f0ca-49cf-a6ee-840c7e8bb8af&displaylang=en
Maybe this SP1 will solve the problem but I haven't tried it yet as it is still at CTP stage. -
Hi,
I use "An OLE DB error has occurred. Error code: 0x80040E4D" as a keywords for searching, and I found this article, maybe it can help you,
http://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/c1997bde-4fe9-45e4-b39c-dd70eb77e002/
I use "SQLServer 2008 SP1" as a keyword for searching also, but I found SQLServer 2008 SP1 CTP only. So maybe it do not release now.- 已標示為解答 Hong-Gang Chen - MSFTModerator 2009年3月23日 上午 10:05
-
I had tried the solution referred in the link you provided ( SSIS --> Work Offline) but my package cannot run at all with the following error:
(105) failed validation and returned validation status "VS_NEEDSNEWMETADATA"
: : :
(Microsoft.DataTransformationServices.VsIntegration)
I finally stricted to use Integrated Security in the package. So for debugging, I use my current login account to test the package.
For deployment to the production server, I have created a Credential and a Proxy to run the package with the standard SQLServer login account. It works just fine for me. The Credential / Proxy features of SQLServer 2008 allows me to run jobs that use integrated security with standard security.