I use the connection string that Azure provides but it doesnt work. Perhaps connection string of Azure app service and local host is different? Or is there anything I should fix besides my connection string for the app able to run in local host?
Asked
Active
Viewed 364 times
1 Answers
0
Connection string should be the same from whereever you are connecting from. Things to try:
- Check that your connection string is valid / access is by connecting to it from SQL Server Management Studio in your local machine
- If you are copying the connection string from Azure SQL Portal, you will need to explicitly replace {password} with the actual password.
- If connecting string is all correct but you still cannot connect, check your firewall rules in Azure SQL

thebernardlim
- 755
- 2
- 10
- 23
-
I can connect through SSMS and I’ve replaced my own password in the connection string. If the application is using model/db first and I’m migrating the mssql to Azure sql is there anything else I should modify? – Nayli Fatini Mar 21 '20 at 08:28