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

Can't create DSN — java.sql.SQLException: [Macromedia][SQLServer JDBC Driver]

Participant ,
Oct 20, 2022 Oct 20, 2022

I am trying to set up a DSN to a SQL Server database, but keep getting an error.  SQL Server Browser IS running.  

 

  • Connection verification failed for data source: mvqs
    java.sql.SQLException: [Macromedia][SQLServer JDBC Driver]The connection to the host {0}, named instance {1} has failed. Error: "{2}". Verify the server and instance names, check that no firewall is blocking UDP traffic to port 1434, and for SQL Server 2005 or later verify that the SQL Server Browser Service is running on the host.
    The root cause was that: java.sql.SQLException: [Macromedia][SQLServer JDBC Driver]The connection to the host {0}, named instance {1} has failed. Error: "{2}". Verify the server and instance names, check that no firewall is blocking UDP traffic to port 1434, and for SQL Server 2005 or later verify that the SQL Server Browser Service is running on the host.
356
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

correct answers 1 Correct answer

Participant , Oct 20, 2022 Oct 20, 2022

I think I just may have solved it.  I ran the SQL Server Configuration Manager, and made sure that TCP/IP was inabled, and I think that did it.  Weird, right?  Does that even make sense to you?  Thanks!  

Translate
Adobe Employee ,
Oct 20, 2022 Oct 20, 2022

Can you please let us know the version of Coldfusion you are using? Also, let me know if you have installed the SQL server on a different machine. If so, can you telnet to the DB host and port from the server where Coldfusion is installed?

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
Participant ,
Oct 20, 2022 Oct 20, 2022

I think I just may have solved it.  I ran the SQL Server Configuration Manager, and made sure that TCP/IP was inabled, and I think that did it.  Weird, right?  Does that even make sense to you?  Thanks!  

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
Community Expert ,
Oct 21, 2022 Oct 21, 2022

Yes, this is required for SQL Server connections from ColdFusion.

 

Dave Watts, Eidolon LLC 

Dave Watts, Eidolon LLC
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
Participant ,
Oct 21, 2022 Oct 21, 2022
LATEST

Thanks.  That seems to have fixed it.  🙂 

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