FIX: The Permissions column for the Audit Schema Object Access event does not populate in SQL Server 2005 (915763)



The information in this article applies to:

  • Microsoft SQL Server 2005 Developer Edition
  • Microsoft SQL Server 2005 Enterprise Edition
  • Microsoft SQL Server 2005 Enterprise Edition for Itanium Based Systems
  • Microsoft SQL Server 2005 Enterprise X64 Edition
  • Microsoft SQL Server 2005 Standard Edition
  • Microsoft SQL Server 2005 Standard X64 Edition

Bug #: 428411 (SQLBUDT)


Microsoft distributes Microsoft SQL Server 2005 fixes as one downloadable file. Because the fixes are cumulative, each new release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2005 fix release.

SYMPTOMS

In Microsoft SQL Server 2005, the Permissions column for the Audit Schema Object Access event does not populate when individual objects inside the stored procedure are checked for insert, update, and delete permissions. A SQL Server 2005 profiler trace records a value of 32 in the Permissions column. This value indicates that the procedure ran. For all subsequent insert, update, and delete statements in the procedure, the Permissions column records an Audit Schema Object Access event. However, the Permissions column is not populated. Instead, the Permissions column remains blank.

Note This problem does not occur in Microsoft SQL Server 2000. In SQL Server 2000, the Permissions column is populated with one of the appropriate values that are listed in the following table.
ValueStatement
1Select
2Update
8Insert
16Delete

RESOLUTION

Service pack information

To resolve this problem, obtain the latest service pack for Microsoft SQL Server 2005. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

913089 How to obtain the latest service pack for SQL Server 2005

Hotfix information

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next SQL Server 2005 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Prerequisites

There are no prerequisites for this hotfix.

Restart information

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

Registry information

You do not have to change the registry after you apply this hotfix.

File information

This hotfix contains only those files that are required to correct the issues that this article lists. This hotfix may not contain of all the files that you must have to fully update a product to the latest build.

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
File nameFile versionFile sizeDateTime
Replrec.dll2005.90.1529.0781,01625-Feb-200609:39
Sbmsmdlocal.dll9.0.1529.015,588,56825-Feb-200609:40
Sbmsmdredir.dll9.0.1529.03,927,25625-Feb-200609:39
Sqlaccess.dll2005.90.1529.0349,40025-Feb-200609:39

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. This problem was first corrected in SQL Server 2005 Service Pack 1.

MORE INFORMATION

For more information, 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

For more information about the Audit Schema Object Access event, visit the following Microsoft Developer Network (MSDN) Web site:

Modification Type:MinorLast Reviewed:9/22/2006
Keywords:kbfix kbBug kbQFE kbHotfixServer kbsql2005presp1fix kbsql2005engine kbPubTypeKC KB915763 kbAudDeveloper kbAudITPRO