Re: CONNECTION PROBLEM USING VB6 TO SQL SEVER 2000 PERSONAL EDITON
- From: "boaz" <nospam@xxxxxxxxx>
- Date: Wed, 14 Jun 2006 08:26:50 -0700
"Abdul Hameed" <ahameed@xxxxxxxxxxxxxxxx> wrote in message
news:%23izcz75jGHA.5036@xxxxxxxxxxxxxxxxxxxxxxx
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.
Thanks in anticipations.
Abdul Hameed
This only means one thing. The user "sa" is not an user in the local
machine.
Do you have an user named "sa" in your computer or in your company?
.
- 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: CONNECTION PROBLEM USING VB6 TO SQL SEVER 2000 PERSONAL EDITON
- Next by Date: Re: How to consume webservices in vb6
- Previous by thread: Re: CONNECTION PROBLEM USING VB6 TO SQL SEVER 2000 PERSONAL EDITON
- Next by thread: How to handle pointers in VB.net dll passed by client in Delphi
- Index(es):
Relevant Pages
|