cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

We are happy to announce the new Windchill Customization board! Learn more.

doc2pv.exe crashes when publishing

ailut
1-Newbie

doc2pv.exe crashes when publishing

Hi All,

I've set up the office worker on a separate server using the Adobe Experience Manager. The Worker Daemon is started from a CMD Window and not set as a service.

While publishing the doc2pv.exe application crashes.

Details: Windchill 10.2

            Creo View Adapters 3.0

            Adobe Experience Manager 6

The application crashes while publishing an Excel Doc (see attachment) . For Word the job fails directly with the following error:

17.08.2016 09:55:39:Failed to publish document file "D:/FTP/worker/w1i1j6/test.docx" to "D:/FTP/worker/w1i1j6/test_docx.pdf"

17.08.2016 09:55:39:Document Processing Returned: $ERROR$ Failed to publish document file "D:/FTP/worker/w1i1j6/test.docx" to "D:/FTP/worker/w1i1j6/test_docx.pdf"

17.08.2016 09:55:39:CadAgent Returned: $ERROR$ Failed to publish document file "D:/FTP/worker/w1i1j6/test.docx" to "D:/FTP/worker/w1i1j6/test_docx.pdf"

1 ACCEPTED SOLUTION

Accepted Solutions
SergeyEfimov
13-Aquamarine
(To:ailut)

file=doc2pv-rcp

ver=5

lastp=conv

adapter/mergeProperties=0

adapter/serverVersion=1000

adapter/useAdobeLiveCycle=1

adapter/LCserver=localhost

adapter/LCport=8080

adapter/LClogInId=administrator

adapter/LCpasswd=password

adapter/enableCommenting=1

adapter/LCreaderExtnAlias=PTS

You must set the adapter/LCreaderExtnAlias property.

Credential.jpg

View solution in original post

11 REPLIES 11
SergeyEfimov
13-Aquamarine
(To:ailut)

Copy the folders "i486_nt" and "recipe" to "doc_setup" folder.

Copy the file bin\doc2pv.exe to "doc_setup" folder.

Change paths in the files docworker.bat and docbatch.bat.

Hi Sergey,

This solved the crash of doc2pv but the publishing job still fails with the following message:

:Failed to publish document file "D:/FTP/worker/w1i1j2/test.doc" to "D:/FTP/worker/w1i1j2/test_doc.pdf"

25.08.2016 11:46:50:Document Processing Returned: $ERROR$ Failed to publish document file "D:/FTP/worker/w1i1j2/test.doc" to "D:/FTP/worker/w1i1j2/test_doc.pdf"

25.08.2016 11:46:50:CadAgent Returned: $ERROR$ Failed to publish document file "D:/FTP/worker/w1i1j2/test.doc" to "D:/FTP/worker/w1i1j2/test_doc.pdf"

25.08.2016 11:46:50:End (with Error): Document - 0000000024, test, A.1

25.08.2016 11:46:50:End job (with error): Document - 0000000024, test, A.1

Thanks,

Alex

SergeyEfimov
13-Aquamarine
(To:ailut)

You need to check the local publishing with docbatch.bat

if I try that I get this error:

D:\ptc\creo_view_adapters\doc_setup>docbatch.bat D:\FTP\worker\w1i1j2\test.doc

Recipe file: D:/ptc/creo_view_adapters/doc_setup/doc2pv.rcp

Source file: D:/FTP/worker/w1i1j2/test.doc

Output file: D:/ptc/creo_view_adapters/doc_setup/test_doc.pvs

Publishing document : COMPLETE

doc2pv Error:63002: Failed to publish document file "D:/FTP/worker/w1i1j2/test.d

oc" to "D:/ptc/creo_view_adapters/doc_setup/test_doc.pdf"

I tried the solutions from found on the support page for the Error:63002: Failed to publish document file but the situation is the same.

SergeyEfimov
13-Aquamarine
(To:ailut)

Can I see your doc2pv.rcp file?

Turn Off option "Rely on system fonts only; do not use document fonts" in the Adobe PDF printer.

file is attached

SergeyEfimov
13-Aquamarine
(To:ailut)

file=doc2pv-rcp

ver=5

lastp=conv

adapter/mergeProperties=0

adapter/serverVersion=1000

adapter/useAdobeLiveCycle=1

adapter/LCserver=localhost

adapter/LCport=8080

adapter/LClogInId=administrator

adapter/LCpasswd=password

adapter/enableCommenting=1

adapter/LCreaderExtnAlias=PTS

You must set the adapter/LCreaderExtnAlias property.

Credential.jpg

Hi,

Output file: D:/ptc/creo_view_adapters/doc_setup/test_doc.pvs

Publishing document : doc2pv Error:63012: Failed to enable pdf commenting

COMPLETE

doc2pv Error:63002: Failed to publish document file "D:/FTP/worker/w1i1j2/test.d

oc" to "D:/ptc/creo_view_adapters/doc_setup/test_doc.pdf"

Now its a different error

SergeyEfimov
13-Aquamarine
(To:ailut)

Thanks Sergey,

Seems to be working fine now.

Alex

bkontham
11-Garnet
(To:ailut)

Hi Alexandru,

ReaderExtension Credential alias in adapter configuration might be incorrect. Refer the below support article to correct it.

https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS150853&source=articleshare&art_lang=en

Top Tags