When I run my mvc solution from another user it doesn’t connect to sql
I have created a simple mvc application in Visual Studio. I also created a database using EF Core code first approach. The database has Windows authentication. The connection string I used was Server=(local)\sqlexpress;Database=LibraryEmployeeDB;Trusted_Connection=True; I am supposed to send this project to my professor but when I tried to run the project from a different user on my computer it doesn’t work because I can’t connect to the database with the other user. I tried to change to Windows and Sql authentication and create a new user and add that to the connection string but that didn’t work either. I would be so grateful for any tips on how to solve this problem so that my professor can run the project as it is supposed to. Thank you!
Sachin SinghPosted Nov 8, 2020, 6:27 AM
Oskar WaldebrinkPosted Nov 9, 2020, 1:17 AM
Kiran MohantyPosted Nov 8, 2020, 6:07 AM
Khushbu SainiPosted Nov 8, 2020, 3:18 AM