1. 程式人生 > >SQL Server2008連線錯誤'233',幫你解決

SQL Server2008連線錯誤'233',幫你解決

連線SQL Server2008時出現錯誤提示:已經成功與伺服器建立連線,但是在登入過程中發生錯誤。(Provider:命名管道提供程式,error:0-管道的另一端上無任何過程。)(Microsoft SQL Server,錯誤:233)。
<pre style="padding: 0px; margin-top: 10px; margin-bottom: 0px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;" class="line mt-10 q-content" name="code"><span style="font-family:SimSun;font-size:18px;background-color: rgb(255, 255, 255);">    造成這種錯誤的原因可能是在安裝SQL Server2008時沒有設定TCP埠,或者TCP/IP協議未啟動。具體解決步驟如下:</span>
<pre style="padding: 0px; margin-top: 10px; margin-bottom: 0px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;" class="line mt-10 q-content" name="code"><span style="font-family:SimSun;font-size:18px;background-color: rgb(255, 255, 255);">    1,開啟“MicrosoftSQL Server 2008--配置工具--SQL Server配置管理器”</span>
<pre>
<pre style="padding: 0px; margin-top: 10px; margin-bottom: 0px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;" class="line mt-10 q-content" name="code"><span style="font-family:SimSun;background-color: rgb(255, 255, 255);"><span style="font-size:18px;">    2,如圖,在SQLServer配置管理器對話方塊中找到“SQL Server服務”單擊——>右面內容視窗中的服務專案確保處於執行狀態:選中——>滑鼠右鍵單擊——>單擊“啟動”</span></span>
<pre style="padding: 0px; margin-top: 10px; margin-bottom: 0px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;" class="line mt-10 q-content" name="code"><span style="font-family:SimSun;background-color: rgb(255, 255, 255);"><span style="font-size:18px;"><img alt="" src="https://img-blog.csdn.net/20130816172207046?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdTAxMDc3MzY2Nw==/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" /></span></span>
<pre style="padding: 0px; margin-top: 10px; margin-bottom: 0px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;" class="line mt-10 q-content" name="code"><span style="font-family:SimSun;background-color: rgb(255, 255, 255);"><span style="font-size:18px;"><span style="font-family:SimSun;line-height: 26px;"> </span></span></span><span style="font-family:SimSun;font-size:18px;background-color: rgb(255, 255, 255);">   3,在左邊的活動視窗中找到“SQL Server網路配置”單擊——>單擊“MSSQLSERVER的協議”——>啟用"TCP/IP"和"NamedPipes"。</span>
<pre>
<pre style="padding: 0px; margin-top: 10px; margin-bottom: 0px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;" class="line mt-10 q-content" name="code"><span style="font-size:18px;"><img alt="" src="https://img-blog.csdn.net/20130816172230296?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdTAxMDc3MzY2Nw==/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" /></span>
<pre style="padding: 0px; margin-top: 10px; margin-bottom: 0px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;" class="line mt-10 q-content" name="code"><span style="font-family:SimSun;font-size:18px;background-color: rgb(255, 255, 255);">    4,在啟動TCP/IP協議後,還要把其屬性中的TCP埠號改為1433(動態埠)或修改為自己想要的埠號.。步驟:右擊"TCP/IP屬性",在彈出的快捷選單列表中選中”屬性“選項並單擊。</span><span style="font-family:SimSun;font-size:18px;background-color: rgb(255, 255, 255);">在彈出的屬性對話方塊中單擊”IP地址“選項卡,在TCP埠中輸入”1433“。</span>
<pre>
<pre style="padding: 0px; margin-top: 10px; margin-bottom: 0px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;" class="line mt-10 q-content" name="code"><span style="font-family: SimSun; background-color: rgb(255, 255, 255);"><span style="font-family:SimSun;line-height: 26px;"><span style="font-family:SimSun;line-height: 26px;"><span style="font-size:18px;"><img alt="" src="https://img-blog.csdn.net/20130816172256734?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdTAxMDc3MzY2Nw==/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" /></span></span></span></span>
<pre style="padding: 0px; margin-top: 10px; margin-bottom: 0px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;" class="line mt-10 q-content" name="code"><span style="font-family: SimSun; background-color: rgb(255, 255, 255);"><span style="line-height: 26px; font-family: SimSun;"><span style="font-family:SimSun;line-height: 26px;"><span style="font-family:SimSun;line-height: 26px;"><span style="font-size:18px;">   單擊確定就OK啦。</span></span></span></span></span>