When restoring the adventureworks sample database, the filestream feature is disabled error message is displayed.
Filestream is a new feature added by SQL Server 2008. It is disabled by default. If this feature is enabled for the DB Backup file, enable this feature is also required for restoration on another server.
To open the SQL Server Configuration Manager at the beginning, follow these steps:
1> enable SQL Server Configuration Manager
2> Find SQL Server services
3> switch to filestream tabe.
4> select [enable filestream for Transact-SQL access] and [enable filestream for file I/O streaming access]
4> Click OK to restart SQL Server services
As follows:
It does not work. The error persists during restoration.
I checked books-online. The original configuration was used to control access, and it was just a poor response.
The correct setting method is to call the sp_configure stored procedure to enable filestream.
CodeAs follows:
1 2 3 4 5 |
UseMaster GoExecSp_configure filestream_access_level, 2 Reconfigure |
Restore the database, it works!
If you encounter problems, you can check documents and use Google. You cannot take it for granted, especially in the production environment.
Doubt: There is a URL connected to Microsoft Site in the error Prompt window, but this URL cannot be used. Is it expired?
System. Data. sqlclient. sqlerror: filestream feature is disabled. (Microsoft. sqlserver. SMO)
For help, click: http://go.microsoft.com/fwlink? Prodname = Microsoft + SQL + server & prodver = 10.0.1600.22 + (SQL _prerelease). 080709-1414 +) & linkid = 20476
ArticleFrom: http://www.cnblogs.com/samsonhuang/articles/2342598.html
When restoring the adventureworks sample database, the filestream feature is disabled error message is displayed.
Filestream is a new feature added by SQL Server 2008. It is disabled by default. If this feature is enabled for the DB Backup file, enable this feature is also required for restoration on another server.
To open the SQL Server Configuration Manager at the beginning, follow these steps:
1> enable SQL Server Configuration Manager
2> Find SQL Server services
3> switch to filestream tabe.
4> select [enable filestream for Transact-SQL access] and [enable filestream for file I/O streaming access]
4> Click OK to restart SQL Server services
As follows:
It does not work. The error persists during restoration.
I checked books-online. The original configuration was used to control access, and it was just a poor response.
The correct setting method is to call the sp_configure stored procedure to enable filestream.
The Code is as follows:
1 2 3 4 5 |
UseMaster GoExecSp_configure filestream_access_level, 2 Reconfigure |
Restore the database, it works!
If you encounter problems, you can check documents and use Google. You cannot take it for granted, especially in the production environment.
Doubt: There is a URL connected to Microsoft Site in the error Prompt window, but this URL cannot be used. Is it expired?
System. Data. sqlclient. sqlerror: filestream feature is disabled. (Microsoft. sqlserver. SMO)
For help, click: http://go.microsoft.com/fwlink? Prodname = Microsoft + SQL + server & prodver = 10.0.1600.22 + (SQL _prerelease). 080709-1414 +) & linkid = 20476
Article from: http://www.cnblogs.com/samsonhuang/articles/2342598.html