Question : Error: (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe

My development machine (Windows 7, IIS, SQL Server Express 2008) has been 100% fine for 5 months - but today it started throwing the following error *Intermittently*. It does it from 2 separate websites (both working fine on production server & before on dev machine) - and sometimes in SQL Server Enterprise Manager.

A connection was successfully established with the server, but then an error occurred during the login process. (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.)

I have googled it but can't find any solutions that work - any ideas most appreciated - Im going crazy here.

Thanks.

Answer : Error: (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe

OK Solved it (with help from Microsoft)

Somehow max connections had got set to 3. Run this script to get the value & fix it



1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
-- turn on advanced options
sp_configure 'show advanced options', 1
go
 
reconfigure
go
 
-- display configuration value for max. number of user connections
sp_configure 'user connections'
go
 
sp_configure 'user connections', 0
go
 
-- turn the advanced options back off
sp_configure 'show advanced options', 0
go
 
reconfigure
go
 
 
select count(*) from sys.dm_exec_sessions where session_id > 50
Random Solutions  
 
programming4us programming4us