Re: Help: Login failed for User ???
- From: "Jim Hughes" <NOSPAMJ3033@xxxxxxxxxxx>
- Date: Wed, 5 Apr 2006 08:27:15 -0700
Glad to hear it!
"Michael" <Michael@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:33FF6156-E393-4CE8-978B-2F63A5E28124@xxxxxxxxxxxxxxxx
I just wanted to let you all know that I found the problem. It was a
connect
string, but it was hidden in a few SQLConnection objects that where used
on
several screens. It now works as expected. Thanks again for all the help.
Michael
"Michael" wrote:
Please Help me. I've got a .Net 2003 program that attaches to a SQL
Server
machine and I'm getting the above error when a user tries to log in. The
SQL
server is setup to use Windows Auth. and I have added the new user to the
database and have given the user access to the database for the app. But
everytime I try and login using this users ID, I always get the error:
Login failed for user Christian.Gaut
If I login using my userid and password, the program works fine, but if I
login (into windows) as the user and try it again, same thing happens. I
tried putting the userid and password(windows) in the connect string, but
that is not helping either. Now, in the user properties of the database,
it
won't allow me to change the password for the user (I guess cause I'm
using
Windows Auth). So should I leave the password blank in the connect
string?
Any help would be great, thanks again for taking the time to stop by.
Michael
.
- Prev by Date: Re: Data Access Problem
- Next by Date: Re: How to determine when a DataGridView's DataSource is finished being populated
- Previous by thread: Re: Help: Login failed for User ???
- Next by thread: Mixing System.Data.OleDb calls with System.Data.SqlClient calls ??
- Index(es):
Relevant Pages
|
Loading