1
I’m having trouble connecting the Azure SQL database via a web application published at this address:
http://timesheetacs.azurewebsites.net/Login/Login
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" />
Trying to make the connection triggers this error:
The underlying Provider failed on Open
But when trying to connect through SQL Management Studio, it works perfectly.
I also tried to connect debug the local application pointing to the database to find errors, but it just doesn’t trigger errors. The error is only occurring in the Azure environment.
What may be happening?
confers its Connection string
– Eduardo Sampaio