So I have a WebAPI project with Individual Accounts, and I published it to a folder.
After that, I added a new website in IIS Manager. I created a new connection string with SQL Server Settings:
Server=WINDOWSHOST\\WINSQLSERVER;Database=Database2;Intergrated Security=true
If I use WINDOWSHOST\\WINSQLSERVER and IntergratedSecurity in SQL Server Management Studio, I can log in successfully, but trying to create an account gives me an internal server error
Default IIS does not support using Windows Integrated Security. these are steps to enable windows authentication
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.