Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我尝试使用 asp.net 中的数据网格视图动态加载我的页面时,我的数据库连接出现了一些问题,我收到了一些错误,例如:-
建立与服务器的连接时发生错误。连接到 SQL Server 2005 时,此故障可能是由于在默认设置下 SQL Server 不允许远程连接造成的。提供程序:命名管道提供程序,错误:40 - 无法打开与 SQL Server 的连接
查看如何配置 SQL Server 2005 以允许远程连接和SQL Server 论坛中的此线程。
在 SQl Server 配置管理器上启用命名管道:
这里有一个更复杂的解释