Create Exchange Mai...
 
Notifications
Clear all

Create Exchange Mailbox Error -1

5 Posts
3 Users
0 Reactions
1,512 Views
Posts: 17
 Wowa
Topic starter
(@wowa)
Active Member
Joined: 8 years ago

Often I get the error message -1 when creating an Exchange mailbox with new Generated Password.

The user is created in Active Directory but is deactivated. After that i have to delete manualy the user in AD and than i can create the Mailbox with a new simple Password. If i choose a little bit complexer password i get the error -1

We use SolidCP in Version 1.2.0

After succesful creation of the mailbox, i can choose any password without problem.

Does anybody have an idea to fix this problem?

4 Replies
Posts: 1995
Admin
(@m-tiggelaar)
Noble Member
Joined: 9 years ago

Hello,

Can you double check your password policy in both Active Directory aswell as SolidCP ( serveradmin home --> bottom right "Policies" --> "Hosted Organization policy" )

Double check the settings there match your Active directories Password policy.

It is interesting that it works later on after a reset, as that means one of them isn't following policies set, i will have to look into this further.

Regards,

Marco

Reply
Posts: 95
(@choffmeister)
Trusted Member
Joined: 6 years ago

Hi Marco i get the same error but onloy at one user, all other user i can create.
( I use for all users the same password by the way / Test enviroment )
Solid Version 1.4.1 running on Windows Server 2016 latest build incl. all updates
I see that the user is created in AD with karmen00000 ( Karmen is a user what exist in 3 companys at the exchange server )
but i get in SolidCP that :

The Log show me that :

Violation of UNIQUE KEY constraint 'IX_ExchangeAccounts_UniqueAccountName'. Cannot insert duplicate key in object 'dbo.ExchangeAccounts'. The duplicate key value is (karmen00000). 
The statement has been terminated.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) 
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) 
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) 
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) 
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) 
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) 
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) 
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() 
at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters) 
at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) 
at SolidCP.EnterpriseServer.DataProvider.AddExchangeAccount(Int32 itemId, Int32 accountType, String accountName, String displayName, String primaryEmailAddress, Boolean mailEnabledPublicFolder, String mailboxManagerActions, String samAccountName, Int32 mailboxPlanId, String subscriberNumber) 
at SolidCP.EnterpriseServer.OrganizationController.CreateUser(Int32 itemId, String displayName, String name, String domain, String password, String subscriberNumber, Boolean enabled, Boolean sendNotification, String to, String& accountName)

Reply
Posts: 1995
Admin
(@m-tiggelaar)
Noble Member
Joined: 9 years ago

Any chance someone also has it as a Contact? as there's a known bug with contacts and users having the same name.

Reply
Posts: 95
(@choffmeister)
Trusted Member
Joined: 6 years ago

Hi Marco, i have the same user in another Organisation but with a different UPN and Mail.
But they have the same Display Name i think.
A contact with that name is not there.

Additional Info : I have test to change the Display Name but it dont help, i get again this Message :
Violation of UNIQUE KEY constraint 'IX_ExchangeAccounts_UniqueAccountName'. Cannot insert duplicate key in object 'dbo.ExchangeAccounts'. The duplicate key value is (karmen00000). 
The statement has been terminated.

Reply
Share: