Configure ASP.NET ConnectionString for a specific domain user

We have a Windows account in SQL Server 2008 called drwho, for example, and a password. In the connection string, we disabled the built-in protection and added the values ​​of the user ID and password.

User Id=THEDOMAIN\drwho;Password=......

However, ASP.NET continues to think that we are using SQL server authentication.

Any suggestions?

+3
source share
4 answers

SQL- / . , ASP.NET- . . Microsoft.

+5

. , / , .

<identity impersonate="true"
          userName="domain\user" 
          password="password" />
+4

-

, .

-1

Have you seen http://www.connectionstrings.com/ ? Always a good resource if you have connection problems.

-1
source

Source: https://habr.com/ru/post/1729362/


All Articles