Ask a Question related to Coldfusion Database Access, Design and Development.
-
David #1
mssql connect
i have used dts to import tables from a mssql db to test version on my
computer. everything went well, but when i try to create data source in cf7
admin, i get
Connection verification failed for data source: coolpooldb
java.sql.SQLException: [Macromedia][SQLServer JDBC Driver]Error establishing
socket. Connection refused: connect
The root cause was that: java.sql.SQLException: [Macromedia][SQLServer JDBC
Driver]Error establishing socket. Connection refused: connect
what do i do???
thanks ahead of time.
dave
David Guest
-
How to use “RDS.Connect” to connect to a MS Access database?
The example I am working from uses the following code which does not work: RDS.Connect = "Provider='sqloledb';Integrated Security='SSPI';Initial ... -
note 33988 added to function.mssql-connect
Using MSSQL 2000 and Windows Server 2003 Enterprise running on a separate machine from the web server, I was unable to get PHP to connect to MSSQL... -
note 33795 added to function.mssql-connect
Fatal error: Call to undefined function: mssql_connect() in /var/www/html/global/sp/classes/database.php on line 15 how i can fix this please!! ... -
note 1892 deleted from function.mssql-connect by didou
Note Submitter: frank@corelogicsoftware.com ---- If you're using the win32 version, then make sure that ntwdblib.dll is installed properly on... -
note 33624 added to function.mssql-connect
Just a little comment that I would like to add: If you intend to access MS SQL server remotely, you need to install SQL Server Client Tools on the... -
JJfutbol #2
Re: mssql connect
hey david, I'm glad at least I'm not the only getting this error as well. I
take it you have installed SQL Server Express 2005?? I have and I'm getting
this same error when trying to connect. I've googled for solutions and tried
many things but no luck so far. Lets hope someone can help us out.
JJfutbol Guest
-
The ScareCrow #3
Re: mssql connect
Ensure that any firewall allows access to the relevant sql server port being
used.
Ensure that your install of sql server is using the same port as the port used
in the cf admin panel
The default sql server port is 1433.
David, you don't indicate which version of sql server you are using.
If sql server 2000 and you on an xp machine, you have to install at least sp3
or higher for sql server.
JJfutbol
I seem to recall reading somewhere that you need to download the jdbc driver
from MS.
Ken
The ScareCrow Guest
-
JJfutbol #4
Re: mssql connect
Hey ken thanks for the message. I apologize for not replying earlier as I had
figured out the issue last night. Today at CF United they SQL Server 2005
session also covered this problem. What you have to do is open up the SQL
Server Configuration Manager then on the left side in the tree menu open up SQL
Server Network Configuration and in the right pane you should see TCP/IP
disabled. Right click on it to enable it. Close that window. Then go to your
Control Panel, then Administrative Tools, then Services. Look for the SQL
Server 2005 service (there should be 4 or 5 of them, choose the first one which
should be the main one) and right click on it and select restart. Open up the
SQL Server Network Configuration again and go the the TCP/IP section. Right
click on it and select Properties or just double click on it. Select the IP
Addresses tab and the section titled IP All should have a TCP Dynamic Port of
some number other than 0. Copy that number and put it in the Port field when
setting up a SQL Server DSN in CF Administrator. For me 1433 did not work. It
ended up being a 4xxx number but now it works like a charm so I'm excited. Hope
this helps others. Give it a try David and let me know if that helped at all.
Take care.
JJfutbol Guest
-
Keiko #5
Re: mssql connect
Thanks JJfutbol for the solution. It works.
Cheers,
Keiko :sun;
Keiko Guest
-
JJfutbol #6
Re: mssql connect
Hey Keith, no problem glad to help out. :) Best of luck!
JJfutbol Guest



Reply With Quote

