问题
Can someone help with an Access is denied
error message received when attempting to insert FILESTREAM data into SQL Server 2008?
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>
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
Thanks in advance for all help.
回答1:
- Check that SQL Server Service Account have right access to filestream folder.
- Check that filestream folder is not readonly.
来源:https://stackoverflow.com/questions/12977452/sql-server-2008-filestream-access-is-denied