Login failed for user 'IIS APPPOOL\jwttoken'."
Error while connection .net core api to sql server
I created an api in .net core 3.1 with Sql Server 2014 as backend. Its working good on local but after hosting its giving me error "SqlException: Cannot open database "stateElection" requested by the login. The login failed.
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.


Sachin SinghRank #66 · 26.2K reputationPosted Nov 1, 2020, 8:13 PM EST
db_ownerrole