我想知道如何将我的Web角色连接到现有的SQL数据库?在Web角色的属性设置选项卡下我试图添加新的设置与连接字符串到我的数据库,但是当我尝试登录(我使用asp.net身份,并使用代码第一次迁移我已成功播种数据库),我得到这个错误:如何使用sql数据库设置Azure Web服务
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.)]
那么什么是正确的方式来连接我的数据库到web角色?
谢谢,但选择YES – hyperN