Help and Support

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

Article ID:178040
Last Review:March 2, 2005
Revision:2.1
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)

Back to the top

CAUSE

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

Back to the top

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.

Back to the top

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Back to the top

REFERENCES

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

166659 (http://support.microsoft.com/kb/166659/EN-US/) PRB: Accessing SQL Database Fails on Second Attempt

170765 (http://support.microsoft.com/kb/170765/EN-US/) PRB: Unable to Insert Record into Table Using Form Wizard

Back to the top


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

Back to the top

Keywords: 
kbdatabase kbprb KB178040

Back to the top

Article Translations

 

Related Support Centers

Other Support Options

  • Contact Microsoft
    Phone Numbers, Support Options and Pricing, Online Help, and more.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.