<?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>How To : SQL 2012 Filetable Setup and Usage</title><link>http://blogs.msdn.com/b/sqljourney/archive/2012/11/10/how-to-sql-2012-filetable-setup-and-usage.aspx</link><description>One of the cool things about my job is that I get to work on the latest technologies earlier than most people. I recently stumbled upon an issue related to Filetables, a new feature in SQL Server 2012. To start with, a Filetable brings you the ability</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: How To : SQL 2012 Filetable Setup and Usage</title><link>http://blogs.msdn.com/b/sqljourney/archive/2012/11/10/how-to-sql-2012-filetable-setup-and-usage.aspx#10412924</link><pubDate>Mon, 22 Apr 2013 02:50:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10412924</guid><dc:creator>HarshDeep_Singh</dc:creator><description>&lt;p&gt;Hi skan2dan, &lt;/p&gt;
&lt;p&gt;Thanks for getting back. In that case, I need you to confirm on 2 things:&lt;/p&gt;
&lt;p&gt;1. Please ensure that the SQL login has sysadmin privileges (direct, not through a credential). &lt;/p&gt;
&lt;p&gt;2. Please make sure that you test this with both Local System and domain accounts as SQL Server and SQL Agent service accounts. &lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Harsh&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10412924" width="1" height="1"&gt;</description></item><item><title>re: How To : SQL 2012 Filetable Setup and Usage</title><link>http://blogs.msdn.com/b/sqljourney/archive/2012/11/10/how-to-sql-2012-filetable-setup-and-usage.aspx#10412214</link><pubDate>Thu, 18 Apr 2013 11:18:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10412214</guid><dc:creator>skan2dan</dc:creator><description>&lt;p&gt;Harshdeep_Singh,&lt;/p&gt;
&lt;p&gt;If I add the Windows OS Log in with SysAdmin privileges to the SQL Server instance then I am able to open the File table directory in either way. i.e. 1. by selecting the &amp;quot;Explore File Table Directory&amp;quot; option from SSMS or 2. accessing the Filetable share first, here it is &lt;/p&gt;
&lt;p&gt;\\MYSERVERNAME\mssqlserver\DocumentStore\MyDocumentStore.&lt;/p&gt;
&lt;p&gt;So, it is confirmed that the Filetable share has been successfully created. &lt;/p&gt;
&lt;p&gt;My problem here is we need to use a SQL Server authentication with least privileges to access the Filetable share as we need to provide the credentials to the end users.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10412214" width="1" height="1"&gt;</description></item><item><title>re: How To : SQL 2012 Filetable Setup and Usage</title><link>http://blogs.msdn.com/b/sqljourney/archive/2012/11/10/how-to-sql-2012-filetable-setup-and-usage.aspx#10411932</link><pubDate>Wed, 17 Apr 2013 16:16:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10411932</guid><dc:creator>HarshDeep_Singh</dc:creator><description>&lt;p&gt;Hi Skan2dan, &lt;/p&gt;
&lt;p&gt;Thanks for getting back on this. Can you please try using a windows login to access the Filetable share first, to confirm that the share has been created successfully and is accessible? &lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Harsh&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10411932" width="1" height="1"&gt;</description></item><item><title>re: How To : SQL 2012 Filetable Setup and Usage</title><link>http://blogs.msdn.com/b/sqljourney/archive/2012/11/10/how-to-sql-2012-filetable-setup-and-usage.aspx#10411863</link><pubDate>Wed, 17 Apr 2013 13:59:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10411863</guid><dc:creator>skan2dan</dc:creator><description>&lt;p&gt;Harshdeep Singh,&lt;/p&gt;
&lt;p&gt;Thanks for the reply.&lt;/p&gt;
&lt;p&gt;As you advised, I assigned SysAdmin privilege to the SQL Server Log in. Still the same error.&lt;/p&gt;
&lt;p&gt;Then, I have done the impersonation by following steps.&lt;/p&gt;
&lt;p&gt;- Created a Local Windows Log in &amp;nbsp;account namely &amp;quot;OSLOGIN&amp;quot; &amp;nbsp;on the Windows Server with admin privileges.&lt;/p&gt;
&lt;p&gt;- Changed &amp;amp; assigned this Windows Log in as the service account of SQL Server &amp;amp; Agent Services.&lt;/p&gt;
&lt;p&gt;- Impersonated the SQL Login namely &amp;quot;SQLLOGIN&amp;quot; with SQL Server&amp;#39;s Service Account by the following command.&lt;/p&gt;
&lt;p&gt;use [master]&lt;/p&gt;
&lt;p&gt;GO&lt;/p&gt;
&lt;p&gt;GRANT IMPERSONATE ON LOGIN::[OSSERVER\OSLOGIN] TO [SQLLOGIN]&lt;/p&gt;
&lt;p&gt;GO&lt;/p&gt;
&lt;p&gt;But, still the issue is persisting and the error is : &amp;quot; The File location cannot be opened. Either access is not enabled or you do not have permissions for the same&amp;quot;.&lt;/p&gt;
&lt;p&gt;Kindly review and suggest to overcome this issue. Thanks in advance.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10411863" width="1" height="1"&gt;</description></item><item><title>re: How To : SQL 2012 Filetable Setup and Usage</title><link>http://blogs.msdn.com/b/sqljourney/archive/2012/11/10/how-to-sql-2012-filetable-setup-and-usage.aspx#10402198</link><pubDate>Thu, 14 Mar 2013 05:53:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10402198</guid><dc:creator>xudong125</dc:creator><description>&lt;p&gt;@skan2dan maybe you need check you firewall.make sure the TCP port 139,445 is allow in. &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10402198" width="1" height="1"&gt;</description></item><item><title>re: How To : SQL 2012 Filetable Setup and Usage</title><link>http://blogs.msdn.com/b/sqljourney/archive/2012/11/10/how-to-sql-2012-filetable-setup-and-usage.aspx#10400523</link><pubDate>Fri, 08 Mar 2013 01:15:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10400523</guid><dc:creator>HarshDeep_Singh</dc:creator><description>&lt;p&gt;Hi skan2dan,&lt;/p&gt;
&lt;p&gt;Thanks for showing interest in the blog. To use Filetables with a SQL server login (as opposed to windows one), you need to give it the sysadmin role in SQL Server. To do this, you have to right on the login in the object explorer in SQL Server Management Studio, navigate to the roles tab, and check the sysadmin role. &lt;/p&gt;
&lt;p&gt;Hope this helps. &lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Harsh&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10400523" width="1" height="1"&gt;</description></item><item><title>re: How To : SQL 2012 Filetable Setup and Usage</title><link>http://blogs.msdn.com/b/sqljourney/archive/2012/11/10/how-to-sql-2012-filetable-setup-and-usage.aspx#10400237</link><pubDate>Thu, 07 Mar 2013 12:03:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10400237</guid><dc:creator>skan2dan</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;While clicking on &amp;quot;Explore File Table Directory&amp;quot; we receive the following error:&lt;/p&gt;
&lt;p&gt;The File location cannot be opened. Either access is not enabled or you do not have permissions for the same.&lt;/p&gt;
&lt;p&gt;On you blog post you mentioned that &amp;quot;The only exception is using a SQL Server login that has sysadmin privileges (in which case it will impersonate the SQL Server Service account). &amp;quot;&lt;/p&gt;
&lt;p&gt;Please suggest how can we achieve this ?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10400237" width="1" height="1"&gt;</description></item></channel></rss>