SQL SERVER – FIX : Error: Msg 15123, Level 16 – The configuration option ‘advance option’ does not exist, or it may be an advanced option.

I received another email describing error received due to my executing script from my previous article .

Error :
Msg 15123, Level 16, State 1, Procedure sp_configure, Line 51
The configuration option ‘optimize for ad hoc workloads’ does not exist, or it may be an advanced option.

Let us quickly see the reproduction of this error in following image.
SQL SERVER - FIX : Error: Msg 15123, Level 16 - The configuration option 'advance option' does not exist, or it may be an advanced option. avaderror1

Fix/Workaround/Solution:
The reason this error is happening because of not enabling advance option. Run complete following script and it should fix the problem.

SQL SERVER - FIX : Error: Msg 15123, Level 16 - The configuration option 'advance option' does not exist, or it may be an advanced option. avaderror2

sp_CONFIGURE 'show advanced options',1
RECONFIGURE
GO

sp_CONFIGURE ‘optimize for ad hoc workloads’,1
RECONFIGURE
GO

Reference : Pinal Dave (https://blog.sqlauthority.com)

SQL Advanced Option, SQL Error Messages, SQL Scripts
Previous Post
SQL SERVER – Fix : Error : Msg 4621, Level 16, State 10 : Permissions at the server scope can only be granted when the current database is master
Next Post
SQLAuthority News – Author Video Interview Published Online – Microsoft MVP Summit 2009

Related Posts

Leave a Reply