Click here to Skip to main content
15,900,815 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have done Krypton project in VS 2010. And there is a data base which created in MSSQL 2005 express. The project has several data grid views and data sets. I have displayed Some data using data grid view using data sets without any coding just configure the data grid view. My project is working. but when i created a setup file using inno setup software and create the data base in another pc and run that setup file and installed it some interface are working but interfaces which contain data grid view dosent display and it displays

"An error has occurred while establishing a connection to the server when connecting to SQL server 2005, this failure may be caused by the fact that under default settings SQL server does not allow remote connection. ( provider: Named Pipes Provider, error: 40 – could not open a connection to SQL server. "
Please help me i'm in a big trouble. I should finish this assignment. :(

i searched this error in internet ant have done lot of configurations but still couldn't fix it. give me some solution.
Posted
Updated 1-Jun-12 10:36am
v2

Please, have a look here: Named Pipes Provider, error 40...[^]
 
Share this answer
 
Comments
VJ Reddy 5-Jun-12 19:56pm    
Good reference. 5!
Maciej Los 6-Jun-12 9:16am    
Thank you, VJ ;)
Basically, it sounds like you have not enabled Named Pipes on your SQL Server database. Here is an article that will tell you how to do so:

http://geekswithblogs.net/TimH/archive/2006/01/30/67586.aspx[^]
 
Share this answer
 

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