I'm having trouble connecting the SQL Azure database through a web application published at this address:
This is the connection string:
<add name="Entities" connectionString="metadata=res://*/Context.ControleHorasContext.csdl|res://*/Context.ControleHorasContext.ssdl|res://*/Context.ControleHorasContext.msl;provider=System.Data.SqlClient;provider connection string="data source=srvdbacs2.database.windows.net;initial catalog=dbTimesheet;persist security info=True;user id=acensao@srvdbacs2;password=####;MultipleActiveResultSets=True;App=EntityFramework"" providerName="System.Data.EntityClient" />
Attempting to connect causes this error:
The underlying provider failed on Open
But when trying to connect through SQL Management Studio, it works perfectly.
I've also tried connecting debug to the local application pointing to the azure database to find errors, but it just does not trigger errors. The error is only occurring in the Azure environment.
What could be happening?