Trying to setup database with FILESTREAM. Using scripts that work great on previous versions of SQL Server (2016 to 2019). Getting strange error message when trying to add file to filegroup:
Msg 35221, Level 16, State 1, Line 2
Could not process the operation. Always On Availability Groups replica manager is disabled on this instance of SQL Server. Enable Always On Availability Groups, by using the SQL Server Configuration Manager. Then, restart the SQL Server service, and retry the currently operation. For information about how to enable and disable Always On Availability Groups, see SQL Server Books Online.
We do not use Always On, so of course it is disabled. Why would SQL require it to be enabled for SQL 2022?
Command being attempted is similar to this:
ALTER DATABASE MyDb ADD FILE ( Name = FILESTREAM_Files, FileName = 'C:\Databases\SQL2022\MyDb') To Filegroup My_FILESTREAM;
Also tried using SQL Mgmt Studio to do same, and get same error.
November 3, 2023 at 8:45 am
This was removed by the editor as SPAM
November 3, 2023 at 8:45 am
This was removed by the editor as SPAM
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply