web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics RMS (Archived)

RMS and NChannel SQL issues

(0) ShareShare
ReportReport
Posted on by

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

  • Suggested answer
    Community Member Profile Picture
    on at

    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.

  • Verified answer
    Community Member Profile Picture
    on at

    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?

  • Verified answer
    Community Member Profile Picture
    on at

    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
    on at

    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.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics RMS (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans