Shared Memory Provider, error: 0 - No process is on the other end of the pipe.

I've got a new Win2008R2 server setup which is a vm, to host a web site.

I've installed sql 2008 r2 express edition.

I can run queries fine from ssms but when the website connects through .NET sql client on the same machine I get this:

Shared Memory Provider, error: 0 - No process is on the other end of the pipe.

Full message:

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.)    


The connection strings I've tried are

server=computername\sqlexpress;database=WebSite;user id=website;password=xxxx

and

server=.\sqlexpress;database=WebSite;user id=username;password=xxxx


Remote connections are enabled and as far as I can tell named pipes is enabled and I just moved it to the top in the "order" of protocols.

thanks
LVL 8
plqAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
plqConnect With a Mentor Author Commented:
Yes, good to go now. I am deeply concerned that a vanilla implementation of an MS product like this plainly does not work out of the box.

Se la vie with Microsoft.

So the solution is to disable shared memory provide in sql configuration manager.
0
 
plqAuthor Commented:
Disabling "shared memory provider" seems to have fixed it. Will confirm and if so will accept own answer.. thanks
0
 
plqAuthor Commented:
Answered own question above
0
 
Felix LevenSenior System and DatabaseadministratorCommented:
Common connectivity errors in SQL 2005 and still very Common in Neuwerk Version:
http://blogs.msdn.com/b/sql_protocols/archive/2005/09/28/474698.aspx
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.