SQL server命名管道问题

时间:2015-12-11 14:03:16

标签: c# .net sql-server

enter image description here我有.net framework 2.0的桌面应用程序现在我们正在迁移到sql server 2014.我在C#中开发的桌面应用程序在运行项目时抛出了这个错误。

  

已成功与服务器建立连接,但随后出现错误   在登录过程中发生。(提供者名为pipes provider,error = no process   在管道的另一端

我检查了名为pipe的sql server设置已启用。

你能告诉我该怎么办?

1 个答案:

答案 0 :(得分:0)

我认为问题在于未启用命名管道和TCP / IP连接。请仔细阅读以下链接,然后按照步骤进行操作。

http://blog.sqlauthority.com/2009/05/21/sql-server-fix-error-provider-named-pipes-provider-error-40-could-not-open-a-connection-to-sql-server-microsoft-sql-server-error/