Access Denied when inserting file into Sql Server 2012 FileTable using File.CreateFile in ASP.NET website

前端 未结 3 1781
滥情空心
滥情空心 2020-12-11 21:49

I have an ASP.NET website. I want to upload a file to the website and save it into a FileTable in SqlServer 2012.

Once uploaded, my website code has a Stream object

3条回答
  •  不知归路
    2020-12-11 22:48

    I had the same issue. The following answer works for me.

    1. Create a new account on both servers with the same password.
    2. Configure that account to run your IIS app
    3. Create a login in SQL Server for that account with the appropriate rights.

提交回复
热议问题