Dwayne,


Try this:


<cfscript>
            // Get the MX Service Factory...
            factory =
CreateObject("java","coldfusion.server.ServiceFactory");
            // Get the data source service...
            dataSourceService = factory.dataSourceService;
            // Finally, Get the datasources!
            datasources = dataSourceService.getDataSources();
</cfscript>


<cfdump var=”#datasources#”>


Might do the trick for you.


André


-----Original Message-----
From: Dwayne Cole [mailto:[EMAIL PROTECTED]
Sent: 16 October 2003 02:14
To: CF-Talk
Subject: Is a Datasource really setup?


Is there some code that I can run to check the existance of datasource.
My code reporting that the tables in database does not exist. My host
ISP says that the Datasource has been registered with CF.  This is a new
setup and I just don't think the datasource was setup correctly.  Is
there any code that I can run to test it

Dwayne Cole, MS in MIS, MBA
Certified Advanced ColdFusion Developer
850-591-0212


  _____  


[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to