On Mon, Jan 17, 2011 at 7:20 PM, Skellington <[email protected]> wrote:
> Hello, > I'm trying to set a dsn using server.cfc but I'm not having much > luck. > Apologies again for not getting back to you sooner. Feel like my deck's finally clearing a bit. Are you wanting to add the datasource permanently on server startup, or did you want to create one that only exists as long as the server's running, and it would get created new each time? If you just want it created on the fly each time the server starts up, you can use the new DatasourceCreate() function: http://www.openbluedragon.org/manual/?/function/datasourcecreate If you want to check to see if one exists and then create it if it doesn't, let me know and I'll whip up the code to do that via the admin console objects. -- Matthew Woodward [email protected] http://blog.mattwoodward.com identi.ca / Twitter: @mpwoodward Please do not send me proprietary file formats such as Word, PowerPoint, etc. as attachments. http://www.gnu.org/philosophy/no-word-attachments.html -- Open BlueDragon Public Mailing List http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon official manual: http://www.openbluedragon.org/manual/ Ready2Run CFML http://www.openbluedragon.org/openbdjam/ mailing list - http://groups.google.com/group/openbd?hl=en
