Hi Guys, I'm getting error while running the application. Every time I have to restart/shutdown the system to fix this error. Please help me to permanently resolve this error. Thanks in advance. System.AggregateException: One or more errors occurred. (A task was canceled.) ---> System.Threading.Tasks.TaskCanceledException: A task was canceled. at System.Threading.Tasks.Task.GetExceptions(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.Wait() at Mendix.Modeler.Common.BackgroundChecker.Check() in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core.View\Common\Problems\BackgroundChecker.cs:line 104 at Mendix.Modeler.Deployment.CoreDeploymentWork.CheckForErrors(IProject project, DeploymentSettings settings, IProgressInfo info) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Deployment\CoreDeploymentWork.cs:line 77 at Mendix.Modeler.Deployment.DeploymentProcessBuilder.<>c__DisplayClass13_1.<AddBuildStepsForPhase>b__2() in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Deployment\DeploymentProcessBuilder.cs:line 139 at Mendix.Modeler.ProtectedModules.ProtectedModulesUnlocker.<>c__DisplayClass2_0.<Do>b__0() in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\ProtectedModules\ProtectedModulesUnlocker.cs:line 22 at Mendix.Modeler.ProtectedModules.ProtectedModulesUnlocker.ExecuteInContext[T](Boolean unlockImplementation, Func`1 code) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\ProtectedModules\ProtectedModulesUnlocker.cs:line 42 at Mendix.Modeler.ProtectedModules.ProtectedModulesUnlocker.Do(Boolean unlockImplementation, Action action) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\ProtectedModules\ProtectedModulesUnlocker.cs:line 20 at Mendix.Modeler.Deployment.FileIOExceptionHandlingProcess.CatchDiskException(Action action) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\Deployment\FileIOExceptionHandlingProcess.cs:line 31 at Mendix.Modeler.Deployment.FileIOExceptionHandlingProcess.<>c__DisplayClass2_0.<AddStep>b__0(IProgressInfo info) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\Deployment\FileIOExceptionHandlingProcess.cs:line 22 at Mendix.Modeler.UIFramework.Progress.ProcessRunner.RunStep(IStep step) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.UIFramework\Progress\ProcessRunner.cs:line 113 at Mendix.Modeler.UIFramework.Progress.ProcessRunner.OnDoWork(Object sender, DoWorkEventArgs e) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.UIFramework\Progress\ProcessRunner.cs:line 75 at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e) at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument) at System.ComponentModel.BackgroundWorker.<RunWorkerAsync>b__27_0(Object arg) at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart() --- End of stack trace from previous location ---
asked
Abrar Ahmed
1 answers
1
Have you moved microflows or entities between modules at all? You might try cleaning your deployment directory and running again.
If not, try downloading the project fresh from the teamserver and trying again