SQL Server Development Bookmark and Share   
 index > SQL Server Tools General > Rebuild index failed
 

Rebuild index failed

I scheduled a maint plan to rebuild index. All table's indexes are successfully built except for one table. The error message I got:

Failed:(-1073548784) Executing the query "ALTER INDEX [Index_name] ON [dbo].[table] REBUILD WITH ( PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, ONLINE = ON )
" failed with the following error: "Online index operations can only be performed in Enterprise edition of SQL Server.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.

Can someone tell me what the problem is and how to fix it? Thanks.

renching  Monday, June 12, 2006 5:03 PM
I am assuming you are using the Enterprise Edition of SQL 2005?
Derek Comingore  Tuesday, June 13, 2006 8:56 PM

We are using Enterprise Edition. All other tables can be reindexed. This is the only table has problem. And this is not a big table. The indexed column is nvarchar(50).

Any ideas?

renching  Wednesday, June 14, 2006 2:25 PM
Your post was over a year ago but I'm now experiencing the same problem. It's working on over 300 tables but not this one in particular.

Executing the query "ALTER INDEX [GEM_DBKEY_IDX] ON [dbo].[JOBS] REORGANIZE WITH ( LOB_COMPACTION = ON )
" failed with the following error: "The index "GEM_DBKEY_IDX" (partition 1)
on table "JOBS" cannot be reorganized because page level locking is disabled.".
Possible failure reasons: Problems with the query, "ResultSet" property not set correctly,
parameters not set correctly, or connection not established correctly.

error -1073548784

Can you share what you did to get past it?

  • Proposed As Answer byJuan F. Coy Monday, January 05, 2009 2:24 PM
  •  
Gabby_Girl_Lynne  Wednesday, October 10, 2007 1:43 PM

I also had this problem recently. The answer is fairly simple:

alter index IX_Foo on tbl_bar

set (ALLOW_PAGE_LOCKS =on)

For some reason when the guy who sits next to me creates an index it defaults to page locks off - not sure why
widdowsj  Monday, October 15, 2007 12:39 AM
renching wrote:

I scheduled a maint plan to rebuild index. All table's indexes are successfully built except for one table. The error message I got:

FailedSad-1073548784) Executing the query "ALTER INDEX [Index_name] ON [dbo].[table] REBUILD WITH ( PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, ONLINE = ON )
" failed with the following error: "Online index operations can only be performed in Enterprise edition of SQL Server.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.

Can someone tell me what the problem is and how to fix it? Thanks.

This is an old problem, but I just experieced it now. I noticed that if you are running the Standard edition of SQL 2005 (meaning not Enterprise edition) you can't rebuild indexes online.

So setting this option ONLINE = OFF may solve your problems.

Anononefourreal  Tuesday, September 09, 2008 12:13 PM
I realize this is an older post, but this exact error was occurring on one of the SQL Servers (2005) I support (unofficially). What I discovered was that an index was disabled and thus ineligible for any reindexing operation. The solution was simple, rebuild the index to re-enable it and the error no longer occurs. Hope this helps someone. Cheers!

ERROR:Failed:(-1073548784) Executing the query "ALTER INDEX [IX_TRANSACTIONS_LOG_1] ON [dbo].[TRANSACTIONS_LOG] REORGANIZE WITH ( LOB_COMPACTION = ON )
" failed with the following error: "Cannot perform the specified operation on disabled index 'IX_TRANSACTIONS_LOG_1' on table 'dbo.TRANSACTIONS_LOG'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.


SUGGESTED SOLUTION:Rebuilding the disabled index.
  • Proposed As Answer byJuan F. Coy Monday, January 05, 2009 2:36 PM
  •  
Juan F. Coy  Monday, January 05, 2009 2:35 PM

You can use google to search for other answers

Custom Search

More Threads

• Query Analyser Question
• Query Designer in SQL 2005 Mgmt Studio a let-down?
• URGENT - Run out of HD space whilst rebuilding an index
• Feb 2008 CTP : Linked Server Table Scripting Issue
• Determine the objects a login request locks for.
• how to have Query option available for Workload in Tuning Advisor (sql2005)?
• CTP5 Management Studio SQL Error Logs BUG
• How to build a Management Studio plugin?
• Server Management Studio Error: The file exists. The current compatibility level is 90.
• Keep prior select results in the Results pane