简体   繁体   中英

Connection to SQL Server 2008 through .NET

I installed SQL Server 2008 on my machine which is (Windows XP SP3).

Also I have Visual Studio 2008 installed in another machine on which there is a .net application. Now while I am trying to connect to the SQL Server from my .NET application.

I am unable to do so. I get an error message :

The client was unable to establish a connection because of an error during connection initialization process before login. Possible causes include the following: the client tried to connect to an unsupported version of SQL Server; the server was too busy to accept new connections; or there was a resource limitation (insufficient memory or maximum allowed connections) on the server. (provider: Named Pipes Provider, error: 0 - No process is on the other end of the pipe.)

Is it because of the client version being 2005 (which gets installed by default with Visual Studio 2008) and SQL Server being 2008?

provider: Named Pipes Provider, error: 0 - No process is on the other end of the pipe.

Do you actually have named pipes enabled for your SQL Server?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM