Error when creating mailbox
I’m currently deploying CloudPanel in a test environment.
We’re using Exchange 2016 and SQL Express 2014 and I’ve followed the quickstart-guide and the video during the installation.
Installing and configuring went fine. I’m was able to create a reseller, a company and a user.
When creating a mailbox, everything seems fine until I click create. I then receive the error message:
“Index was outside the bounds of the array”.
Have I done anything wrong during the installation?
Thanks in advance!
Did you create a mailbox plan? When creating a mailbox there should be a drop down box for selecting a mailbox plan. I’m going to guess right now that it is blank because you haven’t created any plans. Could you check that?
Actually, a mailbox plan is created and also selected when I’m trying to create the mailbox.
I just tried it again and received a different error:
“An error occurred while updating the entries. See the inner exception for details.”
CloudPanel-log:
2015-11-26 15:39:34,285 ::: [16] ERROR ::: CloudPanel.Modules.CompanyModules.UsersEditModule — Error updating user 537d1638-fb22-4751-aa79-e201e3f947f1 mailbox information: System.Data.Entity.Infrastructure.DbUpdateException: An error occurred while updating the entries. See the inner exception for details. —> System.Data.Entity.Core.UpdateException: An error occurred while updating the entries. See the inner exception for details. —> System.Data.SqlClient.SqlException: Invalid column name ‘TaskType’.
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.SqlDataReader.TryConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func
3 operation, TInterceptionContext interceptionContext, Action3 executing, Action
3 executed)
at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext)
at System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.Execute(Dictionary2 identifierValues, List
1 generatedValues)
at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()
— End of inner exception stack trace —
Ok, solved it 🙂
Found the known issues and after creating the missing column mailbox creation works fine.
Any reason for the column not being created in a fresh install?
Yes.. I accidently commented it out in the code before releasing it and didn’t notice. The next release won’t have that issue but anyone starting with the latest version (now) will.
- 5 Forums
- 716 Topics
- 3,649 Posts
- 1 Online
- 258 Members