Solved

SQL Filetable access using SQL Login

Posted on 2015-01-25
5
175 Views
Last Modified: 2015-01-31
Hi Guys,

I have read that access to SQL filetable requires Windows Authentication etc. This is a frustrating feature of SQL Filetable but understandable?? But I have also read that the only exception is if the SQL Login has sysadmin rights of which mine does but if I add this user in my connection string it still fails.

Basically I can access the SQL Filetable but in my deployed .Net winforms application the end users receive a GetData Reader NULL exception when they try to view a file or  a "SQLLogin failed permissions...... I have read that this error is caused by lack of permissions to the FileTable.

I have setup my instance filestream properties to "Full Access Enabled" and check the I/O streaming features etc. My FileTable works just fine when I am the user, all settings I believe are correct but how can I give access to the end users in my organisation ideally using SQL Login or alternatively windows authentication for the Filetable??

Your help is much appreciated
0
Comment
Question by:databarracks
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
5 Comments
 

Author Comment

by:databarracks
ID: 40570091
This is the error I get in my application
0
 

Author Comment

by:databarracks
ID: 40570134
It appears as though it isn't a permissions thing but more of a DLL problem. The internet says that I need to add a reference to C:\Program Files (x86)\Microsoft SQL Server\110\Shared\Microsoft.SqlServer.Types.dll in the project.Which I have done but the error persists?

It works on any work station that has SQL SErver installed or MAnagement Studio??
0
 
LVL 33

Expert Comment

by:ste5an
ID: 40571337
Well, what about posting your failing code?
0
 

Accepted Solution

by:
databarracks earned 0 total points
ID: 40572083
Hi there,

I figured it out. I had to add "C:\Program Files (x86)\Microsoft SQL Server\100\Shared\Microsoft.SqlServer.Types.dll" this into my project. The difference being that I had to get the Dll in the 100 folder not the 110 one. Also you need to checnge the Copy local to true
0
 

Author Closing Comment

by:databarracks
ID: 40581245
Through trial and error I got to the bottom of it. Thank you to the expert that did get back to me
0

Featured Post

Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question