Quantcast
Channel: Web Forms
Viewing all articles
Browse latest Browse all 23244

when deploy in server,how can i do integrated Security with windows logged user.thank u very much

$
0
0

hi   may i ask a question.i log in windows with username "DOMAIN\martin".and i have a web project.when i debug it in local host ,i found when i use  connection string  of database "integrated Security=SSPI",the user name is "DOMAIN\martin"

<div class="comment-right-col"> <div>

    but when   i publish this web project on a server(the name,"server-deploy"),then i found that when i use a connection string  of database "integrated Security=SSPI" or "Trusted_Connection=Yes",with web config file <authentication mode="Windows" />   <identity impersonate="true"/>

   but i was told error Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.is it possible that when connect with database the user is "DOMAIN\martin"?

   could anyone help me to resolve this problem? thank u very much in advance for ur kindness help

best regards

martin

</div> </div>

Viewing all articles
Browse latest Browse all 23244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>