After upgrading to MessageStats 7.3, the Exchange Databases , Exchange Mailboxes and Mail contacts tasks are failing with the errors below.
The Exchange Databases Error:
The following error occurred in trying to execute a given task: Quest.MessageStats.Runtime.MessageStatsException: Error in report pack data source execute ---> System.IndexOutOfRangeException: Invalid index 37 for this SqlParameterCollection with Count=37. at System.Data.SqlClient.SqlParameterCollection.RangeCheck(Int32 index) at System.Data.SqlClient.SqlParameterCollection.GetParameter(Int32 index) at System.Data.Common.DbParameterCollection.System.Collections.IList.get_Item(Int32 index) at Quest.MessageStats.Exchange.Databases.QmsDBCommands.Quest.MessageStats.Exchange.Databases.IQmsDBCommands.CallStoreServerStorage(Guid taskInstanceGuid, Guid serverGuid, String serverName, DateTime statisticDate, DateTime gatheringDate, Nullable`1 serverVolumeDirGuid, IActiveDirectoryExchangeDatabaseObject activeDirExchDBObject, IExchangeDatabase exchangeDatabase, Boolean databaseCopyIsActive, Nullable`1 databaseSize, Int32 PublicFolderMailboxCount) at Quest.MessageStats.Exchange.Databases.ExchangeDatabasesSource.StoreMailboxDatabases(IEnumerable`1 exchangeMailboxDatabases, IEnumerable`1 mailboxDatabaseCopyStatuses) at Quest.MessageStats.Exchange.Databases.ExchangeDatabasesSource.Quest.MessageStats.Runtime.IReportPackDataSource.Execute() at Quest.MessageStats.Runtime.QmsCoreManager.Quest.MessageStats.Runtime.Interop.IQMSCoreManager.ExecuteTask() --- End of inner exception stack trace --- at Quest.MessageStats.Runtime.QmsCoreManager.Quest.MessageStats.Runtime.Interop.IQMSCoreManager.ExecuteTask()
Time Component HResult EventID
The Exchange Mailboxes Error:
The following error occurred during the processing of a given gathering: Procedure or function PR_InsertMailbox2 has too many arguments specified. Ensure you are using correct credentials. If you are connecting to Exchange 2013, ensure that you are using MAPI & CDO version 6.5.8320.0 (released 2013-05-17).
The Mail contacts Error:
The following error occurred during the processing of a given gathering: Error in Executing SQL Statement - Message: Parameter object is improperly defined. Inconsistent or incomplete information was provided;; SQL Statement = EXEC PR_InsertCustomRecipient :ParamDN, :ParamX500DN, :ParamOrgGUID, :ParamEmail, :ParamCN, :ParamIsHidden, :ParamCreationDate, :ParamModifiedDate, :ParamLastGatheringDate, :ParamContainer, :ParamObjectClass, :ParamSimpleDisplayName, :ParamInfo, :ParamComment, :ParamDescription, :ParamPhoneNumber, :ParamFaxNumber, :ParamPagerNumber, :ParamMobilePhoneNumber, :ParamHomePhoneNumber, :ParamStreetAddress, :ParamCity, :ParamStateOrProvince, :ParamPostalCode, :ParamCountryName, :ParamTitle, :ParamCompany, :ParamDepartment, :ParamOffice, :ParamManagerDN, :ParamAlias, :ParamInitials, :ParamLastName, :ParamName, :ParamGivenName, :ParamHomePage, :ParamForwardingAddress, :ParamDivision, :ParamCustomAttribute1, :ParamCustomAttribute2, :ParamCustomAttribute3, :ParamCustomAttribute4, :ParamCustomAttribute5, :ParamCustomAttribute6, :ParamCustomAttribute7, :ParamCustomAttribute8, :ParamCustomAttribute9, :ParamCustomAttribute10, :ParamCustomAttribute11, :ParamCustomAttribute12, :ParamCustomAttribute13, :ParamCustomAttribute14, :ParamCustomAttribute15, :ParamDisplayName, :ParamCustomRecipientGUID OUTPUT, :ParamIsNewCustomRecipient OUTPUT ;; Param List = Param(0)=/o=Peak-10/ou=First Administrative Group/cn=Recipients/cn=LOUPager, Param(1)=CN=LOUPager1,OU=Users,OU=Louisville,DC=peak-10,DC=com, Param(2)={CCA6428C-789D-479C-8276-01DEB917086E}, Param(3)=5026431198@vtext.com, Param(4)=LOUPager1, Param(5)=, Param(6)=6/18/2007 7:06:53 PM, Param(7)=5/28/2013 9:09:14 PM, Param(8)=7/9/2014 4:10:09 PM, Param(9)=peak-10.com/Louisville/Users, Param(10)=contact, Param(11)=, Param(12)=, Param(13)=, Param(14)=, Param(15)=, Param(16)=, Param(17)=, Param(18)=, Param(19)=, Param(20)=, Param(21)=, Param(22)=, Param(23)=, Param(24)=, Param(25)=, Param(26)=, Param(27)=, Param(28)=, Param(29)=, Param(30)=LOUPager, Param(31)=, Param(32)=Pager, Param(33)=LOUPager1, Param(34)=LOU, Param(35)=, Param(36)=, Param(37)=, Param(38)=, Param(39)=, Param(40)=, Param(41)=, Param(42)=, Param(43)=, Param(44)=, Param(45)=, Param(46)=, Param(47)=, Param(48)=, Param(49)=, Param(50)=, Param(51)=, Param(52)=, Param(53)=LOUPager1, Param(54)={74F04D14-2A1E-4B55-B327-8E4B0084B8F0}, Param(55)=. Ensure you are using correct credentials. If you are connecting to Exchange 2013, ensure that you are using MAPI & CDO version 6.5.8320.0 (released 2013-05-17).