PRB: ConnectionWrite(GetOverLappedResult) on Update/Insert - SQL (178040)
The information in this article applies to:
- ActiveX Data Objects (ADO) 1.0
- ActiveX Data Objects (ADO) 1.5
- ActiveX Data Objects (ADO) 2.0
- ActiveX Data Objects (ADO) 2.7
- Microsoft Active Server Pages
- 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.
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.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. REFERENCES
For additional information, please see the following articles in the
Microsoft Knowledge Base: 166659 PRB: Accessing SQL Database Fails on Second Attempt
170765 PRB: Unable to Insert Record into Table Using Form Wizard
Modification Type: | Minor | Last Reviewed: | 3/2/2005 |
---|
Keywords: | kbDatabase kbprb KB178040 kbAudDeveloper |
---|
|