 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Jeremy Guest
|
Posted: Mon Apr 09, 2007 5:04 am Post subject: vista, D7; login failed while creating query |
|
|
Running my app from the ide, i login to sql server 2k5 just fine. As part
of this process, I run a stored proc & use the results to populate a
dropdown, so I know the login worked ok.
I now execute a menu option that attempts to add sql select code into a
tadoquery. at the point where the program attempts
qry.sql.add('select ... etc.');
an error message pops up and tells me login failed for user, and shows the
name I used to originally connect.
I tried running the IDE as administrator, but same thing.
Any ideas?
Jeremy |
|
| Back to top |
|
 |
Jeremy Guest
|
Posted: Mon Apr 09, 2007 10:24 pm Post subject: Re: vista, D7; login failed while creating query |
|
|
And the answer is ... "Persist Security Info=True;" was apparently assumed
in previous versions (of mdac? windows?), and now with Vista, it must be
explicitly included in the connection string.
Jeremy
"Jeremy" <jeremy-nospam (AT) ninprodata (DOT) com> wrote in message
news:46198380$1 (AT) newsgroups (DOT) borland.com...
| Quote: | Running my app from the ide, i login to sql server 2k5 just fine. As part
of this process, I run a stored proc & use the results to populate a
dropdown, so I know the login worked ok.
I now execute a menu option that attempts to add sql select code into a
tadoquery. at the point where the program attempts
qry.sql.add('select ... etc.');
an error message pops up and tells me login failed for user, and shows the
name I used to originally connect.
I tried running the IDE as administrator, but same thing.
Any ideas?
Jeremy |
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|