Skip to main content

Notifications

Microsoft Dynamics RMS forum

RMS and NChannel SQL issues

Posted on by Microsoft Employee

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

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: RMS and NChannel SQL issues

    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.

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: RMS and NChannel SQL issues

    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...

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: RMS and NChannel SQL issues

    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?

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: RMS and NChannel SQL issues

    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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,888 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,247 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans