I have an application, split into three sections which are all hosted on Azure:
(1) Client Application (HTML5, CSS3, JS),
(2) Web API,
(3) SQL Server Database Instance.
I have all these working on localhost, after enabling the client IP in the database's firewall settings on Azure, however, when deploying the application, I am getting the following error from the Web API:
[Win32Exception]: The system cannot find the file specified [SqlException]: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 52 - Unable to locate a Local Database Runtime installation. Verify that SQL Server Express is properly installed and that the Local Database Runtime feature is enabled.)
I tried to check the firewall settings on Azure, and I have the "Allow access to Azure Services" which I am guessing means that the WebAPI Service should have access to the database.
I have just successfully connected via SQL Server Management Studio with the same credentials within the web.config as well.
Is there something else I should check?