Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Application does not work with named instances?! Expand / Collapse
Author
Message
Posted Monday, February 25, 2013 3:24 PM
Mr or Mrs. 500

Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500

Group: General Forum Members
Last Login: Thursday, June 19, 2014 6:36 PM
Points: 586, Visits: 822
So I just have to ask this because I am a bit baffled and flabbergasted by this situation. In 9 years I have not come across an issue where an application built on SQL, could not work if it was set on a named instance.

We have forecasting software that we are implementing, and some functions do not work because the parameters passed to the API will not accept the servername/instance name. It really blows my mind as default/named instances aren't even remotely new, and this company is 20 years old. I can't understand how they would have never encountered this in the past.

The server we have for this is on a shared hosted solution so for obvious reasons we cannot get the default instance.

Has anyone else encountered this? If so, did you find a workaround?


Link to my blog http://notyelf.com/
Post #1423796
Posted Tuesday, February 26, 2013 3:09 AM


SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Wednesday, October 22, 2014 1:52 AM
Points: 120, Visits: 368
Are you working with the standard port 1434? Got allow remote connections enabled :P?

Greetz
SQL Pizza



sometimes you dont see the pizza for the toppings...
seek and ya shall find...
Post #1423962
Posted Tuesday, February 26, 2013 7:24 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: 2 days ago @ 1:53 PM
Points: 51, Visits: 423
You probably know this but it is servername\instance not / (you wrote / twice so maybe thats the problem?).

Have you tried servername,portnumber instead of servername\instance?
Post #1424076
Posted Tuesday, February 26, 2013 9:06 AM
Mr or Mrs. 500

Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500

Group: General Forum Members
Last Login: Thursday, June 19, 2014 6:36 PM
Points: 586, Visits: 822
Ah yes sorry bad habit. Yes I tried it with the backslash, I have no idea why I put the / slash but I just do that sometimes

There is no where in the software that I know of to call out a port number but I will check with them to see if that is possible!


Link to my blog http://notyelf.com/
Post #1424133
Posted Tuesday, February 26, 2013 11:25 PM


SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Wednesday, October 22, 2014 1:52 AM
Points: 120, Visits: 368
Damn.../ only with internet protocols...never mind...my web developers also mix up / and \ very often...so it seems to be an webdev illness .

You can change the port with the sql server configuration manager -> network configuration -> tcp/ip -> ip-adresses -> ports.


Greetz
SQL Pizza



sometimes you dont see the pizza for the toppings...
seek and ya shall find...
Post #1424342
Posted Thursday, February 28, 2013 10:47 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Yesterday @ 10:47 AM
Points: 7,126, Visits: 12,727
shannonjk (2/26/2013)
There is no where in the software that I know of to call out a port number but I will check with them to see if that is possible!

If it is using the SQL Native Client Drivers then you append the port to the backend of the servername with a comma separating the two, with the form:

servername,portnumber


example:

dbserver01,1733




__________________________________________________________________________________________________
There are no special teachers of virtue, because virtue is taught by the whole community. --Plato
Post #1425351
Posted Friday, March 1, 2013 1:17 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Yesterday @ 11:17 PM
Points: 6,490, Visits: 13,968
shannonjk (2/25/2013)
In 9 years I have not come across an issue where an application built on SQL, could not work if it was set on a named instance.

It's usually because the developer hard codes port 1433 into the connection string in the app, this will then only connect to a default instance or a named instance using the default port (which never usually happens)


-----------------------------------------------------------------------------------------------------------

"Ya can't make an omelette without breaking just a few eggs"
Post #1425390
Posted Friday, March 1, 2013 1:03 PM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Yesterday @ 6:14 AM
Points: 65, Visits: 404
You can also do server\instance,port
like
SQL01\TestInst,55001
Post #1425705
Posted Friday, March 1, 2013 1:34 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Yesterday @ 10:47 AM
Points: 7,126, Visits: 12,727
scogeb (3/1/2013)
You can also do server\instance,port
like
SQL01\TestInst,55001

Depending on the driver the instance name can take precedence over the port, or vice-versa. It is not consistent across drivers. I would recommend against employing something like that as a standard approach.


__________________________________________________________________________________________________
There are no special teachers of virtue, because virtue is taught by the whole community. --Plato
Post #1425715
Posted Friday, March 1, 2013 2:19 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Yesterday @ 11:17 PM
Points: 6,490, Visits: 13,968
scogeb (3/1/2013)
You can also do server\instance,port
like
SQL01\TestInst,55001

You generally supply one or the other. Instance name or port number not both.


-----------------------------------------------------------------------------------------------------------

"Ya can't make an omelette without breaking just a few eggs"
Post #1425747
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse