Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / Database Access / September 2007



Tip: Looking for answers? Try searching our database.

Use an IP addr for the Data Source?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Martin - 28 Sep 2007 16:37 GMT
I have an app that makes a connection to an SQL database using ADODB.
I am setting the "Data Source" to be the name of the server where the
database is. This all works properly - no problems.

But, if I instead set the Data Source to be the server's IP address,
an "SQL Server does not exist..." error is generated. I have tried
several variations of the IP address (preceding it with 2 backslashes,
1 backslash, no backslashes, a trailing backslash, etc.) but can't
find anything that works.

Any suggestions as to how to get this to work?

Thanks
Martin - 28 Sep 2007 17:35 GMT
>I have an app that makes a connection to an SQL database using ADODB.
>I am setting the "Data Source" to be the name of the server where the
[quoted text clipped - 9 lines]
>
>Thanks

Never mind - I figured it out.

Left off the leading slashes and added ",1433" to the end of the IP
address.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.