The following error message is displayed when trying to connect with Trados Studio to a Trados GroupShare server:
<SDLErrorDetails time="13/12/2023 14:53:16">
<ErrorMessage>One or more errors occurred.</ErrorMessage>
<Exception>
<Type>System.AggregateException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c5feseree089</Type>
<HelpLink />
<Source>mscorlib</Source>
<HResult>-2146233088</HResult>
<StackTrace><![CDATA[ at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at Sdl.Desktop.Platform.ServerConnectionPlugin.Client.IdentityModel.UserManager2012Client.Ping()
at Sdl.Desktop.Platform.ServerConnectionPlugin.Implementation.ServersDialog.ServerConnectionWorker.Connect()]]></StackTrace>
<InnerException>
<Type>SDL.ApiClientSDK.GS.Exceptions.NoPermissionException, SDL.ApiClientSDK.GS, Version=1.0.0.128, Culture=neutral,
PublicKeyToken=c28cdb26c445c888</Type>
<TraceId />
<RequestMessage />
<ResponseMessage />
<HelpLink />
<Source>SDL.ApiClientSDK.GS</Source>
<HResult>-2146233088</HResult>
<StackTrace><![CDATA[ at SDL.ApiClientSDK.GS.Rest.GroupshareRestClient.<HandleUnsuccessfulResponseByStatusCode>d__26.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 System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at SDL.ApiClientSDK.GS.Rest.GroupshareRestClient.<SendRequestAsync>d__25.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.ApiClientSDK.GS.UserManagementV2Client.<PingAsync>d__10.MoveNext()]]></StackTrace>
</InnerException>
</Exception>
<Environment>
<ProductName>Trados Studio</ProductName>
<ProductVersion>Studio17</ProductVersion>
<EntryAssemblyFileVersion>17.1.8.17828</EntryAssemblyFileVersion>
<OperatingSystem>Microsoft Windows 11 Home</OperatingSystem>
<ServicePack>NULL</ServicePack>
<OperatingSystemLanguage>3082</OperatingSystemLanguage>
<CodePage>1252</CodePage>
<LoggedOnUser>USERNAMEHERE</LoggedOnUser>
<DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
<ComputerName>COMPUTERNAMEHERE</ComputerName>
<ConnectedToNetwork>True</ConnectedToNetwork>
<PhysicalMemory>16464408 MB</PhysicalMemory>
</Environment>
</SDLErrorDetails>
When looking into the Trados Studio log files (File - View Log File), the following errors are shown:
INFO [2023-12-13 13:48:30,011] Sdl.Desktop.Platform.Implementation.ResourceLoggingInternalCommandExecuter -
Start#Id=4bd8874e-fb47-480c-89d6-642312dadwad55efc#Name=Connecting
...#ProcessName=SDLTradosStudio#PhysicalMemorySize=326144000#VirtualMemorySize=2226723#
ThreadCount=36#HandleCount=1434382#GdiHandleCount=999#UserHandleCount=495#TotalProcessorTime=00:00:06.7656250
INFO [2023-12-13 14:52:31,419] SDL.ApiClientSDK.GS.UserManagementV2Client -
Calling GET https://servernamehere.com/api/management/v2/users?name=username@email.comexample
ERROR [2023-12-13 14:52:31,796] SDL.ApiClientSDK.GS.UserManagementV2Client - An error occured while getting the token :
ERROR [2023-12-13 14:52:31,802] SDL.ApiClientSDK.GS.UserManagementV2Client - Server returned unsuccessful status code :
Unauthorized, Message : StatusCode: 401, ReasonPhrase: 'Unauthorized', Version: 1.1, Content: <null>, Headers:
{
} Exception TraceId :
FATAL [2023-12-13 14:52:31,828] Sdl.Desktop.Platform.UnhandledException - One or more errors occurred.
System.AggregateException: One or more errors occurred. ---> SDL.ApiClientSDK.GS.Exceptions.NoPermissionException:
Server responded with Unauthorized while trying to make a "GET" REQUEST at Url:
"https://servernamehere.com/api/management/v2/users?name=username@email.comexample".
User might not have permission to perform the attempted request
Full response content: Response status code does not indicate success: 401 (Unauthorized).Content: StatusCode: 401,
ReasonPhrase: 'Unauthorized', Version: 1.1, Content: <null>, Headers:
{
}
at SDL.ApiClientSDK.GS.Rest.GroupshareRestClient.<HandleUnsuccessfulResponseByStatusCode>d__26.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 System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at SDL.ApiClientSDK.GS.Rest.GroupshareRestClient.<SendRequestAsync>d__25.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.ApiClientSDK.GS.UserManagementV2Client.<PingAsync>d__10.MoveNext()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at Sdl.Desktop.Platform.ServerConnectionPlugin.Client.IdentityModel.UserManager2012Client.Ping()
at Sdl.Desktop.Platform.ServerConnectionPlugin.Implementation.ServersDialog.ServerConnectionWorker.Connect()
|
Rename the following config files: 1. Navigate to C:\Users\%username%\AppData\Roaming\Trados\Trados Studio\Studio17 (%username% will match your Windows user, you can directly copy/paste this path in File Explorer) 2. Rename BaseSettings.xml, Plugincache.xml, UserSettings.xml to _OLD (Ex.: BaseSettings.xml.OLD) 3. Navigate to C:\Users\%username%\AppData\Roaming\Trados\Platform\Identity and change the SDLTradosStudio.exe folder to SDLTradosStudio.exe_OLD 4. Reopen Trados Studio and retry the Trados GroupShare server connection via the File > Setup > Servers section |
Corrupted Trados Studio config files. |