Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Error access CF8 to Microsoft SQL Server 2008

New Here ,
Apr 20, 2009 Apr 20, 2009

Hello!

I have created a database in SQL Server 2008.

Further, in CF Administrator Add New Data Source - also there is an error.

Connection verification failed for data source:  dbo.Articles

java.sql.SQLException: [Macromedia][SQLServer JDBC Driver]Error  establishing socket to host and port: localhost:1433. Reason: Connection  refused: connect
The root cause was that: java.sql.SQLException:  [Macromedia][SQLServer JDBC Driver]Error establishing socket to host and port:  localhost:1433. Reason: Connection refused: connect

Prompt how to solve this problem?

TOPICS
Database access
1.6K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Apr 22, 2009 Apr 22, 2009

What type of authentication do you use on the SQL Server database?  If you use 'SQL Server and Windows', did you use this id/password in setting up the Data Source within ColdFusion Administrator?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 22, 2009 Apr 22, 2009

Libby H Yes, I used Administrator CF, I already managed to solve this problem. The Server field I has installed the empty...

Also I have customised TCP/IP in the Manager of configuration SQL Server 2008 - all TCP-port have assigned value 1433

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jul 01, 2009 Jul 01, 2009
LATEST

What is the solution?

I have the same thing with SQL Server 2008 64 bit. When i switch my datasource from SQL 2008 to SQL 2000 it works great otherwise it will not work. I have checked SQL Server 2008 that all the ports show 1433. I have been stuck on this for a while. I also checked the SQL Server Network Configuration / TCP/IP and i have nothing in the dynamic field and all the ports show 1433. If someone has allready figured this out it would be good to have a solution- Especially since coldfusion is supposed to connect to the database....

Thanks for any help.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources