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

The server name or address could not be resolved

Participant ,
Jul 25, 2022 Jul 25, 2022

I am using the following:

— ColdFusion 2021
— SQL Server Express 2019
— SQL Server Management Studio 18.12.1

— Dreamweaver

 

I'm trying to set up a data source in the database tab, but when I click on RDS Login, I get the following error message:

1. The URL specified for this site's testing server may be incorrect: http://localhost:8500/estimates/

2. The testing server may be incorrectly configured (for example, ColdFusion may not be running).

 

I have created a data source in CF Aadmin, and I'm able to connect to the database, if I hard code the query into Dreamweaver, the query and code runs just fine.  I just can't do it through the database panel.  To clarify, the testing server is correct because I can view the files when I type in the URL.

 

The ColdFusion server is running - I checked it in Windows >> Services. 

 

I just can't connect to the database in Dreamweaver's Databases panel.

 

Thank you.  

 

 

TOPICS
Database access
1.1K
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 , Sep 12, 2022 Sep 12, 2022

I just got this resolved.  Come to find out, RDS was not enabled in CF Administrator.  The pages are working now!!!  😄 

Translate
Community Expert ,
Jul 31, 2022 Jul 31, 2022

Is  http://localhost:8500/estimates/ perhaps the URL of your test site? It seems you have mistakenly entered this URL somewhere (in the RDS settings) as the URL of the Administrator. So check your Dreamweaver RDS settings.

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 ,
Aug 01, 2022 Aug 01, 2022

Just to be clear, it's the server settings within the site setup that you're asking me to check?  If so, I'm referencing localhost as the remote and testing server. 

 

server folder:  C:\ColdFusion2021\cfusion\wwwroot\estimates\

web url:  http://localhost:8500/estimates/

 

Thank you so much for offering to help.  I'm still stuck.  😕 

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 ,
Aug 02, 2022 Aug 02, 2022

Save the following code as the file C:\ColdFusion2021\cfusion\wwwroot\estimates\index.cfm

In index.cfm<br>
Time is: <cfoutput>#now()#<cfoutput>

What happens when you now launch this URL in the browser: http://localhost:8500/estimates/ 

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 ,
Sep 12, 2022 Sep 12, 2022

Sorry, I've been working on another project and just got back to this.  As soon as I add any ColdFusion code to the page, I get the same error.  Interestingly, when I'm setting up the site and try to enter data for the RDS login, I get the following error:

 

The server name or address could not be resolved. 

1. The URL specified for this site's testing server may be incorrect: http://localhost:8500/estimates/
2. The testing server may be incorrectly configured (for example, ColdFusion may not be running).

 

CF ADMIN is running on:  http://127.0.0.1:8500/CFIDE/administrator/index.cfm and ColdFusion is definitely running.  I can get into CF Admin and my data sources are working, they've been validated. I've even tried the following, but it doesn't work either. http://127.0.0.1:8500/estimates/

 

I am completely stumped.  😕 

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 ,
Sep 12, 2022 Sep 12, 2022

I created a brand new site, from scratch, and I can add your code above to the page, and it does not produce an error.  However, I still can't specify the RDS Login - I get the same error as before, so I can't connect to a database.  Yes, the data source is set up and it's valid.  I am so stumped!  😕 

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 ,
Sep 12, 2022 Sep 12, 2022

I just got this resolved.  Come to find out, RDS was not enabled in CF Administrator.  The pages are working now!!!  😄 

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 ,
Sep 14, 2022 Sep 14, 2022
LATEST

Thanks for sharing that.

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