SQL Server 2008文件流访问被拒绝 [英] SQL Server 2008 filestream access is denied

查看:200
本文介绍了SQL Server 2008文件流访问被拒绝的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在尝试将FILESTREAM数据插入SQL Server 2008时,有人可以提供访问被拒绝错误消息吗?

Can someone help with an Access is denied error message received when attempting to insert FILESTREAM data into SQL Server 2008?

我在配置了特定于应用程序的用户的应用程序池中运行一个ASP.NET应用程序。 web.config使用集成的安全性...

I have an ASP.NET application running within an application pool configured with an application-specific user. The web.config uses integrated security...

<connectionStrings>
   <add name="MyApp" 
        connectionString="Data Source=localhost;Initial Catalog=MyDatabase;Integrated Security=SSPI;"
        providerName="System.Data.SqlClient" />
</connectionStrings>

应用程序的Windows用户属于数据库角色 web_app 。该角色具有执行和选择权限。但是,我收到以下异常...

The application's Windows user belongs to a database role, web_app. This role has execute and select permissions. However I receive the following exception...

System.ComponentModel.Win32Exception (0x80004005): Access is denied

感谢所有帮助。

推荐答案


  1. 检查SQL Server服务帐户是否有权访问文件流文件夹。

  2. 检查文件流文件夹是否为只读。

这篇关于SQL Server 2008文件流访问被拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