Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15889

Authentication problems,pls help

$
0
0
Mvc 4 app using windows authentication. User.Identity.Name displays the expected user name and domain on development machine and writes the expected username to the database. Deployed app writes ntauthority\network service as the username in the database. Sql server on different server from web server. Added domain\machineName to sql server logins Gave active directory group permissions to read and execute inetpub\mySite folder If I set impersonation true the deployed app can not pull data, the website will come up but all the data is missing. What the heck do I need to do to be able to log the current user in the database?

Viewing all articles
Browse latest Browse all 15889

Trending Articles



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