Re: CONNECTION PROBLEM USING VB6 TO SQL SEVER 2000 PERSONAL EDITON
- From: "Abdul Hameed" <ahameed@xxxxxxxxxxxxxxxx>
- Date: Thu, 15 Jun 2006 15:11:45 +0500
"Paul Clement" <UseAdddressAtEndofMessage@xxxxxxxxxxxxxx> wrote in message
news:5t5092hr66b9b3brn8eq3igic2t3qruphn@xxxxxxxxxx
On Wed, 14 Jun 2006 15:40:16 +0500, "Abdul Hameed"
<ahameed@xxxxxxxxxxxxxxxx> wrote:
¤ I am having a problem in my vb6 application when I try to connect to sql
¤ server 2000 personal editon with the following connection string.( I am
¤ using windows XP professional service pack 2. and VB6 and installed sql
¤ server on the same system)
¤
¤ db.Open "Provider=sqloledb;Data Source=HAMEED;Initial Catalog=NTL;User
¤ Id=sa;Password=;"
¤
¤
¤ the error message is :
¤
¤ "Run time error '-2147467259 (80004005)');
¤ login failed for user 'sa' . Reason: Not associated with a trusted SQL
¤ server connection.
¤
¤
¤ When I check with the server the server is running fine and I can open
every
¤ table of the database NTL.using SQL server enterprise manager.
¤
¤ can anybody help me in this regard.
¤
Is your SQL Server configured for both SQL Server and Windows
authentication? Based upon the error
message it would appear that it is configured for Windows authentication
only.
Paul
~~~~
Microsoft MVP (Visual Basic)
Thanks a lot Paul for your valuable suggestions. I have changed the
configuration of SQL server for both window and sql server and its running
fine.
Once again thank u very much.
A.Hameed
.
- References:
- CONNECTION PROBLEM USING VB6 TO SQL SEVER 2000 PERSONAL EDITON
- From: Abdul Hameed
- Re: CONNECTION PROBLEM USING VB6 TO SQL SEVER 2000 PERSONAL EDITON
- From: Paul Clement
- CONNECTION PROBLEM USING VB6 TO SQL SEVER 2000 PERSONAL EDITON
- Prev by Date: Re: How to remotely install software to clients?
- Next by Date: Re: How to remotely install software to clients?
- Previous by thread: Re: CONNECTION PROBLEM USING VB6 TO SQL SEVER 2000 PERSONAL EDITON
- Next by thread: Re: CONNECTION PROBLEM USING VB6 TO SQL SEVER 2000 PERSONAL EDITON
- Index(es):
Relevant Pages
|