"E_PACK_ERROR: illegal filename for a PUT" Error in Packaging a PDF file

Hi Jim,
As per ContentServer_Technical_Reference.pdf (page no 9) I passed <filename>, <location> and <src> parameter in our packaging request xml. File is packaging successfully and service is also placing the encrypted file to new location listed in <location> but following error is comming:
<error xmlns="http://ns.adobe.com/adept"
data="E_PACK_ERROR http://myserverurl/packaging/Package illegal%20filename%20for%20a%20PUT"/>
My Packaging XML:
<package xmlns="http://ns.adobe.com/adept" action="add">
<fileName>9781591439745.pdf</fileName>
<location>ftp://username:password@myserverurl/www/folder/9781591439745.pdf</location>
<src>http://myserverurl/folder/9781591439745.pdf</src>
<metadata xmlns:dc="http://purl.org/dc/elements/1.1/">
<dc:title>9781591439745</dc:title>
<dc:creator>Nicolya Christi</dc:creator>
<dc:format>application/pdf</dc:format>
<dc:publisher>Work Disribution System</dc:publisher>
<dc:language>en</dc:language></metadata>
<permissions><display/><excerpt/></permissions>
<dataPath>C:/folder/9781591439745.pdf</dataPath>
<expiration>2011-03-02T15:18:02+05:30</expiration>
<nonce>LTIyNzc1Mjk4</nonce>
</package>
Please suggest me why the "E_PACK_ERROR http://myserverurl/packaging/Package illegal%20filename%20for%20a%20PUT" error is comming.
I am waiting your reply...
With regards,
Mangal Varshney

Hello Jim,
I tried as you suggest not to use all three, filename, location and src. I removed the <filename> parameter from packaging xml and then try to package the same error are comming again. Jim this same code was working earlier, we are using same on our production sever till now but suddenly it stop working.
"E_PACK_ERROR: illegal filename for a PUT"
I checked the packaging.log file, the log message are:
02 Mar 2011 05:41:56,673 TRACE AdeptServlet: request POST http://myserverurl/packaging/Package
02 Mar 2011 05:41:56,673 TRACE DefaultSQLDatabaseConnection: Open jdbc:mysql://127.0.0.1:3306/adept with user=dmr_mysql_dba
02 Mar 2011 05:41:56,673 TRACE DefaultSQLDatabaseConnection: SELECT distid, name, description, disturl, notifyurl, publickey, sharedsecret, maxloancount, linkexpiration FROM distributor WHERE distid = ?
02 Mar 2011 05:41:56,673 TRACE DefaultSQLDatabaseConnection:   obj 1 = 00000000-0000-0000-0000-000000000001
02 Mar 2011 05:41:56,673 TRACE DefaultSQLDatabaseConnection: rollback
02 Mar 2011 05:41:56,673 TRACE DefaultSQLDatabaseConnection: SELECT distid, nonce, expiration FROM distusednonce WHERE distid = ? AND nonce = ?
02 Mar 2011 05:41:56,673 TRACE DefaultSQLDatabaseConnection:   obj 1 = 00000000-0000-0000-0000-000000000001
02 Mar 2011 05:41:56,673 TRACE DefaultSQLDatabaseConnection:   obj 2 = [B@6c2a78
02 Mar 2011 05:41:56,673 TRACE DefaultSQLDatabaseConnection: INSERT INTO distusednonce(distid, nonce, expiration) VALUES(?, ?, ?)
02 Mar 2011 05:41:56,673 TRACE DefaultSQLDatabaseConnection:   obj 1 = 00000000-0000-0000-0000-000000000001
02 Mar 2011 05:41:56,673 TRACE DefaultSQLDatabaseConnection:   obj 2 = [B@6c2a78
02 Mar 2011 05:41:56,673 TRACE DefaultSQLDatabaseConnection:   obj 3 = Wed Mar 02 06:41:56 CST 2011
02 Mar 2011 05:41:56,673 TRACE DefaultSQLDatabaseConnection: DELETE FROM distusednonce WHERE expiration < ? AND distid = ? AND nonce = ?
02 Mar 2011 05:41:56,673 TRACE DefaultSQLDatabaseConnection:   obj 1 = Wed Mar 02 05:41:56 CST 2011
02 Mar 2011 05:41:56,673 TRACE DefaultSQLDatabaseConnection:   obj 2 = 00000000-0000-0000-0000-000000000001
02 Mar 2011 05:41:56,673 TRACE DefaultSQLDatabaseConnection:   obj 3 = [B@6c2a78
02 Mar 2011 05:41:56,689 TRACE DefaultSQLDatabaseConnection: SELECT resourceid, item, description, title, publisher, creator, language, identifier, thumbnailurl, format, src, downloadtype FROM resourceitem WHERE src = ? AND downloadtype = ?
02 Mar 2011 05:41:56,689 TRACE DefaultSQLDatabaseConnection:   obj 1 = http://myserver2url/folder/9781591439745.pdf
02 Mar 2011 05:41:56,689 TRACE DefaultSQLDatabaseConnection:   obj 2 = simple
02 Mar 2011 05:41:56,876 ERROR Package: Error in packaging
java.io.IOException: illegal filename for a PUT
    at sun.net.www.protocol.ftp.FtpURLConnection.getOutputStream(Unknown Source)
    at com.adobe.adept.packaging.servlet.Package.aquireLocationStream(Package.java:359)
    at com.adobe.adept.packaging.servlet.Package.doPost(Package.java:535)
    at com.adobe.adept.packaging.servlet.Package.doPost(Package.java:43)
    at com.adobe.adept.servlet.AdeptServlet.doPost(AdeptServlet.java:184)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
    at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:859)
    at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProto col.java:579)
    at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1555)
    at java.lang.Thread.run(Unknown Source)
02 Mar 2011 05:41:56,876 TRACE DefaultSQLDatabaseConnection: rollback
02 Mar 2011 05:41:56,907 ERROR AdeptServlet: request error [myip]: E_PACK_ERROR http://myserverurl/packaging/Package illegal+filename+for+a+PUT
02 Mar 2011 05:41:56,907 TRACE AdeptServlet: request end http://myserverurl/packaging/Package
Please debug the above message and suggest me what i will do to rectify this issue.
With Ragards,
Mangal Kumar

Similar Messages

  • "E_ADEPT_REQUEST_REPLAY" Error in Packaging a PDF file

    Hi Jim,
    As per ContentServer_Technical_Reference.pdf (page no 9) I passed <filename>, <location> and <src> parameter in our packaging request xml. File is packaging successfully and service is also placing the encrypted file to new location listed in <location> but following error is comming:
    <error xmlns="http://ns.adobe.com/adept" data="E_ADEPT_REQUEST_REPLAY http://myserverurl:8080/packaging/Package"/>
    My Packaging XML:
    $request ='<package xmlns="http://ns.adobe.com/adept" action="add">';
    $request .='<fileName>ISBN.pdf</fileName>';
    $request .='<location>ftp://username:[email protected]/www/pdf/[email protected]/www/pdf/ISBN.pdf</location>';
    $request .='<src>http://example.com/pdf/ISBN.pdf</src>';
    $request .='<metadata xmlns:dc="http://purl.org/dc/elements/1.1/">';
    $request .='<dc:title>BISAC SUBJECT HEADINGS</dc:title>';
    $request .='<dc:creator>Book Industry Study Group, Inc.</dc:creator>';
    $request .='<dc:format>';
    $request .='application/pdf';
    $request .='</dc:format>';
    $request .='<dc:publisher>Book Industry Study Group, Inc.</dc:publisher>';
    $request .='<dc:language>en</dc:language>';
    $request .='</metadata>';
    $request .='<permissions>';
    $request .='<display>';
    $request .='<device/>';
    $request .='</display>';
    $request .='</permissions>';
    $request .='<dataPath>C:\books\ISBN.pdf</dataPath>';
    $request .='<expiration>'. $expiration .'</expiration>';
    $request .="<nonce>" . $nonce . "</nonce>";
    $request .='</package>';
    Please suggest me why the "E_ADEPT_REQUEST_REPLAY" error is comming.
    I am waiting your reply...
    With regards,
    Mangal Varshney

    Hi Jim,
    I am generating nonce randomly:
    $expiration = date("c", mktime() + 3600); // Create expiration   
    $nonce = base64_encode(mt_rand(limt1,lim2)); // Create a nonce
    PACKAGING REQUEST
    <?xml version="1.0"?>
    <package xmlns="http://ns.adobe.com/adept" action="add">
      <fileName>ISBN.pdf</fileName>
      <location>ftp://username:[email protected]/www/encrypt_pdf/[email protected]/www/encrypt_pdf/ISBN.pdf</location>
      <src>http://myserver.com/encrypt_pdf/ISBN.pdf</src>
      <metadata xmlns:dc="http://purl.org/dc/elements/1.1/">
        <dc:title>BISAC SUBJECT HEADINGS</dc:title>
        <dc:creator>Book Industry Study Group, Inc.</dc:creator>
        <dc:format>application/pdf</dc:format>
        <dc:publisher>Book Industry Study Group, Inc.</dc:publisher>
        <dc:language>en</dc:language>
      </metadata>
      <permissions>
        <display>
          <device/>
        </display>
      </permissions>
      <dataPath>c:/books/ISBN.pdf</dataPath>
      <expiration>2010-11-01T20:00:23+05:30</expiration>
      <nonce>--------------</nonce>
      <hmac>--------------</hmac>
    </package>
    We are getting "E_ADEPT_REQUEST_REPLAY" error on packaging although the file is displaying in admin console and we are able to download the file also:
    I am attaching packaging log message, as it shows that resource details has saved into the database;
    Packaging log Message:
    01 Nov 2010 08:47:31,412 TRACE AdeptServlet: request POST http://myserver.com:88/packaging/Package
    01 Nov 2010 08:47:31,412 TRACE DefaultSQLDatabaseConnection: Open jdbc:mysql://mysqlserver.com:88/adept with user=dmr_mysql_dba
    01 Nov 2010 08:47:31,412 TRACE DefaultSQLDatabaseConnection: SELECT distid, name, description, disturl, notifyurl, publickey, sharedsecret, maxloancount, linkexpiration FROM distributor WHERE distid = ?
    01 Nov 2010 08:47:31,412 TRACE DefaultSQLDatabaseConnection:   obj 1 = 00000000-0000-0000-0000-000000000001
    01 Nov 2010 08:47:31,412 TRACE DefaultSQLDatabaseConnection: rollback
    01 Nov 2010 08:47:31,412 TRACE DefaultSQLDatabaseConnection: SELECT distid, nonce, expiration FROM distusednonce WHERE distid = ? AND nonce = ?
    01 Nov 2010 08:47:31,412 TRACE DefaultSQLDatabaseConnection:   obj 1 = 00000000-0000-0000-0000-000000000001
    01 Nov 2010 08:47:31,412 TRACE DefaultSQLDatabaseConnection:   obj 2 = [B@e1b3b3
    01 Nov 2010 08:47:31,428 TRACE DefaultSQLDatabaseConnection: INSERT INTO distusednonce(distid, nonce, expiration) VALUES(?, ?, ?)
    01 Nov 2010 08:47:31,428 TRACE DefaultSQLDatabaseConnection:   obj 1 = 00000000-0000-0000-0000-000000000001
    01 Nov 2010 08:47:31,428 TRACE DefaultSQLDatabaseConnection:   obj 2 = [B@e1b3b3
    01 Nov 2010 08:47:31,428 TRACE DefaultSQLDatabaseConnection:   obj 3 = Mon Nov 01 09:47:31 CDT 2010
    01 Nov 2010 08:47:31,428 TRACE DefaultSQLDatabaseConnection: DELETE FROM distusednonce WHERE expiration < ? AND distid = ? AND nonce = ?
    01 Nov 2010 08:47:31,428 TRACE DefaultSQLDatabaseConnection:   obj 1 = Mon Nov 01 08:47:31 CDT 2010
    01 Nov 2010 08:47:31,428 TRACE DefaultSQLDatabaseConnection:   obj 2 = 00000000-0000-0000-0000-000000000001
    01 Nov 2010 08:47:31,428 TRACE DefaultSQLDatabaseConnection:   obj 3 = [B@e1b3b3
    01 Nov 2010 08:47:31,428 TRACE DefaultSQLDatabaseConnection: SELECT resourceid, item, description, title, publisher, creator, language, identifier, thumbnailurl, format, src, downloadtype FROM resourceitem WHERE src = ? AND downloadtype = ?
    01 Nov 2010 08:47:31,428 TRACE DefaultSQLDatabaseConnection:   obj 1 = http://myserver.com/encrypt_pdf/ISBN.pdf
    01 Nov 2010 08:47:31,428 TRACE DefaultSQLDatabaseConnection:   obj 2 = simple
    01 Nov 2010 08:47:33,818 TRACE DefaultSQLDatabaseConnection: INSERT INTO resourcekey(resourceid, voucherid, encryptionkey, permissions, defaultitem) VALUES(?, ?, ?, ?, ?)
    01 Nov 2010 08:47:33,818 TRACE DefaultSQLDatabaseConnection:   obj 1 = 4c14fb01-426e-4b4e-b71a-37b56d92e8b9
    01 Nov 2010 08:47:33,818 TRACE DefaultSQLDatabaseConnection:   obj 2 = 4c14fb01-426e-4b4e-b71a-37b56d92e8b9
    01 Nov 2010 08:47:33,818 TRACE DefaultSQLDatabaseConnection:   obj 3 = [B@a42c89
    01 Nov 2010 08:47:33,818 TRACE DefaultSQLDatabaseConnection:   obj 4 = [B@67e92a
    01 Nov 2010 08:47:33,818 TRACE DefaultSQLDatabaseConnection:   obj 5 = 1
    01 Nov 2010 08:47:33,818 TRACE DefaultSQLDatabaseConnection: INSERT INTO resourceitem(resourceid, item, description, title, publisher, creator, language, identifier, thumbnailurl, format, src, downloadtype) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
    01 Nov 2010 08:47:33,818 TRACE DefaultSQLDatabaseConnection:   obj 1 = 4c14fb01-426e-4b4e-b71a-37b56d92e8b9
    01 Nov 2010 08:47:33,818 TRACE DefaultSQLDatabaseConnection:   obj 2 = 1
    01 Nov 2010 08:47:33,818 TRACE DefaultSQLDatabaseConnection:   obj 3 = null
    01 Nov 2010 08:47:33,818 TRACE DefaultSQLDatabaseConnection:   obj 4 = BISAC SUBJECT HEADINGS
    01 Nov 2010 08:47:33,818 TRACE DefaultSQLDatabaseConnection:   obj 5 = Book Industry Study Group, Inc.
    01 Nov 2010 08:47:33,818 TRACE DefaultSQLDatabaseConnection:   obj 6 = Book Industry Study Group, Inc.
    01 Nov 2010 08:47:33,818 TRACE DefaultSQLDatabaseConnection:   obj 7 = en
    01 Nov 2010 08:47:33,818 TRACE DefaultSQLDatabaseConnection:   obj 8 = null
    01 Nov 2010 08:47:33,818 TRACE DefaultSQLDatabaseConnection:   obj 9 = null
    01 Nov 2010 08:47:33,818 TRACE DefaultSQLDatabaseConnection:   obj 10 = application/pdf
    01 Nov 2010 08:47:33,818 TRACE DefaultSQLDatabaseConnection:   obj 11 = http://myserver.com/encrypt_pdf/ISBN.pdf
    01 Nov 2010 08:47:33,818 TRACE DefaultSQLDatabaseConnection:   obj 12 = simple
    01 Nov 2010 08:47:33,818 TRACE DefaultSQLDatabaseConnection: INSERT INTO distributionrights(distid, resourceid, disttype, permissions, returnable, available) VALUES(?, ?, ?, ?, ?, ?)
    01 Nov 2010 08:47:33,818 TRACE DefaultSQLDatabaseConnection:   obj 1 = 00000000-0000-0000-0000-000000000001
    01 Nov 2010 08:47:33,818 TRACE DefaultSQLDatabaseConnection:   obj 2 = 4c14fb01-426e-4b4e-b71a-37b56d92e8b9
    01 Nov 2010 08:47:33,818 TRACE DefaultSQLDatabaseConnection:   obj 3 = buy
    01 Nov 2010 08:47:33,818 TRACE DefaultSQLDatabaseConnection:   obj 4 = null
    01 Nov 2010 08:47:33,818 TRACE DefaultSQLDatabaseConnection:   obj 5 = false
    01 Nov 2010 08:47:33,818 TRACE DefaultSQLDatabaseConnection:   obj 6 = 0
    01 Nov 2010 08:47:33,818 TRACE DefaultSQLDatabaseConnection: INSERT INTO distributionrights(distid, resourceid, disttype, permissions, returnable, available) VALUES(?, ?, ?, ?, ?, ?)
    01 Nov 2010 08:47:33,818 TRACE DefaultSQLDatabaseConnection:   obj 1 = 00000000-0000-0000-0000-000000000001
    01 Nov 2010 08:47:33,818 TRACE DefaultSQLDatabaseConnection:   obj 2 = 4c14fb01-426e-4b4e-b71a-37b56d92e8b9
    01 Nov 2010 08:47:33,818 TRACE DefaultSQLDatabaseConnection:   obj 3 = loan
    01 Nov 2010 08:47:33,818 TRACE DefaultSQLDatabaseConnection:   obj 4 = null
    01 Nov 2010 08:47:33,818 TRACE DefaultSQLDatabaseConnection:   obj 5 = true
    01 Nov 2010 08:47:33,818 TRACE DefaultSQLDatabaseConnection:   obj 6 = 0
    01 Nov 2010 08:47:33,818 TRACE DefaultSQLDatabaseConnection: commit
    01 Nov 2010 08:47:33,850 TRACE DefaultSQLDatabaseConnection: rollback
    01 Nov 2010 08:47:33,850 TRACE AdeptServlet: request success [myip]
    01 Nov 2010 08:47:33,850 TRACE AdeptServlet: request end http://myserver.com:88/packaging/Package
    01 Nov 2010 08:47:33,850 TRACE AdeptServlet: request POST http://myserver.com:88/packaging/Package
    01 Nov 2010 08:47:33,850 TRACE DefaultSQLDatabaseConnection: SELECT distid, name, description, disturl, notifyurl, publickey, sharedsecret, maxloancount, linkexpiration FROM distributor WHERE distid = ?
    01 Nov 2010 08:47:33,850 TRACE DefaultSQLDatabaseConnection:   obj 1 = 00000000-0000-0000-0000-000000000001
    01 Nov 2010 08:47:33,850 TRACE DefaultSQLDatabaseConnection: rollback
    01 Nov 2010 08:47:33,850 TRACE DefaultSQLDatabaseConnection: SELECT distid, nonce, expiration FROM distusednonce WHERE distid = ? AND nonce = ?
    01 Nov 2010 08:47:33,850 TRACE DefaultSQLDatabaseConnection:   obj 1 = 00000000-0000-0000-0000-000000000001
    01 Nov 2010 08:47:33,850 TRACE DefaultSQLDatabaseConnection:   obj 2 = [B@571cc4
    01 Nov 2010 08:47:33,850 TRACE DefaultSQLDatabaseConnection: rollback
    01 Nov 2010 08:47:33,850 ERROR AdeptServlet: request error [myip]: E_ADEPT_REQUEST_REPLAY http://myserver.com:88/packaging/Package
    01 Nov 2010 08:47:33,850 TRACE AdeptServlet: request end http://myserver.com:88/packaging/Package
    Please help me to resolve this
    Regards,
    Mangal Kumar

  • I am getting a Eula error trying to open PDF file, not allowing me to open...what should I do?

    I have tried reinstalling software and didn't work. 
    How do I fix this eula error and open up PDF files again?

    I think I fixed it using help from another post...agreeing to license agreement in program files eula.exe
    I think Eula is a licensing agreement term (not quite sure because I just heard of it when error happened). 

  • "The exception unknown software exception (0xc06d007e) occured in the application at location 0x7c812aeb" - error displayed when opening PDF files. What i do?

    "The exception unknown software exception (0xc06d007e) occured in the application at location 0x7c812aeb" - error displayed when opening PDF files. What i do?

    What is your Reader XI version?
    Have you tried to disable Protected Mode [Edit | Preferences | Security (Enhanced)] ?

  • Is there an ADOBE plugin for MS Project 2010 to create Dynamic PDF files?

    I wonder if there exist any ADOBE plugin for MS Project 2010 to create Dynamic PDF files?

    We are not going to use form fields. An employee is going to create large projects in MS Project 2010 and want to share his projects with other employees. So the need is just a viewer. So I guess we need to check out all the third part MS Project Viewers which is out there. Thanks for your answers guys!

  • ERROR : OpenDoc CR to PDF - File is too large for attachment.

    We are getting the following error in 3.1 using an OpenDoc call when we call a large Crystal Report to PDF format...
    Error : 52cf6f8f4bbb6d3.pdf File is too large for attachment.
    It runs OK from BOE when given parameters that returned 44 pages. (PDF = 139 KB)
    We get the error on a parameter-set that returns 174 pages when run via CR Desktop or as a SCHEDULED Instance. (PDF = 446 KB).
    Client application can't use the SDKs to SCHEDULE Instances - only configured for OpenDoc calls.....
    The BOE server is running on SOLARIS - and it's is a 2 Server CMS-Cluster.
    The problem is SPORADIC, so I am thinking the issue is related to a specific setting on one of the servers.
    Any thoughts on where to start looking...?

    Problem is _not _with the number of Rows returned - it is an issue with the size of the PDF file that it is trying to move.
    Found a possible WINDOWS solution on BOB - need to find if there is an equivalent for SOLARIS...
    Check the dsws.properties on web server D:\Program Files\Business Objects\Tomcat55\webapps\dswsbobje\WEB-INF\classes
    See if you can change any parameter to remove size limitation.
    #Security measure to limit total upload file size
    maximumUploadFileSize = 10485760

  • Error while saving a .PDF File to a mapped drive

    The issue I am having is similar to the one found on this older post. http://forums.adobe.com/message/3066663#3066663
    The issue is as follows. I have a small company about 15 users divided into a couple of departments with different networking access needs. They each have Adobe Acrobat version XI installed on a Windows 7 Platform. Each user has a set of mapped drives that correspond to their department. The Disk mappings are all directed to the main shared Network Attached Storage (NAS) device. At any time there can be a number of PDF files open and being worked in. The same PDF is usually not opened at the same time from two different locations.
    The issue is that two users who do a large amount of the work, IE. Scanning documents and adding them to documents that have been previously created, are reporting the same issue. The issue is when they have the PDF document opened and they are adding new content. Once the new content is added they go to save the document and then receive the following error:
    “The document could not be saved. Cannot save to this filename. Please save the document with a different name or in a different folder.”
    In order to save the file the user has to use the save as function and then browse to the original file location to save the document with the changes that have been made.
    Along with the above error we have noticed that Adobe Acrobat is renaming the file that has been changed to aae##### or aak##### or aan#####. The file name is changed causing the normal save function to not work correctly.
    Is there a reason Acrobat would be doing this?
    I am not using Microsoft SharePoint.

    My users started to experience this issue for files on network shares as well once Adobe Reader was updated to 11.0.10
    It has to do with Protected Mode being turned on.  I don't know if it was off by default & now it is on with the update but turning it off changes Adobe Reader's behavior back to what the users expect - a prompt warning you if you want to overwrite the existing file & then selecting Yes to overwrite.
    To disable Protected Mode:
    Start Adobe Reader
    Edit - Preferences - Security (Enhanced)
    Uncheck Enable Protected Mode at Startup
    Close Preferences & Close Reader
    Now open a file from a network share & you Adobe saves as it used to.

  • Urgent: Error while uploading into pdf file

    Hi ,
    I got a requirement that converting smartform into pdf file and sending into application server, And uploading the that pdf file into presentation server once a day am geting error when uploading into pdf format from application server .
    Error : There was an  error while tryinging to parse an image.
    Please help me out its urgent.
    Thanks in advance
    Regards
    krishna
    Edited by: krishna rao on Feb 13, 2008 12:05 PM

    U can use this code
    Reward if useful
    REPORT  ZMN_PDF_UPLOAD.
    data: begin of itab occurs 0,
    field(256),
    end of itab.
    data: dsn(100) value '\usr\sap\DEV\DVEBMGS00\work\testpdf',
    length like sy-tabix,
    lengthn like sy-tabix.
    call function 'GUI_UPLOAD'
    exporting
    filename = 'c:\temp\test.pdf'
    filetype = 'BIN'
    importing
    filelength = length
    tables
    data_tab = itab.
    open dataset dsn for output in binary mode.
    loop at itab.
    transfer itab-field to dsn.
    endloop.
    close dataset dsn.
    clear itab.
    refresh itab.
    *To crosscheck if it went well
    open dataset dsn for input in binary mode.
    do.
    read dataset dsn into itab-field.
    if sy-subrc = 0.
    append itab.
    else.
    exit.
    endif.
    enddo.
    call function 'GUI_DOWNLOAD'
    exporting
    filename = 'c:\temp\testn.pdf'
    filetype = 'BIN'
    bin_filesize = length
    importing
    filelength = lengthn
    tables
    data_tab = itab.
    *Or
    *Use the TCode
    *CG3Z or CG3Y
    *for downloading to Application Server.

  • Why do I get a BER decoding error when certifying a pdf file?

    I am trying to sign a PDF file with adobe acrobat pro 10.0.0. For signing I want to choose my email certificate which I use for signing and encrypting my mails. But as soon as I choose this certificate to sign a PDF, I get the following error message. I did not try other certificates, as these are mostly administrator certificates, the BlueX certificate for the smart card and the lancrypt certificate. The certificate chain seems to be ok. All the certificates are stored in the Windows certificate store.
    The text of the error message is something like this (as I have the German version of the program and therefor don’t know the exact words):
    Creation of this signature could not be completed.
    Certificate parsing error:
    Encountered while BER decoding:
    This error message comes up several times and then in the end the window with the digital IDs pops up. Each time I have a look at the certificate details, I get the same error message.
    Help would be appreciated.
    lizz4321

    Hi lizz4321,
    A digital ID is made up of three components; a private key, a corresponding public key, and some identifying information. The keys themselves are pretty straight forward, they are just big blobs of numbers used to encrypt and decrypt data. It's the identifying information that gets a bit tricky. On first look, the identifying information looks like plain text. You'll see your name and the issuer's name, a serial number, some dates for when the validity starts and ends. All pretty straight forward.
    However, all of this information is actually formatted using something called ASN.1 (it stands for Abstract Syntax Notation) and then encoded using BER (Basic Encoding Rules). When someone creates a digital ID they can put just about anything in there. Per specifications (RFC 5280 if you wanted to look it up) some items are required, and others are optional. Each piece of information that goes into the public-key certificate (the PKC is basically the digital ID without the private key) is contained in an extension. These extensions are identified using an OID (Object ID) and conform to a specification which may either be public or confidential.
    There are two possibilities in the case you are seeing. Either, some of the information that Acrobat knows about was formatted or encoded incorrectly, or, there is an optional entry that Acrobat doesn't understand how to decode. My guess is it's the latter possibility. There is a rule that states if an extension is marked as critical, and the application using the public-key certificate (in this case the application would be Acrobat), doesn't understand the extension, then the application is supposed to reject the certificate. It could be the former case (badly formatted data), but without seeing the certificate all I can do is guess.
    Steve

  • Email Error - can't send PDF file 54MB

    I created a book in iPhoto and saved it as a PDF file (54MB). When I try to email the file, it almost completes sending however it then sends an error message 17099 that the "maximum message size excceeded". What do I need to do to be able to send this file?
    Thanks for your help
    iMAC   Mac OS X (10.4.7)  

    Try one of these free large file sending services:
    http://www.pando.com
    http://www.yousendit.com
    http://www.sendthisfile.com
    Most email service providers put a limit on email size. Even if you could send it this big, the recipient's mailbox may not be big enough to recieve it.
    The services above get around these limits by just emailing a link to the file to download from the web.

  • Error while opening a pdf file.

    Hi All,
    I have Adobe Reader 10.1.3 installed on my system.
    I am getting the following error : "Adobe Reader could not open 'abc.pdf' because it is either not a supported file type or because the file has been damaged(for example, it was sent as an email attachment and wasn't correctly decoded)". This error is coming at random, i.e. if I open a file at one time, it will open without any problem, but at another time the same file gives this problem. Could anyone please tell me as to why this is happening and how to resolve this?

    This message occurs if a PDF file is damaged, either during downloading from a website, or during transport as an email attachment.
    Are you getting this error for a file that is stored on your local HD?  For this to occur at random, as you write, I can only imagine that the disk sector where it is stored is damaged.
    Can you run a disk diagnostics, e.g. CHKDSK on Windows?

  • Could someone help me with a Runtime Error while saving a PDF file?

    While saving a 28 page PDF file in Illustrator today, I got a window saying, "This application has requested the "Runtime" to terminate it in a unusual way." It said to contact the applications support team for more information. I keep getting the same thing each time I try it. Does anyone know how to fix this issue or how I contact the applications support team ?
    Thank you for any insight.
    Pam

    It is a 13.5x11 inch calendar. There are 14 pages with images on them and
    some text. The other pages have text, a grid and a colored background with a
    gaussian blur. I saved each page as an "outline".
    The printer I am using requested I save all pages in a pdf file. I was
    successful in saving all but about six pages, now I can't even open the
    file.
    What happens is... I open Illustrator
                                   I open the pdf file
                                   A window appears that says... Runtime Error,
    This application has requested the Runtime to terminate it in an unusual
    way. Please contact the application's support team for more information.
                                   I select ok
                                   then a window appears that says... Adobe
    Illustrator CS5 has stopped working. A problem caused the program to stop
    working correctly. Windows will close the program and notify you if a
    solution is available.
                                   Then the program closes.
    So far I have not been notified of anything.
    Please let me know if you need more details.
    Thank you so much for helping me with this.
    Pam

  • Error when Packaging and PDF'ing File

    I am curently involved in creating a comprehensive brand book (60 pages) for our company in InDesign CS4 and seem to have a problem when I PDF or go to package the InDesign file. The message I get is:
    "Error encountered while reading JPEG image. Image may be damaged or incompatible. Resave the image with different settings and try again."
    Funny thing is when I close InDesign and re-open the file, then go to PDF it works fine. But then after I have worked on it and go to re-PDF it starts Ok but gets to about page 18 and the error pops up. I get the same error when I go to package the file even in the package summary - could not figure out what was wrong. I tried deleting all images off that page then re-PDF and still does not work.
    What's worse is that InDesign does not provide detailed information regarding the image or error, I had to look where the bar stopped while I was in the process of PDF to figure out what page the image is on.
    Can anyone shed some light on this?
    Thanks

    Here is an earlier thread discussing this problem:
    http://www.adobeforums.com/webx?128@@.59b7927d
    There's some unrelated stuff in the middle, but relevant information at both ends.
    Peter

  • Error in opening the PDF file created from the smart form output.

    Hi All,
    i have a simple smart form which takes 3 values like customer no, name and no of times customer called and gives an out like
    Customer 0001000000 with name Ravi called 5 times today.
    I have to send this output to mail as an attachment.
    for this i am coding as below.
    ******Call the SSF Function module
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
    formname = Form name
    VARIANT = ' '
    DIRECT_CALL = ' '
    IMPORTING
    fm_name = lv_fmname
    EXCEPTIONS
    no_form = 1
    no_function_module = 2
    OTHERS = 3
    lv_partner_number = '0001000000'.
    lv_name_org1 = 'Ravi'.
    lv_z_no_calls_day = '5'.
    lw_ctrlop-getotf = 'X'.
    lw_ctrlop-no_dialog = 'X'.
    lw_compop-tdnoprev = 'X'.
    lw_compop-tddest = 'LP01'.
    *******Call the Form Function module and get the OTF of form output
    CALL FUNCTION lv_fmname
    EXPORTING
    name_org1 = lv_name_org1
    partner_number = lv_partner_number
    z_no_calls_day = lv_z_no_calls_day
    control_parameters = lw_ctrlop
    output_options = lw_compop
    user_settings = ' '
    IMPORTING
    job_output_info = w_return
    EXCEPTIONS
    formatting_error = 1
    internal_error = 2
    send_error = 3
    user_canceled = 4
    OTHERS = 5.
    i_otf] = w_return-otfdata[.
    *********Now here if i look in to the OTF data i got in debug it has the data i aniticipated along with some other data.
    the output is in the format
    TDPRINTCOM(2) TDPRINTPAR(70)
    ST XXXX.. customer 0001000000 with
    name.....
    i have my data in the above format spread in three lines of the output otf table where XXXX... is some number.
    ***********To convert to PDF Format
    CALL FUNCTION 'CONVERT_OTF'
    EXPORTING
    format = 'PDF'
    max_linewidth = 132
    IMPORTING
    bin_filesize = lv_len_in
    BIN_FILE =
    TABLES
    otf = i_otf
    lines = i_tline
    EXCEPTIONS
    err_max_linewidth = 1
    err_format = 2
    err_conv_not_possible = 3
    err_bad_otf = 4
    OTHERS = 5
    *********For testing purpose i created a file on the desktop with the the data in i_tline. it created PDF file but when i tried to open it it's giving an error.
    i_objtxt = 'test with pdf-Attachment!'.
    APPEND i_objtxt.
    DESCRIBE TABLE i_objtxt LINES v_lines_txt.
    READ TABLE i_objtxt INDEX v_lines_txt.
    wa_doc_chng-obj_name = 'Smart Form'.
    wa_doc_chng-obj_descr = 'Frequent Caller Alert_Day'.
    wa_doc_chng-doc_size = ( v_lines_txt - 1 ) * 255 + STRLEN( i_objtxt ).
    *********Creating the Entry for the document
    CLEAR i_objpack-transf_bin.
    i_objpack-head_start = 1.
    i_objpack-head_num = 0.
    i_objpack-body_start = 1.
    i_objpack-body_num = v_lines_txt.
    i_objpack-doc_type = 'RAW'.
    APPEND i_objpack.
    i_objbin] = i_tline[.
    DESCRIBE TABLE i_objbin LINES v_lines_bin.
    READ TABLE i_objbin INDEX v_lines_bin.
    i_objhead = 'Frequentcaller list_Day.pdf'.
    APPEND i_objhead.
    ************Creating the entry for the attachment.
    CLEAR : i_objpack.
    i_objpack-transf_bin = 'X'.
    i_objpack-head_start = 1.
    i_objpack-head_num = 1.
    i_objpack-body_start = 1.
    i_objpack-body_num = v_lines_bin.
    i_objpack-doc_type = 'PDF'.
    i_objpack-obj_name = 'ATTACHMENT'.
    i_objpack-obj_descr = 'FCA'.
    i_objpack-doc_size = v_lines_bin * 255 .
    APPEND i_objpack.
    CLEAR i_reclist.
    i_reclist-receiver = 'mail id'.
    i_reclist-rec_type = 'U'.
    APPEND i_reclist.
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    EXPORTING
    document_data = wa_doc_chng
    put_in_outbox = 'X'
    commit_work = 'X'
    TABLES
    packing_list = i_objpack
    object_header = i_objhead
    contents_bin = i_objbin
    contents_txt = i_objtxt
    receivers = i_reclist
    EXCEPTIONS
    too_many_receivers = 1
    document_not_sent = 2
    operation_no_authorization = 4
    OTHERS = 99.
    This is all i am doing.
    It is sending a mail with the attachment but we are not able to open the attachment. it's giving an error like file is damaged and couldn't be repaired.
    I serched in the forum but i couldn't get the answer.
    I suspect there is a problem in getting the OTF data..
    Please help me in resolving this issue....
    Thanks in advance.
    RK

    Check the sample , and see where you made the mistake.
    REPORT ZPDF_MAIl.
    DATA:
      w_fm_name      TYPE rs38l_fnam,
      w_bin_filesize TYPE i,
      w_filesize     TYPE i,
      w_lines_txt    TYPE i,
      w_lines_bin    TYPE i.
    DATA:
      wa_ctrlop   TYPE ssfctrlop,
      wa_outopt   TYPE ssfcompop,
      wa_objhead  TYPE soli_tab,
      wa_buffer   TYPE string,
      wa_doc_chng TYPE sodocchgi1.
    DATA:
      BEGIN OF t_mail_ids OCCURS 0,
        mailid TYPE ad_smtpadr,
      END OF t_mail_ids,
      t_otfdata TYPE ssfcrescl,
      t_otf TYPE itcoo OCCURS 0 WITH HEADER LINE,
      t_pdf_tab TYPE tline OCCURS 0 WITH HEADER LINE,
      t_objpack LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
      t_objtxt LIKE solisti1 OCCURS 0 WITH HEADER LINE,
      t_objbin LIKE solisti1 OCCURS 0 WITH HEADER LINE,
      t_record LIKE solisti1 OCCURS 0 WITH HEADER LINE,
      t_reclist LIKE somlreci1 OCCURS 0 WITH HEADER LINE.
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
      EXPORTING
        formname           = 'Z195_TEST'
      IMPORTING
        fm_name            = w_fm_name
      EXCEPTIONS
        no_form            = 1
        no_function_module = 2
        OTHERS             = 3.
    IF sy-subrc EQ 0.
    ENDIF.                               " IF sy-subrc EQ 0.
    wa_ctrlop-getotf = 'X'.
    wa_ctrlop-no_dialog = 'X'.
    wa_outopt-tdnoprev = 'X'.
    CALL FUNCTION w_fm_name
      EXPORTING
        control_parameters = wa_ctrlop
        output_options     = wa_outopt
        user_settings      = 'X'
      IMPORTING
        job_output_info    = t_otfdata
      EXCEPTIONS
        formatting_error   = 1
        internal_error     = 2
        send_error         = 3
        user_canceled      = 4
        OTHERS             = 5.
    IF sy-subrc EQ 0.
    ENDIF.                               " IF sy-subrc EQ 0.
    t_otf[] = t_otfdata-otfdata[].
    CALL FUNCTION 'CONVERT_OTF'
      EXPORTING
        format                = 'PDF'
        max_linewidth         = 132
      IMPORTING
        bin_filesize          = w_bin_filesize
      TABLES
        otf                   = t_otf
        lines                 = t_pdf_tab
      EXCEPTIONS
        err_max_linewidth     = 1
        err_format            = 2
        err_conv_not_possible = 3
        err_bad_otf           = 4
        OTHERS                = 5.
    IF sy-subrc EQ 0.
    ENDIF.                               " IF sy-subrc EQ 0.
    LOOP AT t_pdf_tab.
      TRANSLATE t_pdf_tab USING '~'.
      CONCATENATE wa_buffer t_pdf_tab INTO wa_buffer.
    ENDLOOP.
    TRANSLATE wa_buffer USING '~'.
    DO.
      t_record = wa_buffer.
      APPEND t_record.
      SHIFT wa_buffer LEFT BY 255 PLACES.
      IF wa_buffer IS INITIAL.
        EXIT.
      ENDIF.
    ENDDO.
    t_objtxt = ' To Change the COR, Use the Transaction ZCOR_CHANGE'.
    APPEND t_objtxt.
    t_objtxt = ' Check the Attached PDF file for COR'.
    APPEND t_objtxt.
    DESCRIBE TABLE t_objtxt LINES w_lines_txt.
    READ TABLE t_objtxt INDEX w_lines_txt.
    READ TABLE t_objtxt INDEX w_lines_txt.
    wa_doc_chng-obj_name = 'COR Display'.
    wa_doc_chng-expiry_dat = sy-datum + 10.
    CONCATENATE 'COR' "w_cornr
                '-' "w_stat_descr w_action_desc
           INTO wa_doc_chng-obj_descr SEPARATED BY space.
    wa_doc_chng-sensitivty = 'F'.
    wa_doc_chng-doc_size =  w_lines_txt  * 255.
    CLEAR t_objpack-transf_bin.
    t_objpack-head_start = 1.
    t_objpack-head_num = 0.
    t_objpack-body_start = 1.
    t_objpack-body_num = w_lines_txt.
    t_objpack-doc_type = 'RAW'.
    APPEND t_objpack.
    t_objpack-transf_bin = 'X'.
    t_objpack-head_start = 1.
    t_objpack-head_start = 1.
    t_objpack-head_num = 0.
    t_objpack-body_start = 1.
    DESCRIBE TABLE t_objbin LINES w_lines_bin.
    READ TABLE t_objbin INDEX w_lines_bin.
    t_objpack-doc_size = w_lines_bin * 255 .
    t_objpack-body_num = w_lines_bin.
    t_objpack-doc_type = 'PDF'.
    t_objpack-obj_name = 'COR'.
    t_objpack-obj_descr = 'COR Test'.
    * concatenate 'COR' w_cornr into t_objpack-obj_descr
    *                           separated by space.
    APPEND t_objpack.
    *LOOP AT t_mail_ids.
      CLEAR t_reclist.
      t_reclist-receiver = 'INTENATEMAIL'.
      t_reclist-rec_type = 'U'.
      APPEND t_reclist.
    *ENDLOOP.
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
      EXPORTING
        document_data              = wa_doc_chng
        put_in_outbox              = 'X'
        commit_work                = 'X'
      TABLES
        packing_list               = t_objpack
        object_header              = wa_objhead
        contents_bin               = t_objbin
        contents_txt               = t_objtxt
        receivers                  = t_reclist
      EXCEPTIONS
        too_many_receivers         = 1
        document_not_sent          = 2
        document_type_not_exist    = 3
        operation_no_authorization = 4
        parameter_error            = 5
        x_error                    = 6
        enqueue_error              = 7
        OTHERS                     = 8.
    IF sy-subrc EQ 0.
    ENDIF.

  • Error when opening a pdf file in chinese

    Hello,
    I have created a specific PO form by copying the standard one BBP_PO in SRM.
    After generating a pdf file with my specific form, I get the error "There was a problem reading this document (15)" when I try to open it.
    I can see some characters, and then everything disappears. I have both english and chinese characters.
    The chinese language is installed.
    If I use the standard form, I don't get the error !
    In the form, I use some standard text, which are created in english and chinese.
    Thanks for your help.
    Marc

    Just so you know, my default PDF can opener remains set to Preview, though I will use Acrobat Reader when and if it serves my need.
    The upside of the Show scroll bars set to always is intuitive with applications. The downside is that any web content that has the CSS overflow:scroll configured will permanently have scrollbars attached to that content. At least, that is the behavior with Safari on Mavericks. Since I do web work too, I have left my scrollbar setting to when scrolling.
    I believe the OP issues about resizing PDFs has to do with the default nature of Preview to open PDFs in continuous, rather than single page mode. In the former state, one must always fuss with resizing the Preview window, and in the latter, Preview does what it should do — a single, tightly cropped PDF page. Setting the Single Page preference setting in one document does not make this behavior permanent for subsequent documents.
    I made two changes to Preview that open any PDF in Single Page mode, and tightly cropped to that page:
    Preview PreferencesPDF: Define 100% scale as: Size on screen equals size on printout
    Defaults write
    Change to ~/Library/Containers/com.apple.Preview/Data/Library/Preferences
    defaults write com.apple.Preview kPVPDFDefaultPageViewModeOption 1
    Continuous view mode is (0) zero
    PDF documents will now default to Single Page mode

Maybe you are looking for

  • BO XI 3.1 DeskI report Calculation mismatch

    Hi , I have an Calculation issue in one report after migrated from BO 5.1.6 to BO XI 3.1. After refreshing two reports parallelly, BO XI 3.1 report 1st 3 records of two columns are not at all there in BO 5.1.6 report. in XI 3.1 i am getting 3 more re

  • SCCM 2012 R2 and Windows 8.1

    Hi, I have installed SCCM 2012 R2. SCCM client deployed on 10 PCs and I can explore Hardware resources on all PCs except 1 PC which is 8.1 so my question now does SCCM 2012 R2 supports 8.1? Thanks, Kareem Behery

  • Why do the songs I just downloaded form CD not sync??

    I recently purchased a new CD and downloaded it to iTunes, as I've done numerous times. The songs appear in my library and I can play them, but when I try to sync my iPod, the songs do not show up in my iPod. They are checked, so they should be added

  • TOUCH ISSUE IN Nokia C3-01

     I had bought a new Nokia C3-01 Mobile hand set 5 or 6 months back .Now I find that this set is having the touch issue. It has stopped working now. However keypad is working . Before writting here i surprised that others also facing the same problem.

  • Error when executing the report

    Hi Friends, I have Built a query and when i run  i get the selection screen and when i enter value and execute i am getting the following error "Not authorised to run report". Can anyone please let me know what should i do to get this running. Thanks