TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Oskar Waldebrink
NA
8
715
When I run my mvc solution from another user it doesn’t connect to sql
Nov 8 2020 2:56 AM
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!
Reply
Answers (
4
)
Generate DELETE Query using ONLY IN operator
How to explain this logic and ways to avoid?