I solved the problem. When connecting to a SQL Server database remotely from a Vista machine, the configuration string must use the ip address, ip port for the data source instead of the name of the server.
ex. data source=192,168.100.5,1433 not SQL_SERVER
Although the name of the server works from XP, it doesn't from Vista.