I am an Azure newcomer.
I went through Get Started with Azure Cloud Services tutorial and can run the Contoso Ad app locally.
When I push it to my dev/test Azure account, the app cannot see the database.
You can see it live here: My Dev/Test Azure instance running Contoso Ad App
I can run SSMS locally and connect to my database:
I did have to add my home IP Address to the Firewall rules:
Questions:
Is there any way I can see more about what Azure doesn't like when trying to connect to the database?
I followed the tutorial step-by-step, and I'm sure my connection Strings are correct, especially since I can connect from SSMS at home. Any firewall changes that need to be made so an Azure Web App can see an Azure SQL Server database?
Thank you very much in advance!
Web.Release.config
file, but when I do a local Release build, and go toContosoAdsWeb\bin\ContosoAdsWeb.dll.config
, I am seeing<add name="ContosoAdsContext" connectionString="Data Source=(localdb)\MSSQLLocalDB; Initial Catalog=ContosoAds; Integrated Security=True; MultipleActiveResultSets=True;" providerName="System.Data.SqlClient" />
– Philip Tenn