设为首页 收藏本站
查看: 1070|回复: 0

[经验分享] Framework 1.1 补丁包 NDP1.1sp1-KB867460-X86 更新之后操作db2数据库发生错误

[复制链接]

尚未签到

发表于 2016-11-18 03:16:25 | 显示全部楼层 |阅读模式
Friamework 1.1 补丁包 NDP1.1SP1-KB867460-X86更新之后,当再次去操作数据时,数据库返回错误代码:SQL0952N - Process Interrupted   ,查看连接是打开的可是一旦对数据进行查询,更新等操作便会返回以上的数据库错误信息。
   在网上google了好长一段时间发现如下的描述:
   
DB_E_CANCELLED Causes Access Violation in ADO



Article ID:241544
Last Review:April 6, 2004
Revision:1.0


This article was previously published under Q241544


On this Page

SYMPTOMS
CAUSE
RESOLUTION
STATUS
MORE INFORMATION



SYMPTOMS


An access violation occurs in ActiveX Data Objects (ADO) if connection.Execute or command.Execute returns DB_E_CANCELLED.

This problem occurs primarily under conditions where there is a transaction or command time out on a synchronous connection and the driver returns a SQLState of S1008 "Operation cancelled," which is normally reserved for asynchronous activities. Open Database Connectivity (ODBC) error S1008 is mapped by the ODBC provider to DB_E_CANCELLED.

In conjunction with the access violation, errors similar to the following occur in an ODBC trace file:

[S1008] [IBM][CLI Driver][DB2/6000] SQL0952N Processing was cancelled due to an interrupt. SQLSTATE=57014 (-952) The error is not readily reproducible, and has been experienced only with IBM's DB2 ODBC driver. The Microsoft ODBC drivers do not return S1008 on synchronous function calls, because synchronous calls cannot normally be cancelled.
CAUSE


Internal to ADO, certain context variables related to cached error information, including interface pointers, are not properly initialized. Later, because the interface variable is not NULL, Release() is called on the interface pointer but the address it points to is completely invalid.
RESOLUTION


A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, Microsoft recommends that you wait for the next Microsoft Data Access Components service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/default.aspx?scid=fh;[LN];CNTACTMS Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question. The English version of this hotfix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.    Date      Time    Version      Size    File name
----------------------------------------------------
3-Sep-1999        2.12.4503    330KB   Msado15.dll

MDAC 2.5 SP3
   Date      Time    Version      Size    File name
-----------------------------------------------------
23-Mar-2004 01:59 2.53.6302.0  487,424   Msado15.dll
22-Mar-2004 22:08 3.520.6302.0 212,992   Odbc32.dll
28-Oct-2003 21:44 3.70.11.46   24,848    Odbcbcp.dll
22-Mar-2004 17:58 3.520.6302.0 102,672   Odbccp32.dll
28-Oct-2003 21:44 3.70.11.46   524,560   Sqlsrv32.dll


STATUS


Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
MORE INFORMATION



Manual Installation

1.Close or stop any applications or services that are using Msado15.dll. This may include Internet Information Server (IIS), Microsoft Transaction Server (MTS), and any ADO or OLE database (DB) applications.
2.Download the hotfix version of Msado15.dll into a temporary directory.
3.Locate and rename the current version of Msado15.dll, which should be in the \Program Files\Common files\System\Ado folder.
4.Copy the hotfix version of Msado15.dll into the same location, and restart your services and applications.

Important Notice for Microsoft Windows 95/98 Users
If you are installing this fix onto a computer running Windows 95 or a computer with the original release of Windows 98, you may need to install the Windows 98 Migration DLL included with this fix. Please carefully read the Migrate_qfe.txt file that is included Migration.exe file included with the download.

  原文连接:http://support.microsoft.com/kb/q241544/#toc

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-301714-1-1.html 上篇帖子: DB2 中游标的使用以及 存储过程的写法 下篇帖子: 使用SqlHelp.cs连接DB2
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表