Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

SQL Filetable access using SQL Login

Posted on 2015-01-25
5
Medium Priority
?
190 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 35

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

TCP/IP Network Protocol Cheat Sheet

TCP/IP is a set of network protocols which is best known for connecting the machines that make up the Internet. The truth is that TCP/IP is one of the oldest network protocols and its survival is mainly based on its simplicity and universality.

Question has a verified solution.

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

In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

722 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