Failed to save target content. Value cannot be null. Parameter name: file Name

Hello. I use Studio 2017. I am currently translating a book and I was working on one long chapter (original document: Word doc.) for the past two weeks. Fortunately, I saved drafts in Word format every day. Yesterday when I went to open the project file, I received the message "Dependency file not found. Would you like to browse this file?" Upon browsing, I got the message "Path does not exist. Would you like to try again?"

I found this turn of events quite odd because I had been working satisfactorily with the file for two works. Interestingly, however, (actually, I should say "deceptively"), despite the messages, the project file did open in Trados, so I continued working because everything looked normal, and it looked as if I was able to save the segments into my TM. Nevertheless, when I tried to generate a Word document I received the message shown in the subject line above. However, I was lulled into believing all was being saved in the TM. At the end of the day, I tried various ways to generate a Word document including opening the .sdlxliff file directly but was unable to. As I said, however, because my .sdlxliff file seemed to be updated, I thought at least that my TM had updated, so I tried to regenerate a new document using my TM, only to find that none of my day's work was saved on the TM.

So, my dilemma is this: (1) I have all the updated work on my Editor's View but I cannot generate a target Word file. (2) The updated segments failed to save in the TM. (3) The project file cannot be opened via the .sdlxliff file. (4) I absolutely need this data on my TM. What can I do? Please help. In addition to using a TM for this project, I am also using a term base. The error details are given below. I apologise if my explanation is wordy, but I wanted to give as much information as possible to expedite the best solution. I look forward to a possible solution from SDL and the collective wisdom of the SDL Community.         

Gratefully,

Robin

- <SDLErrorDetails time="1/20/2018 6:55:31 AM"> 

<ErrorMessage>Failed to save target content: Value cannot be null. Parameter name: fileName</ErrorMessage> 

- <Exception> 

<Type>System.ArgumentNullException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type> 

<ParamName>fileName</ParamName> 

<HelpLink /> 

<Source>mscorlib</Source> 

<HResult>-2147467261</HResult> 

- <StackTrace> 

- <![CDATA[ 

   at System.IO.FileInfo..ctor(String fileName)

   at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Core.Services.FileService.GetFileInfo(String path)

   at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Word.Writer.DocxWriter.GetSourceFilePath(IPersistentFileConversionProperties fileProperties)

   at Sdl.FileTypeSupport.Filters.MicrosoftOffice.Word.Writer.DocxWriter.GetProposedOutputFileInfo(IPersistentFileConversionProperties fileProperties, IOutputFileInfo proposedFileInfo)

   at Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.GetProposedFileInfoFromComponents(IFileProperties fileInfo, ContentRestriction contentRestriction)

   at Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.SetNativeOutputProperties(IFileProperties fileInfo)

   at Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.NextGenerator(IFileProperties fileInfo)

   at Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.SetFileProperties(IFileProperties fileInfo)

   at Sdl.FileTypeSupport.Framework.BilingualApi.AbstractBilingualContentProcessor.SetFileProperties(IFileProperties fileInfo)

   at Sdl.FileTypeSupport.Framework.Integration.AbstractBilingualProcessorContainer.SetFileProperties(IFileProperties fileInfo)

   at Sdl.FileTypeSupport.Bilingual.Tmfc.TmfcReaderImpl.vv_Visit(TmfcReaderImpl* , FrameworkFileContainerField* field)

   at FrameworkFileContainerField.vv_AcceptFrameworkVisitor(FrameworkFileContainerField* , FrameworkFieldVisitor* visitor)

   at Sdl.FileTypeSupport.Bilingual.Tmfc.TmfcReaderImpl.vv_VisitStartEndField(TmfcReaderImpl* , StartEndField* startEnd)

   at Sdl.FileTypeSupport.Bilingual.Tmfc.TmfcReaderImpl.b_VisitNext(TmfcReaderImpl* )

   at Sdl.FileTypeSupport.Bilingual.Tmfc.TmfcReader.ParseNext()

   at Sdl.FileTypeSupport.Framework.Integration.FileExtractor.ParseNext()

   at Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.ParseNext()

   at Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.Parse()

   at Sdl.TranslationStudio.Editor.TranslationEditor.TranslatableDocument.SaveMonolingualAsJobRequest.Execute(IJobExecutionContext context)

   at Sdl.Desktop.Platform.Implementation.Services.Job.<_worker_DoWork>b__3()

   at Sdl.Desktop.Platform.Implementation.Services.Log.Resources(Object message, Action action)

   at Sdl.Desktop.Platform.Implementation.Services.Job._worker_DoWork(Object sender, DoWorkEventArgs e)

   at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)

   at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)

]]> 

