Link to home
Start Free TrialLog in
Avatar of databarracks
databarracks

asked on

SQL Filetable access using SQL Login

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
Avatar of databarracks
databarracks

ASKER

This is the error I get in my application
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??
Avatar of ste5an
Well, what about posting your failing code?
ASKER CERTIFIED SOLUTION
Avatar of databarracks
databarracks

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Through trial and error I got to the bottom of it. Thank you to the expert that did get back to me