Re: CONNECTION PROBLEM USING VB6 TO SQL SEVER 2000 PERSONAL EDITON
- From: Paul Clement <UseAdddressAtEndofMessage@xxxxxxxxxxxxxx>
- Date: Wed, 14 Jun 2006 09:06:52 -0500
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)
.
- Follow-Ups:
- Re: CONNECTION PROBLEM USING VB6 TO SQL SEVER 2000 PERSONAL EDITON
- From: Abdul Hameed
- Re: CONNECTION PROBLEM USING VB6 TO SQL SEVER 2000 PERSONAL EDITON
- References:
- CONNECTION PROBLEM USING VB6 TO SQL SEVER 2000 PERSONAL EDITON
- From: Abdul Hameed
- CONNECTION PROBLEM USING VB6 TO SQL SEVER 2000 PERSONAL EDITON
- Prev by Date: Re: How to handle pointers in VB.net dll passed by client in Delphi
- Next by Date: Re: CONNECTION PROBLEM USING VB6 TO SQL SEVER 2000 PERSONAL EDITON
- Previous by thread: 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
|