Unable to login with any other sql users.

Unable to login with any other sql users.

avatar

Hi,

I'm setting up RDC Manager on our server and i'm trying to add a user to the system so our staff are not useing the sa account to log in. I have tried creating a user via the menu in the applaction and also inside sql server. I have tried setting the use up as sysadmin as well as setting the usermappings for the rcd manager database fro the user as well but so far i have no success in being able to connect to the database with this user set in the datasource. Currently the only user that works is sa. Here is from the app log when i try and connect to the database from within rdc manager.

[3/25/2011 9:17 AM]ERROR System.Data.SqlClient.SqlException: Login failed for user 'RDCManUsers'.
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
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, Int64 timerExpire, SqlConnection owningObject)
at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart)
at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, 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 Devolutions.RemoteDesktopManager.Business.DataSources.DatabaseConnectionDataSource.GetData(String sql, IDbDataParameter[] parameters)
at Devolutions.RemoteDesktopManager.Business.DataSources.SQLServerConnectionDataSource.GetDataSourceSettings()
at Devolutions.RemoteDesktopManager.Managers.ConnectionManager.LoadDataSourceSettingsFromDataSource(BaseConnectionDataSource newDataSource)

This user can access the database no problems from outside the software but it's only when i'm try to connect from inside it tells me that the user is unable to connect.
I'm using version Enterprise Edition 6.0.0.0.
Please help
edited by Intelligenz_Stephen on 3/24/2011

All Comments (5)

avatar

Hi,
When you created you user from the menu, what error message have you received?

David Hervieux

avatar

I'm not getting any errors when creating users. I add user, then change the datasource user over to the one i just made then I test server and database and it say that connection is fine. When I go back to the main screen tells me that Unable to connect to datasource. I have tripled checked that I have entered the correct details.

avatar

Can you try to login with you user in SQL Management Studio Express?

David Hervieux

avatar

User works fine with sql studio. I can log on fine and browse the database fine.

avatar

Good, send me a print screen (support@devolutions.net) of your data source configuration, I will take a look at it. We use the same connection than SQL Management Studio, so this should work fine.

David Hervieux