</StackTrace> 

</Exception> 

- <Environment> 

<ProductName>SDL Trados Studio</ProductName> 

<ProductVersion>14.0.0.0</ProductVersion> 

<EntryAssemblyFileVersion>14.1.6413.8</EntryAssemblyFileVersion> 

<OperatingSystem>Microsoft Windows 10 Home</OperatingSystem> 

<ServicePack>NULL</ServicePack> 

<OperatingSystemLanguage>1033</OperatingSystemLanguage> 

<CodePage>1252</CodePage> 

<LoggedOnUser>DESKTOP-J12B5TV\Home Business</LoggedOnUser> 

<DotNetFrameWork>4.0.30319.42000</DotNetFrameWork> 

<ComputerName>DESKTOP-J12B5TV</ComputerName> 

<ConnectedToNetwork>True</ConnectedToNetwork> 

<PhysicalMemory>2079244 MB</PhysicalMemory> 

</Environment> 

</SDLErrorDetails>

 
Parents
  • Hello Roberta Miyaguchi (RobertaMiyaguchi) ,

    I believe the cause of this issue is indeed NOT the main error message- but indeed the one that's a little more buried-

    Unknown said:
    "Dependency file not found. Would you like to browse this file?" Upon browsing, I got the message "Path does not exist. Would you like to try again?"

    and which, more often than not is caused by leaving the machine running in standby mode overnight/longer periods and you are running such registry cleaners such as CCLEANER- which deletes the temporary files.

    (I would suggest ALWAYS shutting down Studio properly if you are going to be away from the computer for longer periods).

    Although there are a few articles in the SDL Gateway (knowledgebase) regarding 'dependency files not found' I still think the following blog sums the issue and solution nicely  

    http://tradosstudiomanual.com/?p=1180 (thanks to

    Let me know if this resolves the issue.

     

     

    Lydia Simplicio | RWS Group

    _______
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

Reply
  • Hello Roberta Miyaguchi (RobertaMiyaguchi) ,

    I believe the cause of this issue is indeed NOT the main error message- but indeed the one that's a little more buried-

    Unknown said:
    "Dependency file not found. Would you like to browse this file?" Upon browsing, I got the message "Path does not exist. Would you like to try again?"

    and which, more often than not is caused by leaving the machine running in standby mode overnight/longer periods and you are running such registry cleaners such as CCLEANER- which deletes the temporary files.

    (I would suggest ALWAYS shutting down Studio properly if you are going to be away from the computer for longer periods).

    Although there are a few articles in the SDL Gateway (knowledgebase) regarding 'dependency files not found' I still think the following blog sums the issue and solution nicely  

    http://tradosstudiomanual.com/?p=1180 (thanks to

    Let me know if this resolves the issue.

     

     

    Lydia Simplicio | RWS Group

    _______
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

Children
  • Thank you, Steven, for your prompt reply to my situation. I did go to the link you suggested. It offered two options. I tried the first with no success. I did have the source file and followed the instructions but when I tried to save the target as a Word document, I received the message "Failed to save target content. Cannot find central directory." The second option offered was one I had already instinctively tried when I got caught up in this problem in the first place. I thought I would continue my work, knowing that I would not be able to generate a Word document in the end, as it seemed all the segments were still being saved on the TM and my intention was to generate a new project file using my TM and then ultimately a Word document. However, I was shocked to find that the segments were NOT been saved on the TM, although to all appearances they seemed to be confirming as normal.
    When I have time, I will try the more complex fixes. At the moment, I am in the midst of another project and have no time to spare. But perhaps the most valuable piece of information you imparted to me was to ALWAYS shut down to avoid this problem. I want to avoid revisiting this problem at all costs. I had never encountered this particular problem before and it really shook my confidence in Trados. I will let you know if I achieve success with any of the solutions. In the meantime, I will be sure to shut down my computer as well as generate target documents every night as risk measures. Thanks again, Steven, for your advice.
  • Hi Steven, Just to thank you for your reply which tremendously helped me.