{"id":76,"date":"2011-12-14T06:28:52","date_gmt":"2011-12-14T06:28:52","guid":{"rendered":"https:\/\/sqlserverlearner.azurewebsites.net\/2011\/12\/14\/sql-server-error-26\/"},"modified":"2011-12-14T06:28:52","modified_gmt":"2011-12-14T06:28:52","slug":"sql-server-error-26","status":"publish","type":"post","link":"https:\/\/sqlserverlearner.com\/2011\/12\/14\/sql-server-error-26\/","title":{"rendered":"sql server error 26"},"content":{"rendered":"
microsoft sql server error 26 – Error Locating Server\/Instance Specified<\/strong><\/p>\n This is an instance specific error.This error does not Occur for default instances.This occurs mainly as a result of missing responce from the sql server browser service.<\/p>\n When you try to connect to an instance of SQL Server then you get the following error:<\/p>\n Cannot connect to SERVERINSTANCE.<\/strong><\/p>\n Additional information would be as follows:<\/strong> The following post helps you understand the basic reasons for network related errors in sql server Causes For Network Related Errors in SQL Server<\/a><\/p>\n Fix for this error:<\/strong><\/p>\n If you are the admin of the server on which the instance is running then<\/p>\n Complete error in SQL Server Management Studio – SSMS:<\/strong><\/p>\n [xml] Cannot connect to SERVERNAMEINSTANCENAME.<\/p>\n ===================================<\/p>\n 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 connections. (provider: SQL Network Interfaces, error: 26 – Error Locating Server\/Instance Specified) (.Net SqlClient Data Provider)<\/p>\n —————————— —————————— —————————— at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) [\/xml]<\/p>\n References: MSDN<\/p>\n search references: microsoft sql server error 26 – Error Locating Server\/Instance Specified This is an instance specific error.This error does not Occur for default instances.This occurs mainly as a result of missing responce from the sql server browser service. When you try to connect to an instance of SQL Server then you get the following error: Cannot…<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[128],"tags":[239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272],"class_list":["post-76","post","type-post","status-publish","format-standard","hentry","category-sql-errors","tag-a-network-related-or-instance-specific-error-2","tag-a-network-related-or-instance-specific-error-26","tag-a-network-related-or-instance-specific-error-occurred","tag-a-network-related-or-instance-specific-error-occurred-while-establishing","tag-a-network-related-or-instance-specific-error-occurred-while-establishing-a-connection-to-sql-2005","tag-a-network-related-or-instance-specific-error-occurred-while-establishing-a-connection-to-sql-2008","tag-a-network-related-or-instance-specific-error-occurred-while-establishing-a-connection-to-sql-2012","tag-a-network-related-or-instance-specific-error-occurred-while-establishing-a-connection-to-sql-server","tag-a-network-related-or-instance-specific-error-occurred-while-establishing-a-connection-to-sql-server-26","tag-a-network-related-or-instance-specific-error-sql-server-2005","tag-a-network-related-or-instance-specific-error-sql-server-2008","tag-a-network-related-or-instance-specific-error-sql-server-2012","tag-cannot-connect-to-servernameinstancename","tag-error-26-connecting-sql-server-2005","tag-error-26-error-locating-server","tag-error-26-locating-server-instance","tag-error-26-sql-server-express","tag-error-26-error-locating-server-instance-specified","tag-host-error-26","tag-microsoft-sql-server-error-26","tag-sharepoint-2010-provider-sql-network-interfaces-error-26-error-locating-server-instance-specified","tag-sharepoint-provider-sql-network-interfaces-error-26-error-locating-server-instance-specified","tag-sql-error-26-cannot-connect","tag-sql-error-26-connection","tag-sql-error-26-install","tag-sql-network-interfaces-error-26","tag-sql-network-interfaces-error-26-error-locating-server-instance-specified","tag-sql-server-2005-error-26-error-locating-server-instance-specified","tag-sql-server-2008-error-26-error-locating-server-instance-specified","tag-sql-server-a-network-related-instance-specific-error","tag-sql-server-a-network-related-or-instance-specific-error","tag-sql-server-error-26","tag-sql-server-error-26-error-locating-server-instance-specified","tag-sqlserver-error-26"],"_links":{"self":[{"href":"https:\/\/sqlserverlearner.com\/wp-json\/wp\/v2\/posts\/76","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sqlserverlearner.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sqlserverlearner.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sqlserverlearner.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sqlserverlearner.com\/wp-json\/wp\/v2\/comments?post=76"}],"version-history":[{"count":0,"href":"https:\/\/sqlserverlearner.com\/wp-json\/wp\/v2\/posts\/76\/revisions"}],"wp:attachment":[{"href":"https:\/\/sqlserverlearner.com\/wp-json\/wp\/v2\/media?parent=76"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sqlserverlearner.com\/wp-json\/wp\/v2\/categories?post=76"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sqlserverlearner.com\/wp-json\/wp\/v2\/tags?post=76"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\nA 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 connections. (provider: SQL Network Interfaces, error: 26 – Error Locating Server\/Instance Specified) (.Net SqlClient Data Provider)
\n<\/font><\/p>\n
\nError Number: -1
\nSeverity: 20
\nState: 0<\/p>\n\n
\n
\nFollowing are the minimum necessary permissions for the account:
\n– Should have permission to log on as a service
\n– Should have permissions to read and write the SQL Server registry keys, in order to fetch the port details etc.
\nAlso this security context of this account should be of a low privileged user, this minimizes exposure to attacks through the network.\n<\/li>\n
\nportqry -n SERVERNAME -p UDP -e 1434<\/strong><\/em>
\nportqry can be downloaded from
\nPortQry Command Line Port Scanner Version 2.0<\/a>\n<\/li>\n<\/ul>\n
\n===================================<\/p>\n
\nFor help, click: http:\/\/go.microsoft.com\/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=-1&LinkId=20476<\/p>\n
\nError Number: -1
\nSeverity: 20
\nState: 0<\/p>\n
\nProgram Location:<\/p>\n
\n at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
\n at System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject)
\n at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject)
\n at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart)
\n at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)
\n at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)
\n at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)
\n at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup)
\n at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
\n at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
\n at System.Data.SqlClient.SqlConnection.Open()
\n at Microsoft.SqlServer.Management.UI.ConnectionDlg.Connector.ConnectorThread()<\/p>\n
\nsql error 26
\nsql server error 26 error locating server instance specified
\nsql server 2008 error 26 error locating server instance specified
\nsql server 2005 error 26 error locating server instance specified
\nsql network interfaces error 26 error locating server instance specified
\nsharepoint 2010 provider sql network interfaces error 26 error locating server instance specified
\nsharepoint provider sql network interfaces error 26 error locating server instance specified
\nerror 26 sql server express
\nsql error 26 connection
\nsql error 26 cannot connect
\nsql error 26 install
\nsql network interfaces error 26
\nhost error 26
\nerror 26 connecting sql server 2005
\nerror 26 error locating server
\nerror 26 locating server instance
\nsql server error 26
\nsql server error 26 firewall
\nsql server error 26 2008<\/p>\n","protected":false},"excerpt":{"rendered":"