SQL Server Express 2008 にリモート アクセスしています。
- サービス「SQL Server Browser」をオンにしました
- サービス「SQL Server (SQLExpress)」をオンにしました
- TCP/IP を有効にし、動的ポートを空白に設定し、プロパティで TCP ポートを 1433 に設定しました
- (IP を使用して) localy に接続できるので、資格情報は正しいです。
- ポート 1433 をオープンとして設定している Windows ファイアウォールに例外レコードがあります。
- システムの再起動を実行しましたが、すべてのサービスが引き続きオンになっています。
リモートコンピューター経由で接続しようとすると、このエラーが発生します。
Cannot connect to XXX.XXX.XXX.XX
===================================
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)
------------------------------
Error Number: 3
Severity: 20
State: 0
あなたのアイデアと解決策は大歓迎です。
KJ
こんにちは、迅速な対応に感謝します。現在、接続文字列はありません。次を使用して接続しようとしています: SQL Server Management Studio 2008
編集 2 ちょっとニック。私は SERVERNAME\SQLEXPRESS を使用して接続しています Windows ファイアウォールをオフにしましたが、それでも喜びはありませんでした。
あなたが提案したようにポートを追加してみました:
===================================
Cannot connect to XXX.XXX.XXX.XX, 1433.
===================================
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: TCP `Provider, error: 0 - No connection could be made because the target machine actively refused it.) (.Net SqlClient Data Provider)`