Issue
Archive Shuttle Export or Import modules may log such error:

One or more errors occurred.
   at System.Linq.Parallel.QueryTaskGroupState.QueryEnd(Boolean userInitiatedDispose)
   at System.Linq.Parallel.MergeExecutor`1.Execute[TKey](PartitionedStream`2 partitions, Boolean ignoreOutput, ParallelMergeOptions options, TaskScheduler taskScheduler, Boolean isOrdered, CancellationState cancellationState, Int32 queryId)
   at System.Linq.Parallel.PartitionedStreamMerger`1.Receive[TKey](PartitionedStream`2 partitionedStream)
   at System.Linq.Parallel.ForAllOperator`1.WrapPartitionedStream[TKey](PartitionedStream`2 inputStream, IPartitionedStreamRecipient`1 recipient, Boolean preferStriping, QuerySettings settings)
   at System.Linq.Parallel.UnaryQueryOperator`2.UnaryQueryOperatorResults.ChildResultsRecipient.Receive[TKey](PartitionedStream`2 inputStream)
   at System.Linq.Parallel.ScanQueryOperator`1.ScanEnumerableQueryOperatorResults.GivePartitionedStream(IPartitionedStreamRecipient`1 recipient)
   at System.Linq.Parallel.UnaryQueryOperator`2.UnaryQueryOperatorResults.GivePartitionedStream(IPartitionedStreamRecipient`1 recipient)
   at System.Linq.Parallel.QueryOperator`1.GetOpenedEnumerator(Nullable`1 mergeOptions, Boolean suppressOrder, Boolean forEffect, QuerySettings querySettings)
   at System.Linq.Parallel.ForAllOperator`1.RunSynchronously()
   at ArchiveShuttle.Core.Library.Command.Processor.ExcImportProcessor.ProcessSuccesses(Guid moduleId, List`1 successitems)
   at ArchiveShuttle.Core.Library.Command.Processor.ExcImportProcessor.ProcessItems(Guid moduleId, String commandTextOrXml)
   at ArchiveShuttle.Core.Library.Command.Processor.ExcImportProcessor.ProcessOK(Guid moduleId, Int32 commandQueueId, String commandTextOrXml, Boolean partOKonly)
   at ArchiveShuttle.Core.Library.Command.Processor.CommandResultProcessorBase.Process(Guid moduleId, Int32 commandQueueId, String commandTextOrXml, ModuleCommandResultEnum result)
   at ArchiveShuttle.Core.WebServices.ArchiveShuttle.SetCommandResultImpl(Guid moduleId, Int32 commandQueueId, Int32 commandId, ModuleCommandResultEnum commandResult, String resultOrErrorText)
   at ArchiveShuttle.Core.WebServices.ArchiveShuttle.SetCommandResult(Guid moduleId, Int32 commandQueueId, Int32 commandId, ModuleCommandResultEnum commandResult, String resultOrErrorText)
Int32 Execute()
An exception was caught during the execution of an action query: Could not allocate space for object 'dbo.ItemRoutingExchange'.'PK_ItemRoutingExchange' in database 'ArchiveShuttleItem_1d76e225-993e-4ef0-8b75-d1baf00643a9' because the 'PRIMARY' filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup.. Check InnerException, QueryExecuted and Parameters of this exception to examine the cause of this exception.
   at SD.LLBLGen.Pro.ORMSupportClasses.ActionQuery.Execute()
   at SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterCore.ExecuteActionQuery(IActionQuery queryToExecute)
   at SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterCore.PersistQueue(List`1 queueToPersist, Boolean insertActions)
   at SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterCore.SaveEntity(IEntity2 entityToSave, Boolean refetchAfterSave, IPredicateExpression updateRestriction, Boolean recurse)
   at SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterBase.<>c__DisplayClassff.<SaveEntity>b__fe()
   at ArchiveShuttle.DAL.Item.Wrapper.Database.<>c__DisplayClass8`1.<AddEntity>b__7()
   at ArchiveShuttle.DAL.Helpers.DatabaseHelpers.RetryableDatabaseExecution[T](Func`1 funcToExecute, Int32 retries, Boolean catchDeadlock, Boolean catchPrimaryKeyExists, Boolean catchDuplicateKey)
   at ArchiveShuttle.DAL.Item.Wrapper.Database.AddEntity[T](SqlConnectionStringBuilder connectionString, T entity, Boolean refetch, Int32 retries)
   at ArchiveShuttle.DAL.Item.Wrapper.Database.AddEntity[T](SqlConnectionStringBuilder connectionString, T entity, Boolean refetch)
   at ArchiveShuttle.DAL.Item.Wrapper.ItemRoutingWrapper.AddOrUpdateExchangeRoutingItem(Int64 itemRoutingId, String newEntryId)
   at ArchiveShuttle.Core.Library.Command.Processor.ExcImportProcessor.<>c__DisplayClassa.<>c__DisplayClassd.<ProcessSuccesses>b__7(IGrouping`2 itemGroup)
   at System.Linq.Parallel.ForAllOperator`1.ForAllEnumerator`1.MoveNext(TInput& currentElement, Int32& currentKey)
   at System.Linq.Parallel.ForAllSpoolingTask`2.SpoolingWork()
   at System.Linq.Parallel.SpoolingTaskBase.Work()
   at System.Linq.Parallel.QueryTask.BaseWork(Object unused)
   at System.Threading.Tasks.Task.Execute()
Void OnError(System.Data.SqlClient.SqlException, Boolean, System.Action`1[System.Action])
Could not allocate space for object 'dbo.ItemRoutingExchange'.'PK_ItemRoutingExchange' in database 'ArchiveShuttleItem_1d76e225-993e-4ef0-8b75-d1baf00643a9' because the 'PRIMARY' filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup.
   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)
   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.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at SD.LLBLGen.Pro.ORMSupportClasses.ActionQuery.Execute()

 
Solution
The error above is telling us, that there is not enough disk space to perform the action in the Archive Shuttle Database. To resolve it, you could:
1) Add more disk space for the Archive Shuttle SQL server
2) Increase the limit for autogrowth of the LogFile
3) Backup and truncate Archive Shuttle databases

Print Friendly, PDF & Email