Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Sir i created window form application setup And correct working my laptop but problem is when i install another system there are not login error following :-

Unhandle Exception has occurred in your application.

A network related or instance- specific error occurred while establishing a connection to sql server. the server was not found or was not accessible. verify that the instance name is correct and that sql server  is configured to allow remote connection(provide: SQL network interfaces, error:-26 ERROR locatings server/intance specified)
Posted
Updated 29-Aug-14 2:11am
v3
Comments
Richard MacCutchan 29-Aug-14 7:57am    
Check the connection, like it says in the message.
Nishant.Chauhan80 29-Aug-14 8:12am    
But sir how to check connection other system
Herman<T>.Instance 29-Aug-14 8:26am    
Make sure the db accepts remote connections

1 solution

All this means is it cannot connect to whatever SQL server you told it to. You just need to correct that.
 
Share this answer
 
Comments
Nishant.Chauhan80 29-Aug-14 8:15am    
But how to connect connection other system i have also install sql server in other system
ZurdoDev 29-Aug-14 8:16am    
I don't understand your question. I think you may want to google on how to prompt for SQL information during setup. That might solve whatever it is you are looking for.

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