Database Reference
In-Depth Information
Figure 14.12
A data source connection error.
the one shown in Figure 14.12, you have an error in your settings, so use the Back button on
your browser and check that you have entered everything correctly and that the user has
the correct access from the machine that the ColdFusion server is running on.
If all is working correctly with the data source then you will see a page similar to
Figure 14.13. If this is the only data source on the system, you should see the OK after your
data source name to show that it is verified. If you have other data sources installed, you
may have to hunt around a bit for it.
Accessing the Data Source in ColdFusion
A webpage that is going to be processed by ColdFusion will reside somewhere in your web
space of your webserver and have the extension .cfm, for example:
c:\inetpub\wwwroot\index.cfm
This file is often referred to as a ColdFusion template file. To send this file to the
ColdFusion server it has to be requested through the webserver using an internet browser
by going to the following location:
http://localhost/index.cfm
Search WWH ::




Custom Search