sql server 2008 error: 26 - error locating server/instance specified -


this arun chennai. have developed first application in wpf (c#) vs 2008 & sql server 2008. works fine on system. after deployment, won't work on other systems.

it shows following error message.

system.data.sqlclient.sqlexception - network related or instance specific error occurred while establishing connection sql server. server not found or not accessible. verify instance name correct , sql server configured allow remote connections.(provider: sql network interfaces, error: 26 - error locating server/instance specified).

i have gone through google , done following steps no use.

  • server name : ecare432\sqlexpress
  • instance name : sqlexpress

app.config has:

<connectionstrings>    <add name="timetracker.properties.settings.myecareconnectionstring"         connectionstring="data source=ecare432\sqlexpress;initial catalog=myecare;persist security info=true;user id=sa;password=ecare123@"          providername="system.data.sqlclient"/> </connectionstrings> 
  1. visual studio --> tools --> options --> database tools --> data connections --> changed "sql server instance name" sqlexpress blank.

  2. configuration tools -> sql server configuration manager -> sql native client configuration aliases -> alias name -> ecare432\sqlexpress,1433, port number -> 1433, protocol -> tcp/ip, server name -> ecare432\sqlexpress

  3. sql server browser running in system.

  4. server name correct. no typo mismatch.

  5. client machine able ping machine.

  6. tcp 1433 , udp 1434 exception added firewall. turned off firewall in both system , client system.

please guide me how fix issue.


Comments

Popular posts from this blog

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -