Microsoft KB Archive/262446

= FIX: Error Message &quot;Permission Denied&quot; When You Update A View =

Article ID: 262446

Article Last Modified on 3/14/2006

-

APPLIES TO


 * Microsoft SQL Server 7.0 Standard Edition

-



This article was previously published under Q262446



BUG #: 57173 (SQLBUG_70)



SYMPTOMS
When you perform an update on a view, even if the user has sufficient UPDATE permissions on the view, the following error message appears:

Error 230: UPDATE permission denied on column 'columnname' of object 'objectname, database 'databasename', owner 'dbo'

This problem never occurs on the first connection that tries to perform the update. However, the problem always occurs on the second connection if the first connection uses the ODBC cursor library 'use driver' and the second connection uses 'use odbc' or vice versa.



WORKAROUND
To work around this problem, specify the same cursor library for all connections that will update a view.



STATUS
Microsoft has confirmed this to be a problem in SQL Server 7.0. This problem has been corrected in U.S. Service Pack 2 for Microsoft SQL Server 7.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

254561 INF: How to Obtain Service Pack 2 for Microsoft SQL Server 7.0 and Microsoft Data Engine (MSDE) 1.0

For more information, contact your primary support provider.



MORE INFORMATION
After this problem occurs in any tool, every new connection that runs the UPDATE also encounters the problem. Only a restart of Microsoft SQL Server solves the problem. You still can run the UPDATE successfully from the first connection that ran the UPDATE successfully, although all new connections encounter the 230 error message.

Keywords: kbbug kbfix kbsqlserv700sp2fix KB262446

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.