A network-releated or instance-specific error occurred while establishing a connection to SQL Server

前端 未结 2 614
刺人心
刺人心 2021-01-02 16:06

I have a simple mvc web site (using the VS internet template) on azurewebsites talking to a SQL Azure database in the same data center. The database at this time is just to

2条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-02 16:30

    Add a element as the first element under the connectionstrings element to ensure no strings are being inherited. Also, I assume your Azure SQL DB is set up with proper firewall settings allowing your IP where the ASP.net code is deployed?

提交回复
热议问题