我嘗試連接到SQL Server時遇到問題。 我嘗試使用我的連接字符串上的服務器的IP地址或名稱,但我仍然收到「錯誤定位服務器」。 我在服務器上啓用了TCP/IP並重新啓動它,但沒有好的結果。「錯誤定位服務器」 - SQL Server 2014
我實際的連接字符串是:Server=POSTESERVEUR-PC\SQLEXPRESS;Integrated Security=false;Database=****;User ID=****;Password=****;
的錯誤是:
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:26 - Error Locating Server/Instance Specified)
我一直讀了很多的答案類似的問題,但我還是不明白我在做什麼錯誤。
SQL服務正在運行,TCP/IP正在偵聽,並且我可以通過CMD ping服務器,用戶ID也起作用,所以出了什麼問題?
歡迎任何想法。謝謝。
,請複製粘貼整個錯誤 – TheGameiswar
我編輯自己的帖子@TheGameiswar – BlackAlpha