BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

vista, D7; login failed while creating query

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (SQL Servers)
View previous topic :: View next topic  
Author Message
Jeremy
Guest





PostPosted: Mon Apr 09, 2007 5:04 am    Post subject: vista, D7; login failed while creating query Reply with 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
Jeremy
Guest





PostPosted: Mon Apr 09, 2007 10:24 pm    Post subject: Re: vista, D7; login failed while creating query Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (SQL Servers) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.