Application deployment failed when connecting with the database

NAHEEM OLANIYAN

I have just finished the development of my application on asp.net mvc connected with SQL server, and I will love to deploy it. I want to use Azure App service, but I got an error "Unable to connect to master or target server 'DATABASE_NAME'. You must have a user with the same password in master or target server 'DATABASE_NAME'". I have tried every thing I found online like modifying the SSDT, but nothing changed.

Please is there any recommendation to fix this issue? If not, Please what are other ways for me to launch the application. The application will be used internally for Sales purpose and I don't need any fancy hosting. Thank you in advance.

Stephane

Did you setup the sql azure firewall to accept connections from your computer? Even if you set it up once, it is possible that your internet provider attributed a different IP address to your computer. So you must redo your firewall set up again for your computer to be accepted.

enter image description here

It is important to know that only sql logins/passwords are accepted here. So you must give the login/password of the admin user that you mentioned at the moment of creation of you sql server azure (there is a step that sets it up when you create your azure database), or the login/password of a user you created and granted in this database.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Failed to configure a DataSource: Intellij Error when connecting Database to Spring Application

PHP, Failed connecting to database

Auth failed, code 18 when connecting to MongoLab database

Deployment of application to device failed

Connecting Database to Application with NameCheap

connecting database to flutter application

Deployment failed when deploying application from eclipse jboss server

Login failed while connecting to database

Connecting the Login page with database failed

Error when connecting to database

Error when connecting to a SQL database: Cannot open database "Students.mdf" requested by the login. The login failed

App container not connecting properly to postgres database in deployment

Application deployment failed in websphere 7

Connecting to external database - Android application

Connecting the database of a desktop application with the database on another computer

Connecting remote database server in Rails app failed

Connecting to UCSC Genome MYSQL : "Failed to connect to database"

Lock SQLite database when connecting

Azure - Web deployment task failed. An error was encountered when processing operation 'Delete Directory' on (Application Insights)

Parameter/Column (2) not bound Exception when connecting C# application to SAP HANA database

Failed application output, successful deployment and build

Laravel application on the AWS ElasticBeanstalk is not connecting to the RDS database

Trouble connecting spring application to Mysql Database

Error connecting to Postgres database from UWP application

Connecting Android Application to MySQL Database hosted on AWS

Driver's SQLAllocHandle on SQL_HANDLE_HENV failed (0) (SQLDriverConnect) when connecting to Azure SQL database from Python running in OpenShift

C# application deployment issue with .mdf database

Commit hash of artefacts on Nexus when deployment is failed

PHP error when connecting to MySQL database