You are currently working on UAT 

Mistake when we close Studio

We are having a problem when we want to close Studio, sometimes we have a message saying

"cannot set the active view to a view that is disable or not a available".

I attach a text (with xml tags) that it is describing the mistake

<SDLErrorDetails time="29/04/2015 12:42:06">
  <ErrorMessage>Cannot set the active view to a view that is disabled or not available.</ErrorMessage>
  <Exception>
    <Type>System.ArgumentException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
    <ParamName />
    <HelpLink />
    <Source>Sdl.Desktop.Platform</Source>
    <HResult>-2147024809</HResult>
    <StackTrace><![CDATA[   at Sdl.Desktop.Platform.Implementation.StudioWindow.set_ActiveView(IViewReference value)
   at Sdl.TranslationStudio.Editor.EditorService.RestorePreviousView()
   at Sdl.TranslationStudio.Editor.EditorService.Window_Closing(IStudioWindow window, CancelEventArgs e)
   at Sdl.Desktop.Platform.StudioWindowCancelEventHandler.Invoke(IStudioWindow window, CancelEventArgs cancel)
   at Sdl.Desktop.Platform.Implementation.StudioWindow.OnClosing()
   at Sdl.Desktop.Platform.Implementation.StudioWindow._form_Closing(Object sender, CancelEventArgs e)
   at System.ComponentModel.CancelEventHandler.Invoke(Object sender, CancelEventArgs e)
   at System.Windows.Forms.Form.OnClosing(CancelEventArgs e)
   at System.Windows.Forms.Form.WmClose(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at Sdl.Desktop.Platform.WinForms.StudioWindowForm.WndProc(Message& message)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)]]></StackTrace>
  </Exception>
  <Environment>
    <ProductName>SDL Trados Studio</ProductName>
    <ProductVersion>11.0.0.0</ProductVersion>
    ...
  </Environment>
</SDLErrorDetails>
Thanks.
Parents Reply
  • I often get the same error message.

    When I am finished with a project, I remove it from the list of projects in Studio. When the list of projects in Studio is empty, I often get this error message when I try to exit Studio. (Happened in Studio 2014 and continues to happen in Studio 2015.)

    I do not always get this error message when the list of projects is empty (sometimes Studio closes nicely), but I don't recall ever getting this error message under any other circumstances.

    The only way I have figured out to exit Studio when this error message appears is to use the Windows Task Manager to end the task. A bit drastic, but it works. Otherwise, Studio will refuse to close and will hang around open on my desktop until the next time I need to use it.

    Regards,
    Bruce Campbell
    ASAP Language Services
Children