2013-02-26 2 views
0

작업 네트워크에서 SQL Azure 데이터베이스에 연결하려고합니다. 내 작업 네트워크를 통해 가정용 컴퓨터의 SQL Server에 연결할 수 있습니다 (1443). 하지만 SQL Azure 연결을 위해 나는 이것을 가지고있다.SQL Azure에 연결할 수 없습니다.

=================================== 

Cannot connect to vx9jyb8***.database.windows.net. 

=================================== 

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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (.Net SqlClient Data Provider) 

------------------------------ 
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=53&LinkId=20476 

------------------------------ 
Error Number: 53 
Severity: 20 
State: 0 


------------------------------ 
Program Location: 

    at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) 
    at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) 
    at System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject) 
    at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject) 
    at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart) 
    at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance) 
    at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance) 
    at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection) 
    at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup) 
    at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) 
    at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) 
    at System.Data.SqlClient.SqlConnection.Open() 
    at Microsoft.SqlServer.Management.SqlStudio.Explorer.ObjectExplorerService.ValidateConnection(UIConnectionInfo ci, IServerType server) 
    at Microsoft.SqlServer.Management.UI.ConnectionDlg.Connector.ConnectionThreadUser() 

내 IP가 Azure 포털의 허용 된 IP 주소에 추가되었습니다.

C:\Users\UName>ping vx9jyb8***.database.windows.net 

Pinging data.bl2-1.database.windows.net [168.62.47.---] with 32 bytes of data: 
Reply from 168.62.47.---: bytes=32 time=61ms TTL=108 
Reply from 168.62.47.---: bytes=32 time=51ms TTL=108 
Reply from 168.62.47.---: bytes=32 time=49ms TTL=108 
Reply from 168.62.47.---: bytes=32 time=49ms TTL=108 

Ping statistics for 168.62.47.---: 
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), 
Approximate round trip times in milli-seconds: 
    Minimum = 49ms, Maximum = 61ms, Average = 52ms 

내가 무엇을 할 수 : 나는 또한 1.1.1.1-255.255.255.255

핑이 규칙을 만들?

+0

경우 잘못 프로그래머 뭔가. – JuneT

+0

SQL 관리자를 사용합니다. 서버 : vx9jyb8---.database.windows.net 로그인 : p --- r 비밀 번호 : 1 --- (--- 3e 나는 모든 것이 내 집에서 작동하기 때문에 네트워크의 문제라고 생각합니다. 직장에서 집 SQL 서버에 연결할 수 있지만 하늘빛에는 연결할 수 없습니다 .... – Cherven

답변

1

글쎄, 아주 간단한 일이지만, 시도했는지 확실하지 않습니다. 포털 Azure를 작성하여 IP 또는 네트워크를 해제하십시오.

문제가 계속 더 많은 데이터를 계속보고하는 경우 Google에서 도움을 드릴 수 있습니다.

감사합니다, Marcondes 알렉산더

당신은 사람들이보고를 할 수 있도록 연결 문자열을 게시 할 수 있습니다
+0

내 IP에 대해 Azure에 대한 규칙이 있습니다.하지만 다른 점은 ... – Cherven

관련 문제