When using(attempting) the SqlFileStream object, I am receiving an error
System.ComponentModel.Win32Exception: Logon failure: unknown user name or bad password
I’m a little perplexed by this.
- I’m using SQL Server authentication in the connection string
- I can write to the table in question except for the FILESTREAM column
- The SQLSERVER service is running under an account that has full privileges to the physical filestream directory
- The filestream directory does not have READONLY flagged.
Am I required to use a ‘Windows Integrated Security’ connection string to make this work?
Filestream doesn’t work with SQL Authentication. From FILESTREAM Storage in SQL Server 2008:
See also How It Works: File Streams Requires Integrated Security (Windows Authentication).