如何解决sql连接错误HResult 0x2, Level 16, State 1 Could not open a connection to SQL Server [2].
HResult0x2,Level16,State1NamedPipesProvider:CouldnotopenaconnectiontoSQLServer[2].Error:MicrosoftSQLNativeClient:Anerrorhasoccurredwhileestablishingaconnectiontotheserver.WhenconnectingtoSQLServer2005