簡體   English   中英

管道sql server 2008的另一端沒有進程

[英]no process is on the other end of the pipe sql server 2008

我正在使用Windows身份驗證使用VS2012和SQL Server 2008開發Web應用程序。 當我從本地VM執行應用程序時,它連接到數據庫並正常工作。 但是,當我在服務器IIS中發布該應用程序時,出現此錯誤。“管道的另一端沒有進程”。 兩者都使用同一台數據庫服務器。 這是我的連接字符串。

<connectionStrings>
    <add name="DbConnectionString" connectionString="Data Source=XXXXXX200;Initial Catalog=XXXXX_XXXXX;Integrated Security=SSPI;" providerName="System.Data.SqlClient"/>
       </connectionStrings>

甚至嘗試過

Integrated Security=true; and Trusted_Connection=yes; 

並通過刪除

  providerName="System.Data.SqlClient".

但是仍然給錯誤。 但是同一件事在開發環境中也可以正常工作。 但是請注意托管服務器。

您能幫我在哪里和我想念的地方嗎?

請參考此。 這將為您提供指導,以解決問題http://technet.microsoft.com/zh-cn/library/ms175496%28v=sql.105%29.aspx

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM