During convert to translatable format: startIndex cannot be larger than length of string

Former Member
Former Member

Hello all,

I've seen posts about this error when trying to 'save target as', but not during 'convert to translatable format'. Does anyone have any suggestions? This is one of a large group of files that we constantly get from client and this is the first time I've seen the error.

Using Studio 2014 SP2 11.2.4435.12.

Stacktrace is below. Any suggestions?

Best, Mindy

<SDLErrorDetails time="2/12/2018 2:40:31 PM"><ErrorMessage>startIndex cannot be larger than length of string. Parameter name: startIndex</ErrorMessage><Exception><Type>System.ArgumentOutOfRangeException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type><ParamName>startIndex</ParamName><HelpLink/><Source>Sdl.FileTypeSupport.Filters.Word</Source><HResult>-2146233086</HResult><StackTrace>

<![CDATA[ at Sdl.FileTypeSupport.Filters.Word.Common.FilterException..ctor(Exception ex) at Sdl.FileTypeSupport.Filters.Word.FileFormat.DocumentControllerFramework.TransformHelper.Transform(String filePath, String xsltPath, DataProcessor urnObject, RuleFileType fileType, Boolean overrideSource) at Sdl.FileTypeSupport.Filters.Word.FileFormat.DocumentControllerFramework.AbstractTransformer.TransformResource() at Sdl.FileTypeSupport.Filters.Word.FileFormat.Datacontainers.Specialized.Footer.Accept(IVisitor visitor) at Sdl.FileTypeSupport.Filters.Word.FileFormat.Datacontainers.Specialized.DocumentCollection.ReadHeaderFooters(IVisitor visitor, String type, ArrayList itemsList, String count) at Sdl.FileTypeSupport.Filters.Word.FileFormat.Datacontainers.Specialized.DocumentCollection.ReadHeaderFooters(IVisitor visitor) at Sdl.FileTypeSupport.Filters.Word.FileFormat.Datacontainers.Specialized.DocumentCollection.Accept(IVisitor visitor) at Sdl.FileTypeSupport.Filters.Word.FrameworkImpl.Extractor.AbstractBuildOutputVisitor.VisitDocumentCollection(IVisitable docCollection) at Sdl.FileTypeSupport.Filters.Word.FrameworkImpl.Extractor.ParserImpl.BuildAndDisplayOutput(IVisitor visitor) at Sdl.FileTypeSupport.Filters.Word.FrameworkImpl.Extractor.ParserImpl.Parse() at Sdl.FileTypeSupport.Filters.Word.FrameworkImpl.Extractor.FileParser.DoForward() at Sdl.FileTypeSupport.Filters.Word.FrameworkImpl.Extractor.FileParser.DuringParsing() at Sdl.FileTypeSupport.Framework.NativeApi.AbstractNativeFileParser.ParseNext() at Sdl.FileTypeSupport.Framework.Integration.FileExtractor.ParseNext() at Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.ParseNext() at Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.Parse() at Sdl.ProjectApi.AutomaticTasks.Conversion.ConversionTask.ProcessFile(IExecutingTaskFile executingTaskFile) at Sdl.ProjectApi.AutomaticTasks.AbstractFileLevelAutomaticTaskImplementation.Execute()]]>

</StackTrace></Exception><Environment><ProductName>SDL Trados Studio</ProductName><ProductVersion>11.0.0.0</ProductVersion><EntryAssemblyFileVersion>11.2.4435.12</EntryAssemblyFileVersion><OperatingSystem>Microsoft Windows 7 Professional </OperatingSystem><ServicePack>Service Pack 1</ServicePack><OperatingSystemLanguage>1033</OperatingSystemLanguage><CodePage>1252</CodePage><LoggedOnUser>xxxxx\xxxxx</LoggedOnUser><DotNetFrameWork>4.0.30319.36415</DotNetFrameWork><ComputerName>xxxx</ComputerName><ConnectedToNetwork>True</ConnectedToNetwork><PhysicalMemory>12565732 MB</PhysicalMemory></Environment></SDLErrorDetails>

Parents Reply
  • Former Member
    0 Former Member in reply to Lydia Simplicio
    Hello Steven,
    Sorry about that, I know better to not provide that. I'm using a Windows 7 PC, MS Word 2010.

    While creating a Studio project, 5 of the 6 files were fine. It's that one file that wouldn't work, with the error.

    I took the .docx, ran an Inspection in Word, removed Custom XML data. Still wouldn't work. The only way I could get the file to work is to save it as .doc, but the client says they can NOT save it down to .doc (did not give an explanation).

    Have requested more information from them - why is this file different, did it have a different author, used a different template, et al.

    My apologies for not providing enough info earlier.
    Best, Mindy
Children
No Data