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>
visual studio --> tools --> options --> database tools --> data connections --> changed "sql server instance name"
sqlexpress
blank.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\sqlexpresssql server browser running in system.
server name correct. no typo mismatch.
client machine able ping machine.
tcp 1433 , udp 1434 exception added firewall. turned off firewall in both system , client system.
please guide me how fix issue.
Comments
Post a Comment