Microsoft KB Archive/316976

From BetaArchive Wiki
Knowledge Base


FIX: Tuning Wizard May Fail When You Specify a Workload File for Non-dbo Owned Objects

Article ID: 316976

Article Last Modified on 10/9/2003



APPLIES TO

  • Microsoft SQL Server 7.0 Standard Edition
  • Microsoft SQL Server 7.0 Service Pack 1
  • Microsoft SQL Server 7.0 Service Pack 2
  • Microsoft SQL Server 7.0 Service Pack 3



This article was previously published under Q316976


SYMPTOMS

During execution of the SQL Server Index Tuning Wizard, the following error message may occur or the wizard may shut down unexpectedly:

Error Analyzing Workload (62).

The problem usually occurs at the Index Tuning Wizard status window, during analysis of the workload and database tables.

CAUSE

This can occur if you specify a workload file (profiler trace or Transact-SQL script) in the Index Tuning Wizard, which references table objects in the user database that are not owned by the database owner (dbo).

RESOLUTION

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

301511 INF: How to Obtain the Latest SQL Server 7.0 Service Pack


WORKAROUND

To work around this problem you can either:

  • Run the Index Tuning Wizard against workloads that do not reference databases with non-dbo owned table objects.


-or-

  • Use the sp_changeobjectowner stored procedure to change the owner to dbo.


STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Microsoft SQL Server 7.0 Service Pack 4.

Keywords: kbbug kbfix KB316976