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

ID: Q178040


The information in this article applies to:


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 this to be a problem in the Microsoft products listed at the beginning of this article.


REFERENCES


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

Q166659 PRB: Accessing SQL Database Fails on Second Attempt

Q170765 PRB: Unable to Insert Record into Table Using Form Wizard

Additional query words: kbdsi kbprb kbSweepNext


Keywords          : kbADO100 kbADO150 kbADO200 kbDatabase kbSQL 
Version           : WINDOWS:1.0,1.5,2.0; winnt:
Platform          : WINDOWS winnt 
Issue type        : kbprb 

Last Reviewed: March 16, 1999