Real Geek Forums  

Go Back   Real Geek Forums > Archives > Operating Systems > Windows Vista > Windows Vista Security

Notices

Reply

Connection problem

 

LinkBack Thread Tools Display Modes
Old 10-17-2007, 01:55 AM   #1 (permalink)
Default 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


vovan
Guest
 
Posts: n/a
Reply With Quote  
Old 10-17-2007, 04:08 AM   #2 (permalink)
Default Re: Connection problem

"vovan" <v@v.com> wrote in message
news:%23v2T$CGEIHA.3332@TK2MSFTNGP04.phx.gbl...
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


Andrew McLaren
Guest
 
Posts: n/a
Reply With Quote  
Reply

Tags
None

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
TPM connection problem Don Windows Vista Security 0 08-01-2007 02:50 PM
problem with my connection fuzzninja7 Windows XP Games 1 11-26-2006 05:46 AM
problem with msn 6 and connection Jonathan Kay [MVP] Windows XP Messenger 0 08-21-2003 01:27 AM
msn 6.0 connection problem CoopZ Windows XP Messenger 0 08-10-2003 06:26 PM
Msn connection problem Caza Windows XP Messenger 3 08-02-2003 08:07 AM


All times are GMT. The time now is 04:47 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright © 2005 - 2007 RealGeek.com. All rights reserved.

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 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90