FIX: Error Message "Permission Denied" When You Update A View

Article translations Article translations
Article ID: 262446 - View products that this article applies to.
This article was previously published under Q262446
This article has been archived. It is offered "as is" and will no longer be updated.
BUG #: 57173 (SQLBUG_70)
Expand all | Collapse all

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.

Properties

Article ID: 262446 - Last Review: October 20, 2013 - Revision: 2.1
APPLIES TO
  • Microsoft SQL Server 7.0 Standard Edition
Keywords: 
kbnosurvey kbarchive kbbug kbfix kbsqlserv700sp2fix KB262446

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com