<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>FILESTREAM Configuration and Setup Changes in SQL Server 2008 February CTP</title><link>http://blogs.msdn.com/sqlserverstorageengine/archive/2008/03/03/filestream-configuration-and-setup-changes-in-sql-server-2008-february-ctp.aspx</link><description>FILESTREAM is disabled by default in SQL2008. Before you can start to use FILESTREAM, you must enable FILESTREAM on the instance of the SQL Server Database Engine. Enabling/configuring FILESTREAM is a bit different from configuring other SQL features</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>MSFT News Aggregator &amp;raquo; FILESTREAM Configuration and Setup Changes in SQL Server 2008 &amp;#8230;</title><link>http://blogs.msdn.com/sqlserverstorageengine/archive/2008/03/03/filestream-configuration-and-setup-changes-in-sql-server-2008-february-ctp.aspx#8013026</link><pubDate>Tue, 04 Mar 2008 02:59:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8013026</guid><dc:creator>MSFT News Aggregator » FILESTREAM Configuration and Setup Changes in SQL Server 2008 …</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://msft.starsports.info/msft/filestream-configuration-and-setup-changes-in-sql-server-2008/"&gt;http://msft.starsports.info/msft/filestream-configuration-and-setup-changes-in-sql-server-2008/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: FILESTREAM Configuration and Setup Changes in SQL Server 2008 February CTP</title><link>http://blogs.msdn.com/sqlserverstorageengine/archive/2008/03/03/filestream-configuration-and-setup-changes-in-sql-server-2008-february-ctp.aspx#8332372</link><pubDate>Sun, 23 Mar 2008 18:28:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8332372</guid><dc:creator>ktegels</dc:creator><description>&lt;p&gt;So this begs the questions: &lt;/p&gt;
&lt;p&gt;1. If I don't want to do this during setup and a prefer to write to T-SQL scripts, do I really need use the SP_CONFIGURE option (e.g.. will sp_filestream_configure continue to be supported)?&lt;/p&gt;
&lt;p&gt;1a. Clarifying q1, which of this lis actually needed to fully configure a filestream share via T-SQL only?&lt;/p&gt;
&lt;p&gt;a. EXEC sp_configure 'filestream_access_level', '0'&lt;/p&gt;
&lt;p&gt;b. RECONFIGURE&lt;/p&gt;
&lt;p&gt;c1. declare @sn sysname = N'MusicShare';&lt;/p&gt;
&lt;p&gt;c2. exec sp_filestream_configure @enable_level = 3, @share_name = @sn;&lt;/p&gt;
&lt;p&gt;2. If I don't use the configureation tools and sp_filestream_configure is removed, how do I enable the share name?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
</description></item><item><title>re: FILESTREAM Configuration and Setup Changes in SQL Server 2008 February CTP</title><link>http://blogs.msdn.com/sqlserverstorageengine/archive/2008/03/03/filestream-configuration-and-setup-changes-in-sql-server-2008-february-ctp.aspx#8340531</link><pubDate>Fri, 28 Mar 2008 01:40:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8340531</guid><dc:creator>OmelJ - MSFT</dc:creator><description>&lt;p&gt;sp_filestream_configure will be removed from the product. To specify a share name without having to go thru the SQL Configuration Manager UI, you can use the WMI scripting CM support. Here is a sample VBS script on how to do that (note that this requires Windows admin privilege, just like SQL CM, FILESTREAM functionality still requires the the SQL admin to call sp_configure/reconfigure):&lt;/p&gt;
&lt;p&gt;'&lt;/p&gt;
&lt;p&gt;' USAGE:&lt;/p&gt;
&lt;p&gt;'&lt;/p&gt;
&lt;p&gt;' cscript filestream_enable.vbs [/Machine:&amp;lt;MachineName&amp;gt;] [/Instance:&amp;lt;InstanceName&amp;gt;] [/Level:&amp;lt;0|1|2|3&amp;gt;] [/Share:&amp;lt;ShareName&amp;gt;]&lt;/p&gt;
&lt;p&gt;'&lt;/p&gt;
&lt;p&gt;'&lt;/p&gt;
&lt;p&gt;On Error Resume Next&lt;/p&gt;
&lt;p&gt;Err.Clear()&lt;/p&gt;
&lt;p&gt;InstanceName = &amp;quot;MSSQLSERVER&amp;quot;&lt;/p&gt;
&lt;p&gt;MachineName = &amp;quot;.&amp;quot;&lt;/p&gt;
&lt;p&gt;TargetLevel = 3&lt;/p&gt;
&lt;p&gt;ShareName = &amp;quot;&amp;quot;&lt;/p&gt;
&lt;p&gt;If WScript.Arguments.Named.Exists(&amp;quot;Machine&amp;quot;) Then&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;MachineName = WScript.Arguments.Named(&amp;quot;Machine&amp;quot;)&lt;/p&gt;
&lt;p&gt;End If&lt;/p&gt;
&lt;p&gt;If WScript.Arguments.Named.Exists(&amp;quot;Instance&amp;quot;) Then&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;InstanceName = WScript.Arguments.Named(&amp;quot;Instance&amp;quot;)&lt;/p&gt;
&lt;p&gt;End If&lt;/p&gt;
&lt;p&gt;If WScript.Arguments.Named.Exists(&amp;quot;Level&amp;quot;) Then&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;TargetLevel = WScript.Arguments.Named(&amp;quot;Level&amp;quot;)&lt;/p&gt;
&lt;p&gt;End If&lt;/p&gt;
&lt;p&gt;If WScript.Arguments.Named.Exists(&amp;quot;Share&amp;quot;) Then&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;ShareName = WScript.Arguments.Named(&amp;quot;Share&amp;quot;)&lt;/p&gt;
&lt;p&gt;End If&lt;/p&gt;
&lt;p&gt;WScript.Echo &amp;quot;Machine: &amp;quot; &amp;amp; MachineName&lt;/p&gt;
&lt;p&gt;WScript.Echo &amp;quot;Instance: &amp;quot; &amp;amp; InstanceName&lt;/p&gt;
&lt;p&gt;WScript.Echo &amp;quot;Level: &amp;quot; &amp;amp; TargetLevel&lt;/p&gt;
&lt;p&gt;WScript.Echo &amp;quot;ShareName: &amp;quot; &amp;amp; ShareName&lt;/p&gt;
&lt;p&gt;WScript.Echo vbNewLine &amp;amp; &amp;quot;Current Filestream configuration:&amp;quot;&amp;amp; vbNewLine&lt;/p&gt;
&lt;p&gt;set fsInstance = GetObject(&amp;quot;WINMGMTS:\\&amp;quot; &amp;amp; MachineName &amp;amp; &amp;quot;\root\Microsoft\SqlServer\ComputerManagement10:FilestreamSettings='&amp;quot; &amp;amp; InstanceName &amp;amp; &amp;quot;'&amp;quot;)&lt;/p&gt;
&lt;p&gt;If &amp;nbsp;Err.Number &amp;lt;&amp;gt; 0 &amp;nbsp;Then&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;If Err.Number = -2147217396 Then&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WScript.Echo &amp;quot;WBEM_E_NOT_SUPPORTED == IDS_FILESTREAM_NOT_SUPPORTED_ON_INSTANCE (0x8004100C : -2147217396)&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;Else&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WScript.Echo &amp;quot;Unknown error calling GetObject for FilestreamSettings object &amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WScript.Echo &amp;quot;Error: &amp;quot; &amp;amp; Err.Number &amp;amp; &amp;quot; Description: &amp;quot; &amp;amp; Err.Description&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;End If&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;return Err.Number&lt;/p&gt;
&lt;p&gt;End If&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;WScript.Echo &amp;quot;InstanceName = &amp;quot; &amp;amp; fsInstance.InstanceName &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;WScript.Echo &amp;quot;AccessLevel &amp;nbsp;= &amp;quot; &amp;amp; cstr(fsInstance.AccessLevel) &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;WScript.Echo &amp;quot;ShareName &amp;nbsp; &amp;nbsp;= &amp;quot; &amp;amp; fsInstance.ShareName&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;WScript.Echo &amp;quot;RsFxVersion &amp;nbsp;= &amp;quot; &amp;amp; fsInstance.RsFxVersion&lt;/p&gt;
&lt;p&gt;WScript.Echo vbNewLine &amp;amp; &amp;quot;Calling method EnableFilestream with new level&amp;quot; &amp;amp; vbNewLine&lt;/p&gt;
&lt;p&gt;Set method = fsInstance.Methods_(&amp;quot;EnableFilestream&amp;quot;)&lt;/p&gt;
&lt;p&gt;Set inParam = method.inParameters.SpawnInstance_()&lt;/p&gt;
&lt;p&gt;inParam.AccessLevel = TargetLevel&lt;/p&gt;
&lt;p&gt;inParam.ShareName = ShareName&lt;/p&gt;
&lt;p&gt;Set outParam = fsInstance.ExecMethod_(&amp;quot;EnableFilestream&amp;quot;, inParam)&lt;/p&gt;
&lt;p&gt;If outParam.returnValue = 0 Then&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;WScript.Echo &amp;quot;Method executed successfully&amp;quot; &amp;amp; vbNewLine &lt;/p&gt;
&lt;p&gt;Else&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;WScript.Echo &amp;quot;Method failed: hr = &amp;quot; &amp;amp; cstr(outParam.returnValue)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;' WBEM_E_NOT_SUPPORTED == IDS_FILESTREAM_NOT_SUPPORTED_ON_INSTANCE (0x8004100C : -2147217396) (Thrown at GetObject time)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;' WBEM_E_INVALID_OPERATION == IDS_FILESTREAM_CANNOT_CHANGE_SHARE (0x80041016 : -2147217386)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;' HRESULT_FROM_WIN32 (ERROR_ALREADY_EXISTS) == IDS_FILESTREAM_DUP_SHARE_NAME (0x800700B7 : -2147024713)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;' HRESULT_FROM_WIN32 (ERROR_ACCESS_DENIED) == IDS_FILESTREAM_ACCESS_DENIED (0x80070005 : -2147024891)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;' HRESULT_FROM_WIN32 (ERROR_INVALID_SHARENAME) == IDS_FILESTREAM_INVALID_SHARENAME (0x800704BF : -2147023681)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;' HRESULT_FROM_WIN32 (ERROR_FILENAME_EXCED_RANGE) == IDS_FILESTREAM_SHARENAME_TOO_LONG (0x800700CE : -2147024690) &amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;' HRESULT_FROM_WIN32 (ERROR_RESOURCE_NOT_FOUND) == IDS_FILESTREAM_PRIMARY_NODE_NOT_ENABLED (0x8007138F : -2147019889) &amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;' HRESULT_FROM_WIN32 (ERROR_CLUSTER_INVALID_REQUEST) == IDS_FILESTREAM_SHARENAME_NODE_MISMATCH (0x800713B8 : -2147019848) &amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;' HRESULT_FROM_WIN32 (ERROR_SUCCESS_RESTART_REQUIRED) == IDS_FILESTREAM_DISABLED_RESTART (0x80070bc3 : -2147021885)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;' WBEM_E_INVALID_PARAMETER == IDS_FILESTREAM_GENERAL_ERROR (0x80041008 : -2147217400)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;If outParam.returnValue = -2147217386 Then&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WScript.Echo &amp;quot;WBEM_E_INVALID_OPERATION == IDS_FILESTREAM_CANNOT_CHANGE_SHARE (0x80041016 : -2147217386)&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;Else If outParam.returnValue = -2147024713 Then&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WScript.Echo &amp;quot;HRESULT_FROM_WIN32 (ERROR_ALREADY_EXISTS) == IDS_FILESTREAM_DUP_SHARE_NAME (0x800700B7 : -2147024713)&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;Else If outParam.returnValue = -2147024891 Then&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WScript.Echo &amp;quot;HRESULT_FROM_WIN32 (ERROR_ACCESS_DENIED) == IDS_FILESTREAM_ACCESS_DENIED (0x80070005 : -2147024891)&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;Else If outParam.returnValue = -2147023681 Then&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WScript.Echo &amp;quot;HRESULT_FROM_WIN32 (ERROR_INVALID_SHARENAME) == IDS_FILESTREAM_INVALID_SHARENAME (0x800704BF : -2147023681)&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;Else If outParam.returnValue = -2147024690 Then&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WScript.Echo &amp;quot;HRESULT_FROM_WIN32 (ERROR_FILENAME_EXCED_RANGE) == IDS_FILESTREAM_SHARENAME_TOO_LONG (0x800700CE : -2147024690)&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;Else If outParam.returnValue = -2147019889 Then&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WScript.Echo &amp;quot; HRESULT_FROM_WIN32 (ERROR_RESOURCE_NOT_FOUND) == IDS_FILESTREAM_PRIMARY_NODE_NOT_ENABLED (0x8007138F : -2147019889)&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;Else If outParam.returnValue = -2147019848 Then&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WScript.Echo &amp;quot;HRESULT_FROM_WIN32 (ERROR_CLUSTER_INVALID_REQUEST) == IDS_FILESTREAM_SHARENAME_NODE_MISMATCH (0x800713B8 : -2147019848)&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;Else If outParam.returnValue = -2147021885 Then&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WScript.Echo &amp;quot;HRESULT_FROM_WIN32 (ERROR_SUCCESS_RESTART_REQUIRED) == IDS_FILESTREAM_DISABLED_RESTART (0x80070bc3 : -2147021885)&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;Else If outParam.returnValue = -2147217400 Then&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WScript.Echo &amp;quot;WBEM_E_INVALID_PARAMETER == IDS_FILESTREAM_GENERAL_ERROR (0x80041008 : -2147217400)&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;End If&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;End If&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;End If&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;End If&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;End If&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;End If&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;End If&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;End If&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;End If&lt;/p&gt;
&lt;p&gt;End If&lt;/p&gt;
&lt;p&gt;WScript.Echo vbNewLine &amp;amp; vbNewLine &amp;amp; &amp;quot;New Filestream configuration:&amp;quot;&amp;amp; vbNewLine&lt;/p&gt;
&lt;p&gt;set fsInstance = GetObject(&amp;quot;WINMGMTS:\\&amp;quot; &amp;amp; MachineName &amp;amp; &amp;quot;\root\Microsoft\SqlServer\ComputerManagement10:FilestreamSettings='&amp;quot; &amp;amp; InstanceName &amp;amp; &amp;quot;'&amp;quot;)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;WScript.Echo &amp;quot;InstanceName = &amp;quot; &amp;amp; fsInstance.InstanceName &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;WScript.Echo &amp;quot;AccessLevel &amp;nbsp;= &amp;quot; &amp;amp; cstr(fsInstance.AccessLevel) &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;WScript.Echo &amp;quot;ShareName &amp;nbsp; &amp;nbsp;= &amp;quot; &amp;amp; fsInstance.ShareName&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;WScript.Echo &amp;quot;RsFxVersion &amp;nbsp;= &amp;quot; &amp;amp; fsInstance.RsFxVersion&lt;/p&gt;
</description></item><item><title>re: FILESTREAM Configuration and Setup Changes in SQL Server 2008 February CTP</title><link>http://blogs.msdn.com/sqlserverstorageengine/archive/2008/03/03/filestream-configuration-and-setup-changes-in-sql-server-2008-february-ctp.aspx#8525379</link><pubDate>Wed, 21 May 2008 02:53:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8525379</guid><dc:creator>ankitmalpani</dc:creator><description>&lt;p&gt;I tried enabling Filestream during installation but post installation it appears diabled. Even on retrying after installation (using Sql Configuration Manager) does not work.&lt;/p&gt;
&lt;p&gt;If I try to do it from sqlcmd I get the following error :&lt;/p&gt;
&lt;p&gt;The current user does not have permissions to configure the FILESTREAM feature. To configure the FILESTREAM feature, Windows Administrator and sysadmin rights are required.&lt;/p&gt;
&lt;p&gt;But I (this user) am a Windows Administrator. &lt;/p&gt;
&lt;p&gt;Am I miising something here??&lt;/p&gt;
</description></item><item><title>re: FILESTREAM Configuration and Setup Changes in SQL Server 2008 February CTP</title><link>http://blogs.msdn.com/sqlserverstorageengine/archive/2008/03/03/filestream-configuration-and-setup-changes-in-sql-server-2008-february-ctp.aspx#8525380</link><pubDate>Wed, 21 May 2008 02:53:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8525380</guid><dc:creator>ankitmalpani</dc:creator><description>&lt;p&gt;I tried enabling Filestream during installation but post installation it appears diabled. Even on retrying after installation (using Sql Configuration Manager) does not work.&lt;/p&gt;
&lt;p&gt;If I try to do it from sqlcmd I get the following error :&lt;/p&gt;
&lt;p&gt;The current user does not have permissions to configure the FILESTREAM feature. To configure the FILESTREAM feature, Windows Administrator and sysadmin rights are required.&lt;/p&gt;
&lt;p&gt;But I (this user) am a Windows Administrator. &lt;/p&gt;
&lt;p&gt;Am I missing something here??&lt;/p&gt;
</description></item><item><title>Enabling the FILESTREAM datatype on SQL Server 2008</title><link>http://blogs.msdn.com/sqlserverstorageengine/archive/2008/03/03/filestream-configuration-and-setup-changes-in-sql-server-2008-february-ctp.aspx#9508403</link><pubDate>Wed, 25 Mar 2009 23:35:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9508403</guid><dc:creator>Chris Roland</dc:creator><description>&lt;p&gt;Enabling the FILESTREAM datatype on SQL Server 2008&lt;/p&gt;
</description></item></channel></rss>