Error message: A task was canceled - Studio 2021

Hi,

It is almost 2 days that when I open a project in Studio 2021, the error message: "A task was canceled" appears. Since I canceled no task, I click on the cross on top right to close the message and together with it, also Studio 2021 stops working and closes down.

Error message in Trados Studio 2021 displaying 'A task was canceled' with an OK button and a red cross icon.

I cannot work anymore in this way.

Can anybody help in this matter?

Thanks in advance.

Laura



Generated Image Alt-Text
[edited by: Trados AI at 12:31 AM (GMT 0) on 29 Feb 2024]
emoji
Parents
  • Hello  ,

    I have experienced that same error in a current local project.

    I have then disabled all the possible features I could, including a translation memory (which would need to be updated though), and the problem seems gone.

    Here below the error message log:



    <SDLErrorDetails time="07/04/2025 10:20:20">
      <ErrorMessage>A task was canceled.</ErrorMessage>
      <Exception>
        <Type>System.Threading.Tasks.TaskCanceledException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
        <HelpLink />
        <Source>mscorlib</Source>
        <HResult>-2146233029</HResult>
        <StackTrace><![CDATA[   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Sdl.TranslationStudio.Plugins.CommunityInside.Notifications.Service.CommunityClient.<GetCommunityToken>d__17.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Sdl.TranslationStudio.Plugins.CommunityInside.Notifications.Service.CommunityNotificationsDisplayer.<CredentialsProvider_CredentialsChanged>d__25.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_0(Object state)]]></StackTrace>
      </Exception>
      <Environment>
        <ProductName>Trados Studio</ProductName>
        <ProductVersion>Studio17</ProductVersion>
        <EntryAssemblyFileVersion>17.2.12.19268</EntryAssemblyFileVersion>
        <OperatingSystem>Microsoft Windows 10 Pro</OperatingSystem>
        <ServicePack>NULL</ServicePack>
        <OperatingSystemLanguage>1033</OperatingSystemLanguage>
        <CodePage>1252</CodePage>
        <LoggedOnUser>Myname</LoggedOnUser>
        <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
        <ComputerName>Myname</ComputerName>
        <ConnectedToNetwork>True</ConnectedToNetwork>
        <PhysicalMemory>8286760 MB</PhysicalMemory>
      </Environment>
    </SDLErrorDetails>

    Is there any specific feature I should disable (instead of all possible features) to bypass that issue?

    emoji
Reply
  • Hello  ,

    I have experienced that same error in a current local project.

    I have then disabled all the possible features I could, including a translation memory (which would need to be updated though), and the problem seems gone.

    Here below the error message log:



    <SDLErrorDetails time="07/04/2025 10:20:20">
      <ErrorMessage>A task was canceled.</ErrorMessage>
      <Exception>
        <Type>System.Threading.Tasks.TaskCanceledException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
        <HelpLink />
        <Source>mscorlib</Source>
        <HResult>-2146233029</HResult>
        <StackTrace><![CDATA[   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Sdl.TranslationStudio.Plugins.CommunityInside.Notifications.Service.CommunityClient.<GetCommunityToken>d__17.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Sdl.TranslationStudio.Plugins.CommunityInside.Notifications.Service.CommunityNotificationsDisplayer.<CredentialsProvider_CredentialsChanged>d__25.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_0(Object state)]]></StackTrace>
      </Exception>
      <Environment>
        <ProductName>Trados Studio</ProductName>
        <ProductVersion>Studio17</ProductVersion>
        <EntryAssemblyFileVersion>17.2.12.19268</EntryAssemblyFileVersion>
        <OperatingSystem>Microsoft Windows 10 Pro</OperatingSystem>
        <ServicePack>NULL</ServicePack>
        <OperatingSystemLanguage>1033</OperatingSystemLanguage>
        <CodePage>1252</CodePage>
        <LoggedOnUser>Myname</LoggedOnUser>
        <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
        <ComputerName>Myname</ComputerName>
        <ConnectedToNetwork>True</ConnectedToNetwork>
        <PhysicalMemory>8286760 MB</PhysicalMemory>
      </Environment>
    </SDLErrorDetails>

    Is there any specific feature I should disable (instead of all possible features) to bypass that issue?

    emoji
Children
No Data