Azure Exception Details: System.Data.SqlClient.SqlException: Login failed for user 'null'

I wrote an application and I'm trying to download it on Azure. The application runs fine locally and has a SQL Server database as a backend; The application is based on MVC.

When I try to access a page, for example / person, I get this error:

Azure Exception Details: System.Data.SqlClient.SqlException: Login failed for user 'null'.

Has anyone ever handled such a mistake and how you resolved it.

I tried a few suggestions but no one works:

  • add to configuration file
  • Persist Security Info = False to true

What is the best way to solve this problem?

+2
source share
1 answer

. . , , , .

+3

Source: https://habr.com/ru/post/1674016/


All Articles