FIX: SQLNumResultCols Results in Attentions Being Generated on SQL Server (219957)
The information in this article applies to:
- Microsoft ODBC Driver for SQL Server 3.6
- Microsoft ODBC Driver for SQL Server 3.7
This article was previously published under Q219957 sqlsrv32.dll versions 3.70.0623, 3.60.0319 SYMPTOMS When Conditions are Async enabled and TCP/IP Sockets and SQLNumResultCols are issued after a SQLPrepare but prior to a SQLExecute, the driver issues SET FMTONLY ON to get the column information,
which then ends up breaking the connection and results in the generation of the
Attention. RESOLUTIONA 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, we recommend that you wait for the next sqlsrv32.dll 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 telephone numbers and information about support costs, visit the following Microsoft Web site: 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. Workaround As a work around you can use either of the following: - Disable ASYNC.
-or- - Move the SQLNumResultCols call after the SQLExecute.
STATUS This bug was corrected in SQLSrv32.dll version 3.60.0319
and 3.70.0623.
Modification Type: | Minor | Last Reviewed: | 10/5/2005 |
---|
Keywords: | kbbug kbfix kbMDACNoSweep kbODBC360fix KB219957 kbAudDeveloper |
---|
|