ITsVISTA
Information that makes life easier when it comes to installing, managing, and using Windows Vista.
Start About FAQ Blogroll Shop

ITsVISTA KB-Link: KB953589

An access violation may occur if you pass an INTEGER value to the ValuePtr parameter of the SQLSetConnectAttr function in Windows Vista or in Windows Server 2008

Consider the following scenario:

  • On a Windows Vista-based computer, or on a Windows Server 2008-based computer, you run an application that uses the Open Database Connectivity (ODBC) API.
  • The application uses the SQLSetConnectAttr function to set an attribute.
  • You pass an SQL_NTS constant as the StringLength parameter to the SQLSetConnectAttr function.

In this scenario, an access violation may occur if you pass an INTEGER value to the ValuePtr parameter of the SQLSetConnectAttr function.

Note: This issue does not occur in Microsoft Windows 2000 Server, in Windows XP, or in Windows Server 2003.

There is a download that resolves this issue. See Hotfixes for details.

For more information on this issue, including potential causes, workarounds, and resolutions, see: Microsoft KB Article KB953589.

Get notified of new posts for FREE via RSS or E-mail

Subscribe to ITsVISTA!

Related Posts