Click here to Skip to main content
15,887,214 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
I keep getting named pipe provider error 40 with the following connection string each time i run my application:

SQL
"Data Source= ItSupport;initial catalog= POSTRANS;integrated security= true"


Please any help will be appreciated.
Posted
Updated 15-Dec-15 23:13pm
v2

1 solution

Try this: How to Fix named Pipes Provider Error 40 cannot open connection to Sql server instance[^]

Symptoms of error

A network related or instance specific error occurred while establishing a connection to sql server the server was not found or not accessible.verify that the instance name is correct (Provider : Named pipes error Error no 40; etc.
 
Share this answer
 
v2
Comments
Frankie-10589807 16-Dec-15 11:51am    
Thank you so much. I have been able to find a way arrount this issue. Thee problem was that, i am deploying the application i created on my pc to another system, but i was getting the default sql server instance wrong on my connection string. Instead of
"Data Source= ItSupport\SQLEXPRESS;initial catalog=POSTRANS;integrated security=true", i was entering the above string.

Thanks for the help.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900