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

前端 未结 3 1778
滥情空心
滥情空心 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:43

    The accpted answer did not work for me. The answer in this link did.

    My IIS server was not on the same server as the sql database, so I had to make sure that the application pool user for IIS existed as a windows user on the sql server, that they had the same password and that there is a sql windows user for the account.

提交回复
热议问题