Mickael,

Add an entry in your host file for your machine - or use "localhost" or
127.0.0.1. When you say "my machine name' you are really talking about an
NBT name - and the JDBC system would not be able to resolve that. It uses
(in order) HOSTS file, DNS and IP.

-Mark


-----Original Message-----
From: Mickael Elmalem [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 18, 2005 3:07 PM
To: CF-Talk
Subject: Problems Making a CF DSN to SQL Server


 Hello All,

I need to do some work on a clients site locally on my machine.  This is a
new laptop that has just been installed for me.

I have installed CF 6.1 on the machine because that what the customer is
using and Sql Server.

I am not able however to get an MS SQL dsn in CF to work.  I go to data
sources in the CF Admin

Add the Datasource Name and select Microsoft SQL Server as a Driver

On the next screen I enter the database name, the server (my machine name)
username and password.

But the message that I get is

Connection Verification failed for data source : mydsn

Error Establishing Socket: Connection refused : Connect

But if I make the DSN via the OBDC manager in windows, then point to that
DSN using the ODBC socket option it works?

What am I doing wrong?  Shouldn't I be able to just connect.

I am running XP pro with Service Pack 2 , and have made sure that fire wall
is turned off.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221378
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to