I'm trying to get a NChannel installation up and running. The NChannel part is working but I'm getting a lot of errors related to the NChannel Watcher. I would like to hear from any one with a successful installation of NChannel and MS RMS. Also if anyone has an idea on how to correct the error posted below I'd appreciate hearing it.
Source: .Net SqlClient Data Provider
Message: Login failed for user 'sa'.
StackTrace: at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK)
at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, SqlConnection owningObject)
at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, TimeoutTimer timeout)
at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, TimeoutTimer timeout, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)
at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)
at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options)
at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
at System.Data.SqlClient.SqlConnection.Open()
at SyncManagerProcess.SQLWatcher.Process() in f:\Builds\Agent2\nChannel\SyncManagerProcess\Sources\nChannel\SyncManagerProcess\SQLWatcher.cs:line 88
*This post is locked for comments
I wanted to follow up on this. We have a solution on this. There was a improper password on the NChannel side. That has been corrected and we are now proceeding with the NChannel set up. I wanted to thanks Sam for his feedback.
You can definitely change the password... I think using ALTER LOGIN:
msdn.microsoft.com/.../ms189828(v=sql.105).aspx
I don't think the users have to be the same necessarily. The nChannel software probably (hopefully!) doesn't need full admin rights to the DB - but it depends on how it's configured.
Ideally, nChannel should just work with a standard DB user (e.g. a user created by you called 'nchan' or something), but you'd need to double check what the nChannel config requires!
Good luck...
First thanks. I created the original RMS database back when it was Quicksell 2000. (a long time ago) That password is not complex enough to be acceptable to SQL 2008 R2. I suspect there is a query to change the password with in the RMS database and that is probably a good place to look?
So the SQL "sa" the RMS "as" and the NChannel "as" must all match?
It looks like your problem is the DB username and password provided aren't correct:
"Message: Login failed for user 'sa'."
The 'sa' user is the super user account for the SQL server database. The password would have been set by whoever installed RMS.
There is no default, as far as I know, so you'll need to find it out from the installer, or (and I think this is probably the better solution) create a new user on the database for nChannel that has more restricted admin rights to the DB.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,888 Super User 2024 Season 2
Martin Dráb 229,247 Most Valuable Professional
nmaenpaa 101,156