Rahul Sharma

Rahul Sharma

  • NA
  • 194
  • 12.8k

Error while connection .net core api to sql server

Nov 2 2020 12:50 AM
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.
Login failed for user 'IIS APPPOOL\jwttoken'."
 

Answers (1)