PRB: ConnectionWrite(GetOverLappedResult) on Update/Insert SQL

Last reviewed: December 22, 1997
Article ID: Q178040
The information in this article applies to:
  • ActiveX Data Objects (ADO), versions 1.0, 1.5
  • Active Server Pages

SYMPTOMS

An intermittent error on table Updates/Inserts occurs when you try to access an Active Server Page (ASP) that performs database work against a Microsoft SQL Server database.

Two possible error messages may occur. Here are the two error messages:

  • Unable to insert record...error number -2147467259: MS ODBC SQL Server Driver dbnmpntw. ConnectionWrite (getoverlappedresults(). This may be caused by an attempt to update a non-primary table in a view.

    -or-

  • 80004005: ConnectionWrite(GetOverLappedResult)

CAUSE

This error can be caused by interruptions to the network that interfere with the security mechanisms of the default Named Pipes network protocol.

RESOLUTION

Use a network sniffer, if one is available, like NetMon to monitor the network traffic between Internet Information Server (IIS) and the SQL Server computer when this error occurs.

A workaround for this issue is to change the Internet Information Server (IIS) machine to use TCP/IP Sockets as the default network protocol to SQL Server. From the Internet Information Server computer, run the SQL Server Client Configuration Utility. Select the Net Library tab, and then select "TCP/IP Sockets" as your default Network protocol.

STATUS

Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

REFERENCES

For additional information, please see the following articles in the Microsoft Knowledge Base:

   ARTICLE-ID: Q166659
   TITLE     : PRB: Accessing SQL Database Fails on Second Attempt

   ARTICLE-ID: Q170765
   TITLE     : PRB: Unable to Insert Record into Table Using Form Wizard
Keywords          : adomisc
Technology        : kbinetdev
Version           : WINDOWS:1.0,1.5,97; WINNT:
Platform          : WINDOWS winnt
Issue type        : kbprb


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: December 22, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.