Ad hoc update to system catalogs is not supported.

  • Following query is executed to enable the filestreaming on sql server instance:

    EXEC sp_configure filestream_access_level, 2;

    GO

    RECONFIGURE;

    GO

    But I get following information.

    Configuration option 'filestream access level' changed from 2 to 2. Run the RECONFIGURE statement to install.

    Msg 5808, Level 16, State 1, Line 1

    Ad hoc update to system catalogs is not supported.

    My question is: Even though this says that the Ad hoc updates are not supported, 'filestream access level' value is chagned from 0 to 2.

  • The error's not about the filestream. Check the setting for allow updates, I'd guess someone for some reason has set it to 1.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • True Gail. But what does allow_updates do?

  • How about looking in Books Online?

    allow updates Option

    This option is still present in the sp_configure stored procedure, although its functionality is unavailable in SQL Server. The setting has no effect. Starting with SQL Server 2005, direct updates to the system tables are not supported.

    Important:

    This feature will be removed in a future version of Microsoft SQL Server. Do not use this feature in new development work, and modify applications that currently use this feature as soon as possible.

    Changing the allow updates option will cause the RECONFIGURE statement to fail. Changes to the allow updates option should be removed from all scripts.

    It used to allow direct changes to the system tables (like sysobjects) which was a very bad idea usually.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • Hi,

    Besides setting allow_updates , Reconfigure with Override option can also be used for the solution as described at Ad hoc update to system catalogs is not supported

    But it is still confusing that a configration param which will be removed has still such affects on the sql engine.

  • For Solution Please refer

    Thanks

    Saurabh Sinha

    http://saurabhsinhainblogs.blogspot.in/[/url]

Viewing 6 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic. Login to reply