Microsoft KB Archive/178040

= PRB: ConnectionWrite(GetOverLappedResult) on Update/Insert - SQL =

Article ID: 178040

Article Last Modified on 3/2/2005

-

APPLIES TO


 * Microsoft ActiveX Data Objects 1.0
 * Microsoft ActiveX Data Objects 1.5
 * Microsoft ActiveX Data Objects 2.0
 * Microsoft ActiveX Data Objects 2.7
 * Microsoft Active Server Pages 4.0
 * Microsoft Data Access Components 2.5
 * Microsoft Data Access Components 2.7

-



This article was previously published under Q178040



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 has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

