解释下:我用的是vs2005英文版,同时安装的有sqlserver2000 sqlserver2005
总是出现这个错误,然后我将sqlserver2005删除,可还是有这个错误错误语句是:connect1.Open();
错误描述:
An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)