2015 SR2 ppt preview error Exception has been found by the target of an invocation

Hello again. I have completed translating a ppt and am reviewing the generated target file. It occured to me that rather than making changes and having to resave and reopen etc. I could, bingo, use the preview. I have had a look at other messages, can't see this particular issue discussed, apologies if I missed it.

It generated a one-page template view of the source (headings template), and no view of the target (black screen). It opened the template view in the preview pane, and as an external file in Powerpoint. I closed the preview pane just clicked on the X), and closed the external file; it regenerated, so I closed it again, and found I now had all ppt files closed, including the source file which I thought I had open still, but it may have been me that closed it. I subsequently got the error message, which seems to indicate that the preview was still trying to generate a file. Stack trace here (try to get the right one this time).

Not a big deal, since it stops after fully closing Powerpoint, but it would be nice to be able to use the preview, I believe it is supposed to support ppt files? Thanks

*Edit: actually, it doesn't stop after closing the preview window and powerpoint; am now trying to view and edit the source and target files, and edit in Trados, and Trados keeps trying to flick back to Powerpoint, presumably looking to update the preview (?) - although not actually doing so. I'm sure if I just save and close Trados it will sort it, but thought should mention it.

<SDLErrorDetails time="5/2/2016 8:40:02 PM">
  <ErrorMessage>Exception has been thrown by the target of an invocation.</ErrorMessage>
  <Exception>
    <Type>System.Reflection.TargetInvocationException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
    <HelpLink />
    <Source>mscorlib</Source>
    <HResult>-2146232828</HResult>
    <StackTrace><![CDATA[   at System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters)
   at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
   at Sdl.FileTypeSupport.Filters.PowerPoint.Preview.PowerPointInterop.Presentation.get_DocumentWindow()
   at Sdl.FileTypeSupport.Filters.PowerPoint.Preview.InteractivePreviewPowerpointControl.SlideView(Presentation PPTPresentation, Int32 SldNo)
   at Sdl.FileTypeSupport.Filters.PowerPoint.Preview.InteractivePreviewPowerpointControl.ViewType(Presentation PPTPresentation, Int32 SldNo, String SldType)
   at Sdl.FileTypeSupport.Filters.PowerPoint.Preview.InteractivePreviewPowerpointControl.ScrollToSegment(String SlideNumber, String SlideType)
   at Sdl.FileTypeSupport.Filters.PowerPoint.Preview.InternalPreviewController.NavigateToSegment(SegmentReference segment)
   at Sdl.TranslationStudio.Editor.Previews.ViewPreviewManager.NavigatePreviewsToActiveViewSegment()
   at Sdl.TranslationStudio.Editor.Previews.ViewPreviewManager._view_ActiveSegmentChanged(Object sender, EventArgs e)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at Sdl.TranslationStudio.Editor.TranslationEditor.SideBySideDocumentEditingView.OnActiveSegmentChanged()
   at Sdl.TranslationStudio.Editor.TranslationEditor.SideBySideDocumentEditingView.SideBySideEditor_ActiveRowChanged(Object sender, ActiveRowChangedEventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SideBySideEditor.raise_ActiveRowChanged(Object value0, ActiveRowChangedEventArgs value1)
   at SideBySideEditor.OnActiveRowChanged(Object sender, ActiveRowChangedEventArgs args)
   at SideBySideEditor.set_ActiveRowNumber(Int32 rowNumber)
   at SideBySideEditor.UpdateActiveRow(IEditControl editControl)
   at SideBySideEditor.OnSelectionChanged(Object sender, SelectionChangedEventArgs args)
   at SideBySideEditor.Target_SelectionChanged(Object sender, SelectionChangedEventArgs args)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at AbstractFrameworkEditControl.raise_SelectionChanged(Object value0, SelectionChangedEventArgs value1)
   at FrameworkEditControl.OnSelectionChanged(Object sender, SelectionChangedEventArgs args)
   at FrameworkEditControlEventSource.SelectionChanged(FrameworkEditControlEventSource* )
   at Tree.DocumentControl.vl_WindowProc(DocumentControl* , HWND__* , UInt32 , UInt32 , Int32 )
   at FrameworkDocumentControl.vl_WindowProc(FrameworkDocumentControl* , HWND__* h_wnd, UInt32 n_msg, UInt32 w_p, Int32 l_p)
   at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
   at System.Windows.Forms.Control.DefWndProc(Message& m)
   at System.Windows.Forms.Control.WmKeyChar(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   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>
    <InnerException>
      <Type>System.Runtime.InteropServices.COMException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
      <ErrorCode>-2147188160</ErrorCode>
      <HelpLink />
      <Source>Microsoft PowerPoint 2010</Source>
      <HResult>-2147188160</HResult>
      <StackTrace><![CDATA[]]></StackTrace>
    </InnerException>
  </Exception>
  <Environment>
    <ProductName>SDL Trados Studio</ProductName>
    <ProductVersion>12.0.0.0</ProductVersion>
    <EntryAssemblyFileVersion>12.2.5099.5</EntryAssemblyFileVersion>
    <OperatingSystem>Microsoft Windows 10 Home</OperatingSystem>
    <ServicePack>NULL</ServicePack>
    <OperatingSystemLanguage>1033</OperatingSystemLanguage>
    <CodePage>1252</CodePage>
    <LoggedOnUser>SIAN\Sian</LoggedOnUser>
    <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
    <ComputerName>SIAN</ComputerName>
    <ConnectedToNetwork>True</ConnectedToNetwork>
    <PhysicalMemory>4144356 MB</PhysicalMemory>
  </Environment>
</SDLErrorDetails>

Parents
  • No-one interested in this, apparently; I admit it is not urgent.

    I have looked at other Exception thrown issues herre, none relates to this. There is no apparent issue with the format of the file, although preview seems unable to understand it, I guess (hence generating just the headers/template style ppt). I have looked in the KB for this error, but answers are not relative to preview.

    The new SDL Support KB returns a bunch of things that look completely disconnected, starting with 'what version of Oracle/Java runtime do I have installed' (FAQs I think) and 'Machine translation in SDL Trados Studio SP1 CU5' (Solution Articles). So the search doesn't seem to be taking any notice of what I'm searching for. Any tips on that, please? Pretty useless as it stands.

    Thanks
Reply
  • No-one interested in this, apparently; I admit it is not urgent.

    I have looked at other Exception thrown issues herre, none relates to this. There is no apparent issue with the format of the file, although preview seems unable to understand it, I guess (hence generating just the headers/template style ppt). I have looked in the KB for this error, but answers are not relative to preview.

    The new SDL Support KB returns a bunch of things that look completely disconnected, starting with 'what version of Oracle/Java runtime do I have installed' (FAQs I think) and 'Machine translation in SDL Trados Studio SP1 CU5' (Solution Articles). So the search doesn't seem to be taking any notice of what I'm searching for. Any tips on that, please? Pretty useless as it stands.

    Thanks
Children