使用(尝试)SqlFileStream对象时,我收到错误
System.ComponentModel.Win32Exception: Logon failure: unknown user name or bad password
我对此感到有点困惑。
我是否需要使用“Windows Integrated Security”连接字符串才能使其正常工作?
答案 0 :(得分:0)
Filestream不适用于SQL身份验证。来自FILESTREAM Storage in SQL Server 2008:
安全强>
有两个安全要求 使用FILESTREAM功能。 首先,必须配置 SQL Server 用于集成安全性。其次,如果 将使用远程访问,然后 必须启用SMB端口(445) 任何防火墙系统。
另见How It Works: File Streams Requires Integrated Security (Windows Authentication)。