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

后端 未结 1 1188
猫巷女王i
猫巷女王i 2021-01-21 11:48

I wrote an app and I am trying upload it on Azure. The app runs ok locally and has a SQL Server database as the backend; the app is based off MVC.

When I try to access a

相关标签:
1条回答
  • 2021-01-21 12:04

    On the app's data connection, the connection string had no userid. Adding a userid fixed the issue. Even though when the app was published with a proper connection string, the user id was empty.

    0 讨论(0)
提交回复
热议问题