简体   繁体   English

SSIS 包创建 Hresult:0x80004005 说明:“登录超时已过期”错误

[英]SSIS package creating Hresult: 0x80004005 Description: “Login timeout expired” error

I have an SSIS package that is being executed by an SQL Job which runs twice a day.我有一个由每天运行两次的 SQL 作业执行的 SSIS 包。 I recently updated the SSIS package by removing a where clause of a Select statement in it.我最近通过删除其中的 Select 语句的 where 子句更新了 SSIS 包。 Now the results have around 1800 rows compared tot he 650 of before.现在的结果大约有 1800 行,而之前是 650 行。 When I execute the new package on my local machine everything runs fine.当我在本地机器上执行新包时,一切正常。 But when I put it on the Prod server, it does not run and gives me Hresult: 0x80004005 Description: "Login timeout expired" error.但是当我把它放在 Prod 服务器上时,它没有运行并给我 Hresult: 0x80004005 描述:“登录超时已过期”错误。

This error is usually thrown when remote access is not enabled but it is.当远程访问未启用但启用时通常会引发此错误。 The Job is running under my account, so the rights should not be a problem.作业在我的帐户下运行,因此权限应该不成问题。 Also, the package was running without problems before and I only changed a where clause that makes the Table larger by a thousand rows, so I should not have a login timeout error for that.此外,该包之前运行没有问题,我只更改了一个 where 子句,使表大了一千行,所以我不应该有登录超时错误。

I know it is not the remaining space on the server because if I change the config file of the SSIS package and direct it the the production database, everything works fine.我知道这不是服务器上的剩余空间,因为如果我更改 SSIS 包的配置文件并将其定向到生产数据库,一切正常。

Again, that problem is bugging me because when I put the old package with the old where clause, everything works fine.同样,这个问题困扰着我,因为当我将旧包与旧 where 子句放在一起时,一切正常。

Anyone has any idea what might be causing the problem?任何人都知道可能导致问题的原因是什么?

Here is the Log entry:这是日志条目:

Executed as user: Services. ...sion 9.00.3042.00 for 32-bit Copyright (C) Microsoft Corp 1984-2005. All rights reserved. Started: 1:49:21 PM Error: 2011-08-04 13:50:12.28 Code: 0xC0202009 Source: Brd Load Connection manager "DataBase" Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80004005 Description: "Login timeout expired". An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80004005 Description: "An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.". An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80004005 Description: "TCP Provider: A connection att... Process Exit Code 1. The step failed.

I finally found the problem.我终于找到了问题所在。 The error was not the good one.错误不是好的。

Apparently, Ole DB source have a bug that might make it crash and throw that error.显然,Ole DB 源有一个错误,可能会使其崩溃并抛出该错误。 I replaced the OLE DB destination with a OLE DB Command with the insert statement in it and it fixed it.我用 OLE DB 命令替换了 OLE DB 目标,其中包含插入语句并修复了它。

The link the got me there: http://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/fab0e3bf-4adf-4f17-b9f6-7b7f9db6523c/链接让我在那里: http : //social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/fab0e3bf-4adf-4f17-b9f6-7b7f9db6523c/

Strange Bug, Hope it will help other people.奇怪的错误,希望它会帮助其他人。

The answer here is not clear, so I wanted to add more detail.这里的答案不清楚,所以我想添加更多细节。

Using the link provided above, I performed the following step.使用上面提供的链接,我执行了以下步骤。

In my XML config manager I changed the "Provider" to SQLOLEDB.1 rather than SQLNCLI.1.在我的 XML 配置管理器中,我将“Provider”更改为 SQLOLEDB.1 而不是 SQLNCLI.1。 This got me past this error.这让我克服了这个错误。

This information is available at the link the OP posted in the Answer.此信息可在 OP 在答案中发布的链接中找到。

The link the got me there: http://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/fab0e3bf-4adf-4f17-b9f6-7b7f9db6523c/链接让我在那里: http : //social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/fab0e3bf-4adf-4f17-b9f6-7b7f9db6523c/

I had a similar error..This might be due to two reasons.我有一个类似的错误..这可能是由于两个原因。 a) If you have used variables, re-evaluate the expressions in which variables are used and make sure the expression is evaluated without errors. a) 如果您使用了变量,请重新计算使用了变量的表达式,并确保该表达式的计算没有错误。 b) If you are deleting the excel sheet and creating excel sheet on the fly in your package. b) 如果您要删除 Excel 工作表并在您的包中动态创建 Excel 工作表。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 SSIS 包停止使用错误代码:0x80004005 - SSIS Package stopped working with Error code: 0x80004005 “ Microsoft Access数据库引擎”结果:0X80004005说明:“外部表不是预期的格式。” - “Microsoft Access database Engine” Hresult: 0X80004005 Description: “External Table is not in expected Format.” SSIS 错误代码 DTS_E_OLEDBERROR 0x80004005 - SSIS Error Code DTS_E_OLEDBERROR 0x80004005 SQL Server批量插入转换错误MSG 4864 HRESULT 0x80004005 - SQL Server Bulk Insert conversion error MSG 4864 HRESULT 0x80004005 SSIS OLE DB 记录可用。 来源:“Microsoft SQL Server Native Client 11.0” Hresult:0x80004005,无法确定元数据 - SSIS An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005, The metadata could not be determined SQL Server 代理 - SSIS 包 - 错误 0x80131904 - 超时已过期 - SQL Server Agent - SSIS Package - Error 0x80131904 - Timeout expired SSIS Excel源错误:[Excel源[1]]错误:SSIS错误代码DTS_E_OLEDBERROR。 发生OLE DB错误。 错误代码:0x80004005 - SSIS Excel Source error: [Excel Source [1]] Error: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005 当我尝试使用WIX安装数据库时出现错误0x80004005 - Error 0x80004005 when I tried to install a database with WIX SSIS作业失败-登录超时已过期,但程序包在本地运行良好 - SSIS job failure- Login timeout expired but package runs fine locally SSIS 错误:0xC0202009 在数据流任务,OLE DB 源 [1759]:SSIS 错误代码 DTS_E_OLEDBERROR。 发生 OLE DB 错误。 错误代码:0x80004005 - SSIS Error: 0xC0202009 at Data Flow Task, OLE DB Source [1759]: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM