this will list all your DSNs:
<cfset factory = createobject("Java", "coldfusion.server.ServiceFactory")>
<cfset dsns = factory.DataSourceService.getDatasources()>
<cfdump var="#dsns#">
now just have to find how to add them...
> -----Original Message-----
> From: Stephen Moretti [mailto:[EMAIL PROTECTED]
> Sent: 25 June 2003 16:25
> To: [EMAIL PROTECTED]
> Subject: Re: [ cf-dev ] CFMX DSN's
>
>
> There's a couple of XML files somewhere....
>
> I saw an email about this on a list the other day... Let me
> have a quick
> look around for it.
>
> Stephen
> ----- Original Message -----
> From: "Snake Hollywood" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, June 25, 2003 4:17 PM
> Subject: [ cf-dev ] CFMX DSN's
>
>
> > How does CFMX create DSN's differently to CF5 ?
> > I presume it uses a JDBC bridge as creating DSN's in control panel
> > doesn't work, but if you do this then go and create it via
> CFADMIN it
> > already knows where the database file is.
> > Is is posisble to probgramatically create CFMX DSN's, or is
> there an XML
> > file somewhere you can work with ?
> >
> > Russ
> >
> >
> > --
> > ** Archive:
> http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> >
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > For human help, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
>
> --
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> For human help, e-mail: [EMAIL PROTECTED]
>
--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]