Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

ASP.NET core 2.0 SQL connection

$
0
0

Hello,

I Publish my asp.net core 2.0 app to production environment but i'm getting following error:

 An error occurred using the connection to database 'DB name' on server 'server name'.

System.Data.SqlClient.SqlException (0x80131904): Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.

What i don't understand is why is it using ANONYMOUS LOGON if i provided user and password in the connection string?

Any help would be appreciated.


Viewing all articles
Browse latest Browse all 9386

Trending Articles



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