Recently i have developped a local backend accessing some data on SQLserver for webdevelopment. So i use the connection string with the parameter "integrated security true". It works fine until i put my backend in server, the server doesnt recognize the username. I checked the errors. My Backend use the server windows login. My question: does it exist a way to use the client windows login to connect the database and not the server login? (for example change the connection string ?) Kind Regards. Thanks in advance. PS: Sorry for my bad english.
1 Answer
We can use windows account to connect to SQL server, suggest you share us the error message that you got when your connection failed. It will help us to analysis the issue. Or you can get the SQL server error message from error log. Refer to Viewing the SQL Server Error Log.
to use the client windows login to connect the database and not the server loginthere's no client and server login. In a Windows domain, one account is used and recognized on all machines. If you don't have a domain account - get a domain account