all groups > sql server connect > february 2007 >
You're in the

sql server connect

group:

visual studio 2005 sql different port....


visual studio 2005 sql different port.... C
2/26/2007 4:13:40 AM
sql server connect: I have a question that is prob. something really quick to solve..... I
am writing a program using C# and VS2005 I have two diff. ms sql
servers set up on one ip using different ports for each. I can connect
to one of the servers using the standard port but I have not been able
to connect to the other server. Is there a way in VS2005 to specify a
port to connect on... wasnt there a way in vs2003? Any help would be
awesome and greatly appreciated.


thanks,


cdp
Re: visual studio 2005 sql different port.... C
2/26/2007 4:38:56 AM
[quoted text, click to view]

I figured it out and wow I feel stupid! I was trying....
examplesqlserver.com:1234 and with a little experimentation usinb odbc
I saw when i configured the port it was using a comma....
examplesqlserver.com,1234 and then I went back and changed some
settings and it worked!



ttyl,


cdp
Re: visual studio 2005 sql different port.... Sue Hoegemeier
2/26/2007 5:19:58 PM
I wouldn't feel too stupid if I were you - that's a pretty
good job of figuring things out. Thanks for posting back!

-Sue

On 26 Feb 2007 04:38:56 -0800, "C" <devprog@newfound.biz>
[quoted text, click to view]
AddThis Social Bookmark Button