I'm seeing the most wierd program behavior.
I'm connecting to sql server from a .NET application using SQL Server Authentication. My connection string is as follows:
"PERSIST SECURITY INFO=FALSE;INTEGRATED SECURITY=FALSE;DATA SOURCE=SACDBS01;USER ID=BarryB;PASSWORD=xxxxx;INITIAL CATALOG=WCI_Global;CONNECTION TIMEOUT=30"
I'm using a SQLConnection object to connect.
the SQLConnection is successful at one location in the application - but then I try it at another place in the application - it gives me the error : "login failed for user BarryB"
i'm using the same connection string - it's the same server, same database, same user - i've made sure that the user is in the logins for the server - and is included in the Users for that database - I've made sure that the username and password are correct.
I'm running a stored procedure once I make the connection to the sql server using Command.ExecuteNonQuery() . But the error is happening at the line:
myConn.Open()
Any ideas?
I'm connecting to sql server from a .NET application using SQL Server Authentication. My connection string is as follows:
"PERSIST SECURITY INFO=FALSE;INTEGRATED SECURITY=FALSE;DATA SOURCE=SACDBS01;USER ID=BarryB;PASSWORD=xxxxx;INITIAL CATALOG=WCI_Global;CONNECTION TIMEOUT=30"
I'm using a SQLConnection object to connect.
the SQLConnection is successful at one location in the application - but then I try it at another place in the application - it gives me the error : "login failed for user BarryB"
i'm using the same connection string - it's the same server, same database, same user - i've made sure that the user is in the logins for the server - and is included in the Users for that database - I've made sure that the username and password are correct.
I'm running a stored procedure once I make the connection to the sql server using Command.ExecuteNonQuery() . But the error is happening at the line:
myConn.Open()
Any ideas?