Successful connection with invalid UserId
- From: rbkaimal@xxxxxxxxxxx (Kaimal)
- Date: 22 Apr 2005 02:52:33 -0700
Hi,
In my application , the connection to SQLServer is established
through a DSN name, UserId and Password(both UsrId and Password are
non empty) . The "SQLConnect" function is used for this purpose. The
problem is that the connection to the Database is success when I give
an empty UserId. But this problem is not there when the UserId is
invalid(non empty).In all the cases except for empty UserId , the
connection works as expectd.
Why is it connecting for empty UserId?
Is it because that default windows authentication is used for
connection when UserId is empty?
If so is there any way to avoid this (through a C/C++ program)?
pls help
Thanks
Kaimal
.
- Follow-Ups:
- Re: Successful connection with invalid UserId
- From: Sue Hoegemeier
- Re: Successful connection with invalid UserId
- Prev by Date: AS/400 und MS-SQL Fehler
- Next by Date: Re: Create DSN programmatically cannot set Port (VBA)
- Previous by thread: AS/400 und MS-SQL Fehler
- Next by thread: Re: Successful connection with invalid UserId
- Index(es):
Relevant Pages
|
Loading