Hi
I just wanted to do a HTML preview of the SamplePhotoPrinter.doc file which I saved as docx and I got an error.
Could not load file or assembly 'OpenXmlPowerTools, Version=4.5.3.0, Culture=neutral, PublicKeyToken=c28cdb26c445c888' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
I'm sure this was working in the past. Could it be it is related to the update of Open XML SDL as per https://gateway.rws.com/csm?id=kb_article_view&sysparm_article=KB0027380 ?
I attach the image and the log.
<SDLErrorDetails time="28.9.2017 17:55:53">
<ErrorMessage>Could not load file or assembly 'OpenXmlPowerTools, Version=4.5.3.0, Culture=neutral, PublicKeyToken=c28cdb26c445c888' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)</ErrorMessage>
<Exception>
<Type>System.IO.FileLoadException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
<FileName>OpenXmlPowerTools, Version=4.5.3.0, Culture=neutral, PublicKeyToken=c28cdb26c445c888</FileName>
<FusionLog>WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
</FusionLog>
<HelpLink />
<Source>Sdl.FileTypeSupport.Filters.MicrosoftOffice_2</Source>
<HResult>-2146234304</HResult>
<StackTrace><![CDATA[ at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Preview.Word.Html.DocxToHtmlConverter.ConvertToHtml(String docxInputFilePath, String outputHtmlFilePath, String outputHtmlFileContentFolder)
at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Preview.Word.Html.DocxToHtmlFileManager.ConvertDocxToHtml()
at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Preview.Word.Html.HtmlInternalPreviewController.Refresh()
at Sdl.TranslationStudio.Editor.Previews.ViewPreviewManager.ShowControlPreview(IManagedPreview preview)
at Sdl.TranslationStudio.Editor.Previews.ViewPreviewManager.jobRequest_PreviewGenerated(ITranslatableDocument document, IManagedPreview activePreviewType, PreviewTempFileGenerator tempFileGenerator, GenerateType generateType)
at Sdl.TranslationStudio.Editor.Previews.GeneratePreviewJobRequest.AfterExecute(IJob job)
at Sdl.Desktop.Platform.Implementation.Services.Job.FinalizeJob()
at Sdl.Desktop.Platform.Implementation.Services.JobService.ExecuteJobWithProgress(IExecutableJob job)
at Sdl.Desktop.Platform.Implementation.Services.JobService.ScheduleJob(IJobRequest jobRequest)
at Sdl.TranslationStudio.Editor.Previews.ViewPreviewManager.GeneratePreview(PreviewSetInfo previewSetInfo, GenerateType generateType)
at Sdl.TranslationStudio.Editor.Previews.PreviewManager.GeneratePreview(GenerateType generateType)
at Sdl.TranslationStudio.Editor.Previews.PreviewManager.RegeneratePreview(GenerateType generateType)
at Sdl.TranslationStudio.Editor.Previews.InternalPreview.InternalPreviewViewPart._waitingRefreshControl_RefreshClicked(Object sender, EventArgs e)
at Sdl.TranslationStudio.Editor.Previews.InternalPreview.WaitingRefreshControl.FireRefreshClickedEvent()
at Sdl.TranslationStudio.Editor.Previews.InternalPreview.WaitingRefreshControl.linkLabelRefresh_LinkClicked(Object sender, LinkLabelLinkClickedEventArgs e)
at System.Windows.Forms.LinkLabel.OnLinkClicked(LinkLabelLinkClickedEventArgs e)
at System.Windows.Forms.LinkLabel.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Label.WndProc(Message& m)
at System.Windows.Forms.LinkLabel.WndProc(Message& msg)
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>14.0.0.0</ProductVersion>
<EntryAssemblyFileVersion>14.1.6329.7</EntryAssemblyFileVersion>
<OperatingSystem>Microsoft Windows 7 Professional </OperatingSystem>
<ServicePack>Service Pack 1</ServicePack>
<OperatingSystemLanguage>1033</OperatingSystemLanguage>
<CodePage>1250</CodePage>
<LoggedOnUser></LoggedOnUser>
<DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
<ComputerName></ComputerName>
<ConnectedToNetwork>True</ConnectedToNetwork>
<PhysicalMemory>8078840 MB</PhysicalMemory>
</Environment>
</SDLErrorDetails>
Translate