Creating dsn on the fly is a little more complicated than this...
If you would like a CFC that does the job contact me off list.
Regards
Andrew Scott
Technical Consultant
NuSphere Pty Ltd
Level 2/33 Bank Street
South Melbourne, Victoria, 3205
Phone: 03 9686 0485 - Fax: 03 9699 7976
_____
From: Josh [mailto:[EMAIL PROTECTED]
Sent: Sunday, 18 July 2004 1:02 PM
To: CF-Talk
Subject: dsn creation - programatically
I am building an app that needs to create a DSN programatically...I have
the code pretty much done, but the DSN that is created will not work.
I am going to the service factory, grabbing a template DSN and copying
it. Setting the struct values as necessary, then setting the new dsn in
the service factory. It creates the new dsn...you can see it now in the
cfadmin, but it will not authenticate, even though the auth info is
correct. I am not sure where to go now.
Here is my code (from a cfc):
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

