Strotzyl Posted September 23, 2008 Posted September 23, 2008 I created a rule in ISA Server 2004 to allow access to an MSDE instance on a win server 2003. When connecting from the computer that I allowed in the rule, I get the message: 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 the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) Does anyone have any suggestions? I have allowed outbound traffic for all users on TCP port 1433 (default Microsoft SQL port) and also allowed access to the port for the named instance. When ISA is not installed, I can access the database from any computer. Please Help!
bala4901 Posted March 13, 2009 Posted March 13, 2009 visit: Share experience between developer: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified Error when connecting to SQL server: Below are steps may try to help: 1) Make sure your server name is correct, e.g., no typo on the name. 2) Make sure your instance name is correct and there is actually such an instance on your target machine. [update: Some application converts \\ to \. If you are not sure about your application, please try both Server\Instance and Server\\Instance in your connection string] 3) Make sure the server machine is reachable, e.g, DNS can be resolve correctly, you are able to ping the server (not always true). 4) Make sure SQL Browser service is running on the server. 5) If firewall is enabled on the server, you need to put sqlbrowser.exe and/or UDP port 1434 into exception. Best Regard, Fellow developer ------------------------------------------------------------------------- Visit Url: Share experience between developer 1
mac_shinobi Posted March 13, 2009 Posted March 13, 2009 visit: Share experience between developer: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified Error when connecting to SQL server: Below are steps may try to help: 1) Make sure your server name is correct, e.g., no typo on the name. 2) Make sure your instance name is correct and there is actually such an instance on your target machine. [update: Some application converts \\ to \. If you are not sure about your application, please try both Server\Instance and Server\\Instance in your connection string] 3) Make sure the server machine is reachable, e.g, DNS can be resolve correctly, you are able to ping the server (not always true). 4) Make sure SQL Browser service is running on the server. 5) If firewall is enabled on the server, you need to put sqlbrowser.exe and/or UDP port 1434 into exception. Best Regard, Fellow developer ------------------------------------------------------------------------- Visit Url: Share experience between developer as per the question he tried 1433 ( unless that was a typo ) other then that would be good to see if any of the above helps 1
Drax Posted March 13, 2009 Posted March 13, 2009 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 the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) Does anyone have any suggestions? I have allowed outbound traffic for all users on TCP port 1433 (default Microsoft SQL port) and also allowed access to the port for the named instance. When ISA is not installed, I can access the database from any computer. Please Help! A couple come to mind, have you tried the surface area config for remote connections and also under the security logins for your SQL SVR in management studio put in \$ and given rights? (replacing the <> with your settings) 1
Strotzyl Posted March 14, 2009 Author Posted March 14, 2009 A couple come to mind, have you tried the surface area config for remote connections and also under the security logins for your SQL SVR in management studio put in \$ and given rights? (replacing the <> with your settings) I am pretty sure that I tried that, but I will check on Monday. Thanks.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now