Applies ToSQL Server 2014 Developer - duplicate (do not use) SQL Server 2014 Enterprise - duplicate (do not use) SQL Server 2014 Standard - duplicate (do not use) SQL Server 2012 Service Pack 3 SQL Server 2012 Developer SQL Server 2012 Enterprise SQL Server 2012 Standard SQL Server 2012 Express

Symptoms

When you use the SQLSetPos function call to run a common table expression (CTE) query to retrieve spatial data, the function call can't set the cursor position, and you receive an "Invalid cursor position" error message. This problem occurs in Microsoft SQL Server 2014 and Microsoft SQL Server 2012.

Resolution

The issue was first fixed in the following cumulative update of SQL Server:

Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. We recommend that you download and install the latest cumulative updates for SQL Server:

Note You can find information about the latest SQL Server builds from Where to find information about the latest SQL Server builds.

Hotfix information

Download CenterA hotfix update to resolve this problem is available for manual download and installation from the Microsoft Download Center.

Download Download update 3100451

Microsoft scanned this file for viruses by using the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to it.

PrerequisitesThere are no prerequisites for installing this update.

Registry informationTo install this hotfix, you don't have to make any changes to the registry.

Restart requirementYou may have to restart the computer after you install this hotfix.

Hotfix replacement informationThis hotfix doesn't replace a previously released hotfix.

Status

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

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.