2014-02-23 4 views
0

내 웹 역할을 기존 SQL 데이터베이스에 어떻게 연결할 수 있습니까? 웹 역할 속성의 설정 탭에서 데이터베이스에 연결 문자열을 사용하여 새로운 설정을 추가하려고 시도했지만 로그인하려고 할 때 (asp.net ID를 사용하고 코드 첫 마이그레이션을 사용하여 성공적으로 DB를 시드했습니다.),이 오류가 발생합니다 :SQL 데이터베이스를 사용하여 Azure 웹 서비스를 설치하는 방법

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.)] 

그렇다면 DB를 웹 역할에 연결하는 올바른 방법은 무엇입니까?

답변

1

연결 문자열에 어리석은 문제가있어서 해결했습니다.

0

SQL Azure 데이터베이스의 대시 보드를 살펴보십시오. "허용 된 IP 주소 관리"링크를 클릭하십시오.

허용 된 서비스에서 Windows Azure Services가 YES로 설정되어 있는지 확인하십시오.

모든 Azure의 SQL 데이터베이스에는 액세스 할 수있는 IP 범위에 대한 화이트리스트가 필요합니다.

+0

감사합니다. 예 – hyperN