JCO error in storing document in KPRO

Hi Expert,
I have one BAPI to store the document in KPRO. BAPI_DOCUMENT_CREATE2
If call that BAPI in java class program it is working fine.
If i call that java class in web Dynpro application it is not working.
Below code to store the file in to KPRO
public static boolean doUpload(String path,String number){
          JCO.Client client = null,client1 = null;
          JCO.Repository repository = null,repository1 = null;
          JCO.ParameterList inputParameter = null, outputParameter = null,inputParameter1 = null;
          JCO.Function bapiDocument = null,bapiDocument1 = null;
          JCO.Table table_lsdoc=null,table_Doc_Details=null;
          JCO.Table table_in_FilePath=null,table_out_Return=null;
          JCO.Structure st=null,st1=null;
          String file_Path="",return_Message="",doc_Type="",stor_Cat="";
          try{
               client = ConnectToR3.getConnection();
               System.out.println("1");     
               repository = new JCO.Repository("SearchRepository", client);
               System.out.println("2");
               //System.out.println("Connected to repositry");     
               bapiDocument = repository.getFunctionTemplate("Z_DOCUMENT_CREATE").getFunction();
               System.out.println("3");
               JCO.setMiddlewareProperty("jco.middleware.allow_start_of_programs", "ftp;sapftp;sapftpa;sapkprotp;http;saphttp;saphttpa");
               System.out.println("4");
               if (bapiDocument != null){
                    table_in_FilePath=bapiDocument.getTableParameterList().getTable("S_DOCUMENTFILES");
                    table_in_FilePath.appendRow();
                    table_in_FilePath.setValue(number, "DOCUMENTNUMBER");
                    table_in_FilePath.setValue(path, "DOCPATH");
                    client.execute(bapiDocument);
                    System.out.println("5");
                    table_out_Return=bapiDocument.getTableParameterList().getTable("S_DOCUMENTFILES");
                    System.out.println("6");
                    int flag=0;
                    if(table_out_Return.getNumRows()>0){
                         System.out.println("7");
                         table_out_Return.firstRow();
                         for(int i=0;i<table_out_Return.getNumRows();i++){
                              System.out.println("8");
                              System.out.println(table_out_Return.getValue("DELETEVALUE").toString());
                              if(table_out_Return.getValue("DELETEVALUE").toString().equalsIgnoreCase("s")){
                                   flag=1;
                                   break;
                              }else{
                                   flag=0;
                                   break;
                              //table_out_Return.nextRow();
                         if(flag==1)
                              return true;
                         else
                              return false;
                    }else
                         return false;
                    //return false;
               }else
                    return false;
               //return false;
          }catch(Exception e){
               System.out.println("Exception in Upload "+e);
               return false;
          finally{
               try{
                    if (client != null){
                         ConnectToR3.closeConnection(client);          
               catch (Exception ef){
                    System.out.println("Exception in Finally Block in SAPConnect."+ ef.getMessage());
                    return false;
In above code i created Z RFC for some customization. Actual Bapi to Store the file in KPRO "BAPI_DOCUMENT_CREATE2".
To execute this bapi from webdynpro any exe or dll file required.I saw some other thread  2 exe are required to execute the above RFC(<b>SAPFTP.exe, SAPHTTP.exe</b>).
If it is required to place the above 2 exe, where to place that exe's in webdynpro application.
Please help me..  Urgent....
Regards,
Satya ):

Hi Sunil,
The correct way of running BAPIs from Web Dynpro is using Adaptive RFC.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d#15
From there go to
Creating A Web Dynpro Application Accessing ABAP Functions
Regards,
Omri

Similar Messages

  • Error while checking in and storing document in storage category

    Dear Consultants,
    When i am trying to save a document in storage category thru tcode cv02n, its giving me error:-
    Error while checking in and storing document "c:/desktop/content.doc",
    while there is no error in csadmin and OAC0 tcode repository is in running status
    even output of
    dbmcli db_enum
    OK
    SDB     /sapdb/SDB/db                     7.6.03.09       fast    running
    SDB     /sapdb/SDB/db                     7.6.03.09       quick   offline
    SDB     /sapdb/SDB/db                     7.6.03.09       slow    offline
    SDB     /sapdb/SDB/db                     7.6.03.09       test    offline
    URL "http://192.168.2.11:1090/ContentServer/ContentServer.dll?serverInfo"
    output :-
    serverType="SAP HTTP Content Server";serverVendorId="SAP AG";serverVersion="640";serverPatch="7";serverBuild="23";pVersion="0046";serverStatus="running";serverDate="2011-12-14";serverTime="10:01:44";startUpDate="2011-12-14";startUpTime="06:36:18";lastAccessDate="2011-12-14";lastAccessTime="09:57:59";
    contRep="ZCONT_TEST";contRepStatus="data(0%) log(191655552%)";pVersion="0046";storageVersion="17";storage="SAPDB";buildLevel="1";contentStorageName="SDB";contentStorageHost="localhost";security="1";contRepDescription="test content repositry";driver="MaxDB";defaultDocProt="";
    contRep="ZDMS_C1";contRepStatus="data(0%) log(191655552%)";pVersion="0046";storageVersion="17";storage="SAPDB";buildLevel="1";contentStorageName="SDB";contentStorageHost="hpsebdev1";security="1";contRepDescription="Database storage documents";driver="MaxDB";
    Please Help regading the issue
    Regards
    Gagan Sharma
    Basis Consultant

    Hi,
    Please revisit your DMS configuration. May be something is missing out in the configuration.
    Additionally you can retry to chekin by changing the following parameter
    security = 0.
    Hope this is useful.
    Regards,
    Deepak Kori

  • Error when viewing documents from content server

    hi all,
    I have a question.
    we have installed an SAP Content Server on Windows 2003 server, and have connected it to our SAP ECC 5.00 ERP.  The purpose is so that documents that are attached to a transaction (through Generic Objects Services - Create Attachment), get stored onto the content server rather than the SAP database.  We have done all the necessary configuration in oac0, oact, and SKPR08.  We are able to attach a document to the transaction, and it gets stored onto the content server.  Our issue is when viewing the attachment. 
    This is the error we are getting as soon as we try to view the attachment:
    "Windows cannot find c:\documents and settings\<username>\SAPWorkDir\<filename>.  Make sure you typed the name correctly, and then try again.  To search for a file, click the Start button, and then click Search."
    After pressing OK to the message, the system then gives this error:
    "File could not be exported
    Message no. SO315
    Diagnosis
    You have selected either the Export function or a PC document to be exported from the system. The file could not be exported to the
    PC. Possible reasons:
    1. The file is already open and is being used by an application.
    2. The directory to which the file is to be exported is write-protected.
    Procedure
    In the first case, close the application.
    In the second case, remove the write-protection attribute from the directory or enter another directory."
    Why is the system trying to open the file from the user's C:\ drive?
    Does anyone have a solution to this error?
    Cheers,

    Hi Aleem,
    Refer to below KB & note, this should help you.
    1849203 - Error message Database error for <GET DATA FROM KPRO> (SO013) and/or File could not be exported (SO315) when opening a document in Attachment list
    764972 - Errors when creating workflow attachment
    Regards,
    Ravi

  • Error when opening document with ECL control: INVALID_DATA

    Hi Gurus,
    I've tried to search the net for this problem but could not find anything and I'm stuck now.
    Description:
    we're using ECL to view attached documents (to POs etc.) which are stored through ArchiveLink on the content repository.
    when we try to open this document, time-to-time we get following error:
    Error when opening document with ECL control: INVALID_DATA
    Message no. SDV004
    by time-to-time I mean that when we try to open same attachment again it opens successfully (sometimes we need to re-open it 3-4 times to get it)
    what we've tried is to enlarge timeout for HTTP protocol (tx SMICM, from former 30 to actual 60) but only effect we got is that we're waiting for the error longer time
    It will be really great if anybody of you guys can give me an advice where the problem can be or where should I look and what to check
    Thanks,
    David

    Hi Christoph,
    thanks for tip, unfortunately this was already flagged, currently settings are:
    for Display Settings:
    yes - include ECL control
    use HTML control
    empty - maximum viewer wait time
    (do you think that setting some value for this could help)
    yes - deactivate generic object services in viewer
    no - doc display as dialog box
    yes - deactivate data provider cache
    Storage Settings:
    yes - always copy document class from document type
    yes - permit multiple assignment
    Thanks,
    David

  • Error message "The document could not be saved. This file is already open" when trying to complete an electronic signature.

    Running Adobe Acrobat Professional 10.1.0. I cannot upgrade to newer version because several applications were already tested on this version.
    When trying to complete an electronic signature, my users receive the error message ""The document could not be saved. This file is already open".  When they close and open the file again to try to sign again they find a corrupted electronic signature.  Instead of a clean signature with the box colored in light blue they see their signature with the embedeed message Click Here to Verify & Sign with the box colored in grey.
    We turned off antivirus in the Sharefolder where the forms are stored and nothing.  We turned off the antivirus on the client and nothing.  We stored the files in another server and nothing.  One workaround is saving the file in the desktop, signing it, and then back to the Sharefolder.  Another is saving the file with a different file name.
    I've searched and the only similar thing was caused by the Windows Preview Pane.  See Information Transmogrification: Adobe Acrobat saving a file does not work, displays “File may be read-only”.  No luck with this one too.
    Is definitively an intermittent problem.  The users that experience the problem experience it intermittently.
    This started to happen when we move our computers to Windows 7.
    Any ideas?

    Correction on Question:
    This is a web application and the users need to be able to load the editable .pdf form from the website, edit it and submit it back to the website from within Internet Explorer.
    Users began getting the error message:
    'The document could not be saved. This file is already open.'
    last Friday after having no problems prior to this. Some users can edit the editable .pdf forms on the website and save the file with the same name to the website. Some get the error mentioned in the subject. 
    We really need help getting this resolved.
    Sandy Martin

  • How to get the Version History of a stored document?

    Hi,
    I am trying to store and retrieve the content using Content Services features of ADEP 10.0.
    I am able to store and retrieve content where as I am not able to get the version of the document. I am trying to store same or different document, but I donot get the version history or version label. Please guide me how I can get  the version of a stored document.
    Also, please advise me if there are simple alternative to do the same in ADEP10.
    Please see below my sample code below:
    package test.sample;
    import java.io.File;
    import java.util.*;
    import com.adobe.idp.Document;
    import com.adobe.idp.dsc.clientsdk.ServiceClientFactory;
    import com.adobe.idp.dsc.clientsdk.ServiceClientFactoryProperties;
    import com.adobe.livecycle.contentservices.client.CRCResult;
    import com.adobe.livecycle.contentservices.client.impl.DocumentManagementServiceClientImpl;
    import com.adobe.livecycle.contentservices.client.impl.UpdateVersionType;
    public class AddContent {
        public static void main(String[] args) {
            try{
                //Set connection properties required to invoke Document Services in EJB mode                                
                Properties connectionProps = new Properties();
                connectionProps.setProperty(ServiceClientFactoryProperties.DSC_DEFAULT_EJB_ENDPOINT, "jnp://localhost:1099");
                connectionProps.setProperty(ServiceClientFactoryProperties.DSC_TRANSPORT_PROTOCOL,Service ClientFactoryProperties.DSC_EJB_PROTOCOL);          
                connectionProps.setProperty(ServiceClientFactoryProperties.DSC_SERVER_TYPE, "JBoss");
                connectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_USERNAME, "administrator");
                connectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_PASSWORD, "password");
                //Create a ServiceClientFactory object
                ServiceClientFactory myFactory = ServiceClientFactory.createInstance(connectionProps);
                //Create a DocumentManagementServiceClientImpl object
                DocumentManagementServiceClientImpl    docManager = new DocumentManagementServiceClientImpl(myFactory);
                //Specify the store and node name
                String storeName ="SpacesStore"; 
                String nodeName = "/Company Home/Test Directory";
                //Retrieve the document to store in /Company Home/Test Directory
                Document contentA =  new Document(new File("C://Adobe/New files/Data-A.pdf"), false);
                Document contentB =  new Document(new File("C://Adobe/New files/Data-B.txt"), false);
                Document contentC =  new Document(new File("C://Adobe/New files/Data-C.xlsx"), false);
                //Create a MAP instance to store attributes
                Map<String,Object> inputs = new HashMap<String,Object>();
                //Specify attributes that belong to the new content
                String creator = "{http://www.alfresco.org/model/content/1.0}creator";
                String description = "{http://www.alfresco.org/model/content/1.0}description"; 
                inputs.put(creator,"Veeraganteppa Sajjan");
                inputs.put(description,"A sample application form");
                //Store MortgageForm.pdf in /Company Home/Test Directory
                CRCResult resultA = docManager.storeContent(storeName, 
                         nodeName,
                        "dataA.pdf",
                        "{http://www.alfresco.org/model/content/1.0}content", 
                        contentA,
                        "UTF-8",
                        UpdateVersionType.INCREMENT_MAJOR_VERSION,
                        null,
                        inputs); 
                CRCResult resultB = docManager.storeContent(storeName, 
                        nodeName,
                       "dataB.pdf",
                       "{http://www.alfresco.org/model/content/1.0}content", 
                       contentB,
                       "UTF-8",
                       UpdateVersionType.INCREMENT_MAJOR_VERSION,
                       null,
                       inputs);
                CRCResult resultC = docManager.storeContent(storeName, 
                        nodeName,
                       "dataC",
                       "{http://www.alfresco.org/model/content/1.0}content", 
                       contentC,
                       "UTF-8",
                       UpdateVersionType.INCREMENT_MAJOR_VERSION,
                       null,
                       inputs);
                //Get the identifier value of the new resource
                String idA = resultA.getNodeUuid();
                String idB = resultB.getNodeUuid();
                String idC = resultC.getNodeUuid();
                System.out.println("A -The identifier value of the new content is "+idA);
                System.out.println("B - The identifier value of the new content is "+idB);
                System.out.println("C - The identifier value of the new content is "+idC);
               System.out.println("A - The Browse Link is "+resultA.getBrowseLink());
                System.out.println("B - The Browse Link is "+resultB.getBrowseLink());
                System.out.println("C - The Browse Link is "+resultC.getBrowseLink());
              System.out.println("A-The Version Label is "+resultA.getVersionLabel());
              System.out.println("B-The Version Label is "+resultB.getVersionLabel());
              System.out.println("C-The Version Label is "+resultC.getVersionLabel());
              System.out.println("The Version History is "+docManager.getVersionHistory(storeName,nodeName, true));
        }catch(Exception e)
            e.printStackTrace();
    Message was edited by: V B Sajjan

    Sorry I did not attach the output and errors. Please find the same below.
    A -The identifier value of the new content is f5427f5b-c7c1-4c3c-b959-cb84e4e49a13
    B - The identifier value of the new content is b237d22c-5ff5-4628-a83a-23f5e49ae48e
    C - The identifier value of the new content is 34a9992c-3705-4488-bb55-6dd7ddfa0517
    A - The Browse Link is http://localhost:8080/contentspace/wcs/api/node/content/workspace/SpacesStore/f5427f5b-c7c 1-4c3c-b959-cb84e4e49a13/dataA.pdf
    B - The Browse Link is http://localhost:8080/contentspace/wcs/api/node/content/workspace/SpacesStore/b237d22c-5ff 5-4628-a83a-23f5e49ae48e/dataB.pdf
    C - The Browse Link is http://localhost:8080/contentspace/wcs/api/node/content/workspace/SpacesStore/34a9992c-370 5-4488-bb55-6dd7ddfa0517/dataC
    A-The Version Label is null
    B-The Version Label is null
    C-The Version Label is null
    ALC-CSV-30015-000: com.adobe.livecycle.contentservices.client.exceptions.CSInvocationException: ALC-CSV-030-015-The node [/Company Home/Test Directory] is not versioned.
    at com.adobe.contentservices.webscripts.impl.AbstractContentManager.doGetVersionHistory(Abst ractContentManager.java:1362)
    at com.adobe.contentservices.webscripts.impl.ContentManagerImpl.executeParams(ContentManager Impl.java:198)
    at com.adobe.contentservices.webscripts.impl.CSRetryingTransactionCallback.execute(CSRetryin gTransactionCallback.java:45)
    at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransacti onHelper.java:326)
    at com.adobe.contentservices.webscripts.impl.ContentManagerImpl.execute(ContentManagerImpl.j ava:114)
    at org.alfresco.repo.web.scripts.RepositoryContainer$2.execute(RepositoryContainer.java:333)
    at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransacti onHelper.java:326)
    at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContaine r.java:386)
    at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContai ner.java:404)
    at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java: 246)
    at org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:294)
    at org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:172)
    at org.alfresco.web.scripts.servlet.WebScriptServlet.service(WebScriptServlet.java:122)
    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 com.adobe.idp.um.auth.filter.CSRFFilter.doFilter(CSRFFilter.java:86)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.ja va:183)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)
    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEs tablishmentValve.java:126)
    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEst ablishmentValve.java:70)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java: 158)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.ja va:598)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)
    at java.lang.Thread.run(Thread.java:662)

  • Error: There was an error opening this document...

    "There was an error opening this document. The file name, directory name, or volume label syntax is incorrect."
    I am trying to open a file stored on a web server when I receive this error. If I copy it to the local disk and open it, I do not get the error.
    Using Acrobat Pro.

    I have the same problem. Any advices are appreciated.

  • Error message storing.dll missing

    After having had some problems with an external back up system I get the message ''error message storing.dll missing''.
    My question is how to solve this problem? Must I download this file and where and how to install? 
    Please?
    Floris

    Hello @ftk1,
    Welcome to the HP Forums, I hope you enjoy your experience! To help you get the most out of the HP Forums I would like to direct your attention to the HP Forums Guide First Time Here? Learn How to Post and More.
    I understand that your notebook computer is displaying an error message of a missing "storing.dll" file. Is the backup you created using HP or 3rd party software? I would be happy to help you, but first I would encourage you to post your product number for your computer. Below is a is an HP Support document that will demonstrate how to find your computer's product number. In addition, it will also help if you indicate whether your operating system is 32 or 64 bit. The more information you can provide, the better!
    How Do I Find My Model Number or Product Number?
    Is the Windows Version on My Computer 32-bit or 64-bit?
    Please re-post with the necessary information, this way I will be able to research this further for you. I look forward to your reply!
    Cheers!
    MechPilot
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks” for helping!

  • Error while saving Adobrforms: There was a error reading the document(26)

    Hello,
    Am not able to save the pdf form.
    Error : "The document could not be saved.There was a error reading the document(26)."
    Can anyone please tell me why i am getting this error.
    Thanks,
    satheesh

    Hi Satheesh,
    Can you give more details about your scenario..
    Regards,
    Ravi

  • When I attempt to open a PDF file I saved from a website, I get the message "There was an error opening this document. The file is damaged and could not be repaired." Is there any way to correct this problem?

    When I attempt to open a PDF file I saved from a website using Safari, I get the message "There was an error opening this document. The file is damaged and could not be repaired." When I save the same PDF file using FireFox it opens up immediately. Is there any way to correct this problem with Safari?

    Back up all data.
    Triple-click the line of text below to select it, the copy the selected text to the Clipboard (command-C):
    /Library/Internet Plug-ins
    In the Finder, select
    Go ▹ Go to Folder
    from the menu bar, or press the key combination shift-command-G. Paste into the text box that opens (command-V), then press return.
    From the folder that opens, remove any items that have the letters “PDF” in the name. You may be prompted for your login password. Then quit and relaunch Safari, and test.
    The "Silverlight" web plugin distributed by Microsoft can also interfere with PDF display in Safari, so you may need to remove it as well, if it's present.
    If you still have the issue, repeat with this line:
    ~/Library/Internet Plug-ins
    If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari again.

  • Account determination error in Invoice document posting

    Problem - When generating the invoice document to customer, an error is displayed - Document is saved (Account determination error). As a consequence of this step, the invoicing is not able to create FI document
    My Analysis-
    Account determination is done in G/L account assignment (VKOA screen)
    For my billing document, the system is not able to find the GL account (below are screenshots)
    In VKOA screen, I already defined the GL account determination using KOFI procedure.
    I initially defined in table 2 Cust.Grp/Account Key and it didnt work.
    So I defined in both the tables 1 as well - Cust.Grp/MaterialGrp/AcctKey
    But still system is not reading the tables and obtaining the GL account no
    Any advice on why its not working?

    Hi Nikhil,
    As per the screen shots i could observe that you didn't maintained acct asst grp of customer.
    check the acct asst grp of customer field in billing tab is maintained or not.
    other possible reason may be in your pricing procedure -check whether the accounting keys are maintained or not.
    This could solve your issue.

  • With OSX10.7.5 and Adobe Reader 11.0.02 when I try to open a PDF downloaded from the web I get 'There was an error opening this document. This file is damaged and could not be repaired. Preview will not open either. Older PDFs OK.

    I am running OS X 10.7.5 and Adobe Reader 11.0.02. In the last few days I have been unable to open PDF's downloaded from the web. Reader gives the error message 'There was an error opening this document. The file is damaged and could not be repaired'. Removing Reader and trying to use Preview to open these files give the error 'Preview cannot open this file. It may be damaged or use a file format that Preview doesn't recognise' (or something like that). Downloading the same files with Reader removed from my Mac Preview opens the files OK.
    I was recently prompted to update Adobe software but did not note exactly what the update was nor when it was done.
    Reader and Preview will both open PDFs I downloaded a week ago. Reader will also open files downloaded on another Mac running OS X 10.0.0 and copied to my Mac. Any ideas?

    Back up all data.
    Triple-click the line of text below to select it, the copy the selected text to the Clipboard (command-C):
    /Library/Internet Plug-ins
    In the Finder, select
    Go ▹ Go to Folder
    from the menu bar, or press the key combination shift-command-G. Paste into the text box that opens (command-V), then press return.
    From the folder that opens, remove any items that have the letters “PDF” in the name. You may be prompted for your login password. Then quit and relaunch Safari, and test.
    The "Silverlight" web plugin distributed by Microsoft can also interfere with PDF display in Safari, so you may need to remove it as well, if it's present.
    If you still have the issue, repeat with this line:
    ~/Library/Internet Plug-ins
    If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari again.

  • There was an error opening this document. Access denied.

    Greetings,
    When I did my taxes last year (March 2012), I downloaded some pdf files from the IRS.  Form 1040 was a writable file and I filled it out as needed.  This file was saved on a Vista machine running XP.  A few months ago, I upgraded that pc to be Windows 7 SP1.
    Today I'm getting ready to do my taxes for this year.  When I double click on last year's Form1040.pdf, I get the following error message:
    There was an error opening this document.  Access denied.
    Interestingly, I can open other pdf files, like the Form 1040 Instructions.  I do not think that I password protected my Form1040.pdf.  The reason that I think it isn't password protected is because I'm not being prompted to enter a password.
    I copied the file to an old spare XP machine (XP Home, version 2002, SP3) that I have and it opened fine.  It did not prompt for a password.  I printed copies of last year's forms from that XP machine, so this isn't an emergency for me, but it is mildly annoying that I can't figure out what's wrong.
    I have Adobe Reader XI version 11.0.2 installed on both machines (the Windows 7 machine and the old XP machine).
    To summarize, it was created on Vista, I can't open it with Windows 7, but I can open it with XP.
    Normally I would consider uploading the file in question, but in this case, I hope you'll agree that might be a bad idea!
    Advice on how to get this to work on Windows 7 would be appreciated.

    Pat Willener:  Thanks!  That solved the problem.
    For anyone else having this problem, here's a detailed list of how I used Pat's advice to solve my problem:
    1.  Right click on the problematic file
    2.  Select Properties
    3.  Select the Security tab
    4.  Press continue
    5.  In the "Permissions for MyFile.pdf" dialog, press "Add".
    6.  In the "Select Users or Groups" dialog, press "Advanced".
    7.  The next dialog that pops up is also named "Select Users or Groups".  Press "Find Now".
    8.  Scroll down the list of search results until you find your username.
    9.  Double click on your username.
    10. Press ok in the "Select Users or Groups" dialog.
    11.  Press ok in the "Permissions for MyFile.pdf" dialog
    12. Press ok in the Properties dialog.
    done.

  • Adobe Reader 11.0.06 "There was an error opening this document.  Access Denied"

    Windows 7 64-bit
    If I go into My Windows 7 Documents Library folder (which is redirected by Group Policy to a network share), I get "There was an error opening this document.  Access Denied".  If I then map a drive to the share, I can open the PDF without the error message.
    I've read a workaround for some time now for older versions has been to uncheck Enable Protected Mode at startup under Security (Enhanced) in Preferences.  I find this does work but this is probably not the best way to handle this situation.
    I've also read one person removed the desktop.ini on the desktop to resolve.
    Is there any official response from Adobe on this issue that I can be pointed too?  Are others still having this issue?
    We plan to update several thousand clients and I'd like resolve this issue before we do.

    We tried 11.0.05, 11.0.06 and 11.0.07 with the same result on different computers with different local Admin accounts.
    When we re-install 10.1.0 the issue is gone and Protected Mode is enabled.
    We then returned to 11.0.06 or 11.0.07
    I'm logged in with a local Admin account.
    I turned on Protected Mode Logging and captured what happens when I attempt to double click a pdf file in my Documents Library with 11.0.06 installed.  Access Denied.
    I then doubled clicked the file from a drive mapped to the same share and the file opened.
    [06:11/16:02:40] Adobe Reader Protected Mode Logging Initiated
    [06:11/16:02:41] NtCreateKey: STATUS_ACCESS_DENIED
    [06:11/16:02:41] real path: \REGISTRY\MACHINE\Software\Adobe
    [06:11/16:02:41] Consider modifying policy using this policy rule: REG_ALLOW_ANY
    [06:11/16:02:41] NtCreateKey: STATUS_ACCESS_DENIED
    [06:11/16:02:41] real path: \REGISTRY\MACHINE\SOFTWARE\Wow6432Node\Adobe
    [06:11/16:02:41] Consider modifying policy using this policy rule: REG_ALLOW_ANY
    [06:11/16:02:41] NtCreateFile: STATUS_ACCESS_DENIED
    [06:11/16:02:41] real path: \??\Volume{a758d00a-e81c-11e2-b856-806e6f6e6963}\$Extend\$Reparse:$R:$INDEX_ALLOCATION
    [06:11/16:02:41] Consider modifying policy using these policy rules: FILES_ALLOW_ANY or FILES_ALLOW_DIR_ANY
    [06:11/16:02:41] NtCreateFile: STATUS_ACCESS_DENIED
    [06:11/16:02:41] real path: \??\UNC\nawrcs-bbc1fs\mousers\u212940\Documents\Citrix Adding a Printer.pdf
    [06:11/16:02:41] Consider modifying policy using these policy rules: FILES_ALLOW_ANY or FILES_ALLOW_DIR_ANY
    [06:11/16:02:41] NtCreateFile: STATUS_ACCESS_DENIED
    [06:11/16:02:41] real path: \??\UNC\nawrcs-bbc1fs\mousers\u212940\Documents\Citrix Adding a Printer.pdf
    [06:11/16:02:41] Consider modifying policy using these policy rules: FILES_ALLOW_ANY or FILES_ALLOW_DIR_ANY
    [06:11/16:02:46] NtCreateKey: STATUS_ACCESS_DENIED
    [06:11/16:02:46] real path: \REGISTRY\USER\S-1-5-21-1691402968-2266345157-3523873211-67461\Software\Adobe\Adobe Acrobat
    [06:11/16:02:46] Consider modifying policy using this policy rule: REG_ALLOW_ANY
    [06:11/16:02:46] NtCreateKey: STATUS_ACCESS_DENIED
    [06:11/16:02:46] real path: \REGISTRY\USER\S-1-5-21-1691402968-2266345157-3523873211-67461\Software\Adobe\Adobe Acrobat
    [06:11/16:02:46] Consider modifying policy using this policy rule: REG_ALLOW_ANY
    [06:11/16:02:46] NtCreateKey: STATUS_ACCESS_DENIED
    [06:11/16:02:46] real path: \REGISTRY\USER\S-1-5-21-1691402968-2266345157-3523873211-67461\Software\Adobe\Adobe Acrobat
    [06:11/16:02:46] Consider modifying policy using this policy rule: REG_ALLOW_ANY
    [06:11/16:02:46] NtCreateKey: STATUS_ACCESS_DENIED
    [06:11/16:02:46] real path: \REGISTRY\USER\S-1-5-21-1691402968-2266345157-3523873211-67461\Software\Adobe\Adobe Acrobat
    [06:11/16:02:46] Consider modifying policy using this policy rule: REG_ALLOW_ANY
    [06:11/16:02:46] NtCreateKey: STATUS_ACCESS_DENIED
    [06:11/16:02:46] real path: \REGISTRY\USER\S-1-5-21-1691402968-2266345157-3523873211-67461\Software\Adobe\Adobe Acrobat
    [06:11/16:02:46] Consider modifying policy using this policy rule: REG_ALLOW_ANY
    [06:11/16:02:46] NtCreateKey: STATUS_ACCESS_DENIED
    [06:11/16:02:46] real path: \REGISTRY\USER\S-1-5-21-1691402968-2266345157-3523873211-67461\Software\Adobe\Adobe Acrobat
    [06:11/16:02:46] Consider modifying policy using this policy rule: REG_ALLOW_ANY
    [06:11/16:02:46] NtCreateKey: STATUS_ACCESS_DENIED
    [06:11/16:02:46] real path: \REGISTRY\USER\S-1-5-21-1691402968-2266345157-3523873211-67461\Software\Adobe\Adobe Acrobat
    [06:11/16:02:46] Consider modifying policy using this policy rule: REG_ALLOW_ANY
    [06:11/16:02:46] NtCreateKey: STATUS_ACCESS_DENIED
    [06:11/16:02:46] real path: \REGISTRY\USER\S-1-5-21-1691402968-2266345157-3523873211-67461\Software\Adobe\Adobe Acrobat
    [06:11/16:02:46] Consider modifying policy using this policy rule: REG_ALLOW_ANY
    [06:11/16:02:47] NtCreateFile: STATUS_ACCESS_DENIED
    [06:11/16:02:47] real path: \??\C:\Users\c702939\AppData\Local\Microsoft\Windows\Caches\cversions.1.db
    [06:11/16:02:47] Consider modifying policy using these policy rules: FILES_ALLOW_ANY or FILES_ALLOW_DIR_ANY
    [06:11/16:02:47] NtCreateFile: STATUS_ACCESS_DENIED
    [06:11/16:02:47] real path: \??\C:\Users\c702939\AppData\Local\Microsoft\Windows\Caches\cversions.1.db
    [06:11/16:02:47] Consider modifying policy using these policy rules: FILES_ALLOW_ANY or FILES_ALLOW_DIR_ANY
    [06:11/16:02:47] NtCreateKey: STATUS_ACCESS_DENIED
    [06:11/16:02:47] real path: \REGISTRY\USER\S-1-5-21-1691402968-2266345157-3523873211-67461\Software\Adobe\Adobe Acrobat
    [06:11/16:02:47] Consider modifying policy using this policy rule: REG_ALLOW_ANY
    [06:11/16:02:47] NtCreateKey: STATUS_ACCESS_DENIED
    [06:11/16:02:47] real path: \REGISTRY\USER\S-1-5-21-1691402968-2266345157-3523873211-67461\Software\Adobe\Adobe Acrobat
    [06:11/16:02:47] Consider modifying policy using this policy rule: REG_ALLOW_ANY
    [06:11/16:02:47] NtCreateKey: STATUS_ACCESS_DENIED
    [06:11/16:02:47] real path: \REGISTRY\USER\S-1-5-21-1691402968-2266345157-3523873211-67461\Software\Adobe\Adobe Acrobat
    [06:11/16:02:47] Consider modifying policy using this policy rule: REG_ALLOW_ANY
    [06:11/16:02:47] NtCreateKey: STATUS_ACCESS_DENIED
    [06:11/16:02:47] real path: \REGISTRY\USER\S-1-5-21-1691402968-2266345157-3523873211-67461\Software\Adobe\Adobe Acrobat
    [06:11/16:02:47] Consider modifying policy using this policy rule: REG_ALLOW_ANY
    [06:11/16:02:47] NtCreateFile: STATUS_ACCESS_DENIED
    [06:11/16:02:47] real path: \??\C:\Users\c702939\Desktop\desktop.ini
    [06:11/16:02:47] Consider modifying policy using these policy rules: FILES_ALLOW_ANY or FILES_ALLOW_DIR_ANY
    [06:11/16:02:48] NtCreateFile: STATUS_ACCESS_DENIED
    [06:11/16:02:48] real path: \??\C:\Users\c702939\Desktop\desktop.ini
    [06:11/16:02:48] Consider modifying policy using these policy rules: FILES_ALLOW_ANY or FILES_ALLOW_DIR_ANY

  • With Reader XI There was an error opening this document. Access denied

    Hi there, It looks like I have a simular problem. I also get the error "There was an error opening this document. Access denied." This when I tried to open the file by clicling on the file. When I try to open the file from out Adobe reader it gives me the error "You don't have permission to open the file" I use Adobe XI. My OS is W8.1 By clearing protected mode doesn't help. This is what I found sofar: Only the PDF files in the documents and subfolders are giving me this error. PDF files in other folders are fine. When I copy PDF files from the documents folder to Desktop they open without any problem. First I thought I might be a permission problem with the Documents folder, but I have full access. Other files in the Documents folder like Word and Excel files open fine with MS Office. My laptop has WinXP and is shared with my PC when I open PDF files on my laptop by using the network share they open without problems. So it looks like only the PDF files in my Documents folder. I'm not sure but before upgrading to W8.1 from W8.0 I can't remember if I had this problem, but I think I did not have it. To make it even more interested is that I have also Adobe Acrobat Writer on my PC what I use for my buisiness. When I open the PDF files with this program they open without any problem. Therefore I believe it is not a permission problem, I still believe it is a problem with Reader XI, but than only after upgrading to W8.1, but as I already mentioned I'm not sure for 100% only that sofar I know it never happened under W8. Has anyone out there simular problems? And hopefully with a fix.

    This is what I did sofar: Deleted reader XI and reinstalled same problem.
    Because I think the problem is with reader XI I deleted again XI and installed reader X.
    With this version I can open PDF files located in the documents folder without any problem.
    For now I keep using version X until they fixed version XI
    This proves that reader XI will not work under W8.1 when opening PDF files in de documents folder.
    Bennie

Maybe you are looking for