I've SQL Server 2012
, IIS
, ASP.NET Core installed on Windows 7 and Windows 8.1. But in SQL Server when I try to add BUILTIN\IIS_IUSRS
as a login, I always get the error shown in image 2. The domain name is the name of the computer itself and the computers are not in any other domain:
Error:
SQLEXPRESS2012
instead ofLocalDb
does not work when deployed toIIS
and addingIUSR
to the db with db_owner. It works fine when browsing pages that do not call Db. But fails when connecting to Db. But the connection string is not an issue since the app works fine with same connection string when running fromVS2017
– namIUSR
withdb_owner
role to my Db. But that does not work as I posted here – nam