SQL Server service crashes when you run a linked server query on a Windows Server 2012-based computer

Applies to: Windows Server 2012 StandardWindows Server 2012 StandardWindows Server 2012 Foundation


Consider the following scenario:
  • You install Microsoft SQL Server on a computer that is running Windows Server 2012.
  • You create a linked server for another database.
  • You clear the Allow inprocess option in the options dialog box for the linked server provider.
    Note By default, the option is not selected.
  • You run a linked server query.
In this scenario, the SQL Server service crashes, and no results are returned for the query. Additionally, you receive the following error message:
Msg 109, Level 20, State 0, Line 0

A transport-level error has occurred when receiving results from the server. (provider: Shared Memory Provider, error: 0 - The pipe has been ended.)


This issue occurs because a released callback object is passed unexpectedly to the server.


This hotfix is also available at Microsoft Update Catalog.

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that described in this article. Apply this hotfix only to systems that are experiencing the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix Download Available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft website: Note The "Hotfix Download Available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.


To apply this hotfix, you must be running Windows Server 2012.

Registry information

To apply this hotfix, you do not have to make any changes to the registry.

Restart requirement

You do not have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

More Information

For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates

Additional file information

Additional file information for Windows Server 2012

Additional files for all supported x64-based versions of Windows Server 2012
File nameAmd64_microsoft-windows-m..terface-remoting-ps_31bf3856ad364e35_6.2.9200.20741_none_45f183b366a89a74.manifest
File versionNot applicable
File size63,482
Date (UTC)11-Jun-2013
Time (UTC)06:44
PlatformNot applicable