February 2006 - Posts - Andrew Calvett
Andrew Calvett
February 2006 - Posts
2005 - Alter failed for server XXX
13 February 2006 18:04
Thats exactly what i thought!! What the hell does that mean?
Well, for me this occured in the context of running the maintenance plan integrity check task. It had been running fine for weeks but suddenly boom every time it ran it would fail with "Alter failed for server XXX".
There was no obvious reason for this error so i had to dig out profiler to see what was going on. It turns out that one of the first statements executed by the plan is "sp_configure 'User Options',xxxx" followed by "RECONFIGURE". The reconfigure statement was then generating an error which caused my problem. But why was it generating an error? That was because a script had been run on the server that changed the "Allow Updates" value from 0 to 1. Changing the value back to 0 resolved the problem.
BOL states that changing the Allow Updates option has no effect since you can't update system tables in 2005 but it clearly does have an effect since the behaviour of reconfigure changes.
Theres a few points to be taken from this.
1) There actually is no
benefit
to changing "Allow Updates" so make sure you remove it from your scripts, i have.
2) Why was the "sp_configure 'User Options', xxxx" followed by "RECONFIGURE" being executed anyway? Its not relevant to integrity checks and why is it updating server wide settings? I noted the setting was simply set to what it already was, fortunately.
3) Bear this little gotcha in mind because who knows where you will first meet the problem and what message will you get?
Go
This Blog
Home
Contact
Links
Tags
2008
2008 R2
64 Bit
Analysis Services
Backup
Blocking
Blogs
Cancelled
CPU
Database Engine
Deadlock
Default Database
DMV
Documentation
FileSystemCache
Hanging
Just for fun
Locking
Maintenance Plans
MDX
Operation
Operations Guide
Parallelism
Performance
Processing
Profiling
Ramblings
Reports
Security
SQL
SQL 2000
SQL 2005
SQL 2008
SQL Agent
SSAS
SSAS 2005
SSAS 2008
SSAS 2008 R2
SSMS
Stability
Synchronisation
Synchronization
System Procedures
Tips
Tools
Trouble Shooting
W2K3
Windows 2003
Navigation
Home
Blogs
Photos
Downloads
Archives
February 2012 (1)
January 2012 (1)
September 2011 (2)
June 2011 (1)
May 2011 (2)
April 2011 (1)
March 2011 (1)
December 2010 (1)
November 2010 (2)
July 2010 (1)
April 2010 (1)
January 2010 (1)
November 2009 (1)
September 2009 (1)
August 2009 (1)
April 2009 (1)
January 2009 (1)
October 2008 (1)
August 2008 (1)
May 2008 (1)
April 2008 (1)
February 2008 (1)
January 2008 (1)
December 2007 (1)
October 2007 (1)
September 2007 (1)
July 2007 (3)
June 2007 (2)
June 2006 (1)
April 2006 (1)
March 2006 (2)
February 2006 (1)
January 2006 (3)
Syndication
RSS
Atom
Comments RSS