<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Problem with document previewer for documents with long file names (Alfresco running on Windows) in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-document-previewer-for-documents-with-long-file/m-p/311567#M264697</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We're currently running Alfresco Community 5.0d on Windows Server 2008 R2. When a user clicks on a Word document in Alfresco, the document previewer does not work. It displays the error "Cannot load PDF content". Everything else works, including downloading the document and editing it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We've narrowed the cause of the problem down to documents with long names. For example, when we try to preview the document with a short name (name: "Test Document.docx"), the previewer works. But when we try to preview a document with a long name (name: "This is a very very very very very very very very very very very very very very very very very very long name.docx") the previewer fails. Please refer to the attached logfile, containing the errors.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On the Windows server, we've spotted a very long path to the generated pdf file from the previewer (for example: "D:\ALFRES~3\tomcat\temp\Alfresco\THISIS~1.DOC\This is a very very very very very very very very very very very very very very very very very very long name.docx-OpenOfficeContentTransformer-target-4579919968688505989.pdf"). This pdf file is 0kb in size, which is incorrect.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We believe that the pdf document can't be generated successfully, because of the MAX_PATH length value in Windows (which has a static value of 260).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anybody have a solution for this problem, except for migrating to Linux which is not an option for this customer?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 May 2015 13:55:47 GMT</pubDate>
    <dc:creator>aabd</dc:creator>
    <dc:date>2015-05-08T13:55:47Z</dc:date>
    <item>
      <title>Problem with document previewer for documents with long file names (Alfresco running on Windows)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-document-previewer-for-documents-with-long-file/m-p/311567#M264697</link>
      <description>Hi,We're currently running Alfresco Community 5.0d on Windows Server 2008 R2. When a user clicks on a Word document in Alfresco, the document previewer does not work. It displays the error "Cannot load PDF content". Everything else works, including downloading the document and editing it.We've narro</description>
      <pubDate>Fri, 08 May 2015 13:55:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-document-previewer-for-documents-with-long-file/m-p/311567#M264697</guid>
      <dc:creator>aabd</dc:creator>
      <dc:date>2015-05-08T13:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with document previewer for documents with long file names (Alfresco running on Windows)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-document-previewer-for-documents-with-long-file/m-p/311568#M264698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yeah……Shorten the name of the file.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 16:03:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-document-previewer-for-documents-with-long-file/m-p/311568#M264698</guid>
      <dc:creator>eswbitto</dc:creator>
      <dc:date>2015-05-08T16:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with document previewer for documents with long file names (Alfresco running on Windows)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-document-previewer-for-documents-with-long-file/m-p/311569#M264699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Shortening the filename could be a solution indeed &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However, the customer would like to keep using long file names, because of document naming conventions which are enforced by business policies.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2015 11:35:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-document-previewer-for-documents-with-long-file/m-p/311569#M264699</guid>
      <dc:creator>aabd</dc:creator>
      <dc:date>2015-05-11T11:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with document previewer for documents with long file names (Alfresco running on Windows)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-document-previewer-for-documents-with-long-file/m-p/311570#M264700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;"We believe that the pdf document can't be generated successfully, because of the MAX_PATH length value in Windows (which has a static value of 260)"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think this is definitely the cause.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you shorten the path by renaming folders, changing the temp file location, or even mapping it to a drive letter?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2015 07:51:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-document-previewer-for-documents-with-long-file/m-p/311570#M264700</guid>
      <dc:creator>tearalong</dc:creator>
      <dc:date>2015-06-02T07:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with document previewer for documents with long file names (Alfresco running on Windows)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-document-previewer-for-documents-with-long-file/m-p/311571#M264701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is the root cause of this that the 256 character limit in URL?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2015 22:00:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-document-previewer-for-documents-with-long-file/m-p/311571#M264701</guid>
      <dc:creator>motionpotion</dc:creator>
      <dc:date>2015-07-21T22:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with document previewer for documents with long file names (Alfresco running on Windows)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-document-previewer-for-documents-with-long-file/m-p/311572#M264702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Unfortunately we can't shorten the path ourselves, because Alfresco generates those temporary (sub)folders and tempfiles on its own. The only thing we can change is the base path, which is D:\Alfresco50d in our case. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We've created an issue in Alfresco's JIRA bugtracking system, please refer to &lt;/SPAN&gt;&lt;A href="https://issues.alfresco.com/jira/browse/ALF-21340" rel="nofollow noopener noreferrer"&gt;https://issues.alfresco.com/jira/browse/ALF-21340&lt;/A&gt;&lt;SPAN&gt; .&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jul 2015 09:27:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-document-previewer-for-documents-with-long-file/m-p/311572#M264702</guid>
      <dc:creator>aabd</dc:creator>
      <dc:date>2015-07-24T09:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with document previewer for documents with long file names (Alfresco running on Windows)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-document-previewer-for-documents-with-long-file/m-p/311573#M264703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Easy solution is Long Path Tool.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Aug 2017 15:31:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-document-previewer-for-documents-with-long-file/m-p/311573#M264703</guid>
      <dc:creator>piercerob</dc:creator>
      <dc:date>2017-08-05T15:31:17Z</dc:date>
    </item>
  </channel>
</rss>

