Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Vista Newsgroups > Vista security

Connection problem

Closed Thread
 
Thread Tools Display Modes
Old 10-16-2007   #1 (permalink)
vovan
Guest


 

Connection problem

My VB 6 program uses this connection string to connect to the server:
user id=coord;data source=GS;persist security
info=True;Password=coord;initial catalog=CoordinatorTest
It works fine on all XP machines, but it doesn't work on only some of Vista
Business machines. It says Server doesn't exists or access denied. On some
other Vistas it works.
When I replace the name of the SQL Server with IP:
user id=coord;data source=10.22.52.4;persist security
info=True;Password=coord;initial catalog=CoordinatorTest

then it works.

I wouldn't want to create the different Connection strings for different
operating systems.

What's wrong with some of non working Vista's machines? What should be done
in order to make all of Vista machines work?

Thank you
vovan


Old 10-16-2007   #2 (permalink)
Andrew McLaren
Guest


 

Re: Connection problem

"vovan" <v@xxxxxx> wrote in message
news:%23v2T$CGEIHA.3332@xxxxxx
Quote:

> When I replace the name of the SQL Server with IP:
> user id=coord;data source=10.22.52.4;persist security then it works.
It sounds like your Vista machines can locate data sources by IP address,
but not by hostname. You'd want to troubleshoot this as a general TCP/IP
Name resolution problem - make sure DNS Settings are correct; does a "ping
<hostname> from an Vista Command Line give same results as "ping <IP
address>"?; etc.

The Netdiag tool from the XP Support Tools also runs on Vista; just copy
over the netdiag.exe file from XP. Then run

C:\FOO>netdiag /v /debug

on the Vista machine, to run a comprehensive test for DNS and Domain
problems.

You don't say whether you're using ODBC, OLE DB, SQL Native Client, or what;
but generally, they should all work on Vista much the same as on XP. More
likely to be networking than compatibility, I'd guess.

Hope it helps,
--
Andrew McLaren
amclar (at) optusnet dot com dot au


Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mac to PC connection problem lb Vista networking & sharing 7 06-23-2008 03:45 PM
USB Connection problem Kal Vista hardware & devices 1 02-24-2008 02:34 PM
another connection problem Len Vista networking & sharing 1 01-17-2008 05:02 AM
Connection problem Budgie Vista General 1 06-29-2007 10:32 PM
WRE connection problem Mikko24 Vista networking & sharing 0 06-19-2007 04:49 AM








Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50