"This operation is not permitted" when saving PDF through a plugin

Not sure what I am doing wrong. It appears as though I've followed the PDF Reference and documentation correctly, but I am getting this error when my plugin trys to save my PDF file to a new location (dont want to overwrite the original).
Here is the sample code. I hope what I am doing wrong is easy to fix.
PDDocClose(currentPDDoc);
ASPathName filePathName = ASFileSysCreatePathName(NULL, ASAtomFromString("CString"), replacedSavePath.c_str(), 0);
PDDocSave(currentPDDoc, PDSaveIncremental | PDSaveLinearized, filePathName, ASGetDefaultFileSys(), NULL, NULL);

Ahh the problem was that the file was secured with a password. The documentation mentions:
Known Exceptions
Raises
pdErrOpNotPermitted if saving is not permitted. Saving is permitted if either edit or editNotes (see PDPerms) is allowed, or you are doing a full save and saveAs is allowed.
So I looked for that exception in the docs and it said:
pdErrOpNotPermitted
This operation is not permitted. Acrobat
security does not allow content copying
or extraction. These operations should
be permitted when the document’s
master password is used.
So for anyone getting this error, try removing security from the file first.

Similar Messages

  • "This operation is not permitted" appears when re-saving/distributing a form.

    I have a form that I created using Adobe LiveCycle Designer (ver 8.0) which I saved and distributed several months ago and has been working fine. Now even if I make no changes  to the form, if I save and Distribute it again, the message “This operation is not permitted” appears when the re-distributed form is opened in Adobe Reader. If I make no changes to the form and DON'T save it but I do Distribute it, it works fine. I made sure that "auto select" was set for all of the fonts--as suggested--but it made no difference. What else might be causing the problem? The error message is not very helpful. Thanks in advance.

    Ahh the problem was that the file was secured with a password. The documentation mentions:
    Known Exceptions
    Raises
    pdErrOpNotPermitted if saving is not permitted. Saving is permitted if either edit or editNotes (see PDPerms) is allowed, or you are doing a full save and saveAs is allowed.
    So I looked for that exception in the docs and it said:
    pdErrOpNotPermitted
    This operation is not permitted. Acrobat
    security does not allow content copying
    or extraction. These operations should
    be permitted when the document’s
    master password is used.
    So for anyone getting this error, try removing security from the file first.

  • Unable to submit a Reader-enabled PDF: "This operation is not permitted"

    Hi I've looked through the forums but haven't found an answer to this particular query: I've created a simple form (text boxes, radio buttons, and a submit button which should send the entire PDF to an email address). I have tried different options:
    Reader enabled the form, then saved it and emailed a copy to a friend to test. When he clicked on "submit" he received the error "this operation is not permitted". Unfortunately I didn't ask what version of Reader he has. The form was created in Adobe Acrobat X.
    Did not reader-enable the form, but opened it with Adobe Reader XI. When I click on submit I get a "server connection error". I'm using Gmail, Chrome and Windows 7 (I went to Start > Default Programs and was able to associate "MAILTO" with Chrome, but there is no option to actively choose Gmail as my mail client). p.s. Before submitting the form I checked and my internet connection is up and running.
    I tried to submit the form from Acrobat X and I get a similar error, "Acrobat is unable to connect to your email program".
    There are no unembedded fonts or hidden objects in the PDF.
    Any help would be greatly appreciated!
    Melissa

    Submitting forms by email isn't really submitting. In my view it's a useful quick test, but not suitable for production use. For reasons you've already discovered. A particularly bad case is where a user uses GMail (or whatever) but has a WORKING email client that accepts the mail; but then it goes nowhere because they never set it up.
    Submit really means "send to a web server" (where a script written by a professional will handle the data). Like the forms on every web site.
    Web sites COULD "submit by email" too, but they don't because it isn't any good.
    (Caveat: some big companies control the email set up exactly, and it can work for them.)

  • When Submitting - "This operation is not permitted" ERROR

    Hi Guys,
    I'm new to LiveCycle and have created a whole array of online PDF forms that users can fill in and submit over the internet. The form is then received at the company end as a PDF attachment. Everything is going great until the company changed from a POP3 server to an IMAP server (I think they are using Microsoft exchange server?)
    Now when they go to submit the form after filling it in they get the following message.
    "This operation is not permitted"
    Is there any information people can give me to help with this. Obviously this is quite urgent, so any good tips that can help me I would appreciate.
    Perhaps there is a way to send the PDF without it loading outlook and sending it?
    ANDY LANGHAM

    It depends on what version of Acrobat you're using.
    See this other thread for more details: http://forums.adobe.com/message/4896660

  • I get error "This operation is not permitted" after creating form and opening it in Reader...

    Hi,
    I am very frustrated with this form I have created.  I created the form in Acrobat 8 but could not get it allow changes to be saved until I chose to "distribute" form.  I did that and now have a form that can be caved once filled out however when you open it you get the error "This operation is not permitted".
    From reading some other posts, I have done the following:
    Checked security settings and they do not fix it.
    Checked that all fields were form fields and they seem to be.
    Checked restrictions listed in purple bar and there were none.
    Checked for "unembedded" fonts and there were none.
    I think using Acrobat 9 might help me but I do not want the expense as I only use Acrobat for forms like this once a year.
    Does anyone know what is going on here and can maybe help?
    Thanks,
    Sean

    I'm having the same problem. Have you already found a solution?

  • Whenever I open pdf file link in net shows a message box Acrobat plug-in and message as "This operation is not allowed" and after firefox getting crashed. I observed twice

    Details of Crashing Information
    AdapterDeviceID: 2562
    AdapterVendorID: 8086
    Add-ons: {d47a9f51-8281-43fa-f450-f28ef8735e9a}:2.1.1,[email protected]:3.6.5.112,{972ce4c6-7e08-4474-a285-3208198ce6fd}:4.0
    AvailableVirtualMemory: 1923440640
    BuildID: 20110318052756
    CrashTime: 1304770256
    EMCheckCompatibility: true
    FramePoisonBase: 00000000f0de0000
    FramePoisonSize: 65536

    I'm replying to this old thread for anyone looking for this problem in the future ( like I did ).
    The problem for me was that the original .pdf had a single blank comment in it.
    I opened it in Acrobat pro, deleted the comment, saved, opened it in livecycle, changed the illustration ( or whatever you had to change in the first place ), save it again, opened it in Acrobat and save for Reader Extended PDF.
    It now works
    PS: nice job Adobe with useless error messages. Just saying "Comments are not allowed" instead of "This operation is not permitted" would have saved countless hours to countless people.

  • Forms work on my Mac but not on my PC? "Operation is not permitted"

    I created a form but it tells the user "operation is not permitted" when the submit button is pressed and also doesn't allow the user to access the any of the field to type their information in.
    It is very frustrating for me as I need the form to work so I can upload it to the clients website and get paid. It is particularly frustrating when it works on my Macbook Pro but wont work on my PC or the millions of PC out there.
    This is how I made the PDF. And I also made using the same process a test, blank page PDF with 1 text field and 1 submit button and nothing else.
    1. Mad the form in Illustrator
    2. Exported it as PDF
    3. Made the form fields
    4. Made the Submit button
    5. Enabled usage rights for Adobe Reader
    6. Saved file
    7. Uploaded the file
    8. Works on Mac and not on PC
    Can someone please help. I have spent numerous hours and searches on it, It's driving me crazy.
    Anyone from Adobe care to help? Probably not.

    Looks like there is something wrong with my PC.
    The PDF form worked fine on the clients computer. It seems like the only place it wouldn't work is on my PC. So I am assuming it's a problem with my computer.
    Don't know what it could be though, I have the latest version of reader and it's a new computer.
    From one problem to another...story of my life...:)
    At least it's working at clients end.
    Thanks for trying to help MarkATS

  • Pictures are not shown when saving to PDF.  Cannot Preview Print Job.

    Help! Pictures are not shown when saving to PDF.  Cannot Preview Print Job.

    I guess you need to fix it
    Or if you would like some help provide some information - there are no mind reader supporting this forum and we can only work with the information you give us - right not that is "it does not work"
    iPhoto has no "save to PDF" function - exactly what are you doing? and what exactly do you want to do?
    LN

  • Error 8062 when I try to copy or move files on my macbook: "This operation could not be completed because an unexpected error occurred (error code -8062)". Can even not install new software now!!

    Since a few days when I try to copy or move files on my macbook, I often get an error message saying "This operation could not be completed because an unexpected error occured (error code -8062)". And then it just quits the copy or move.
    I searched a lot on the internet, but only found solutions for cases you cannot empty the trash due to this issue.
    I tried those solutions for my trash and that helped after some trying.
    However, I still have the problem with copying and moving files.
    I even cannot install new software now, as it has to copy itself to the programs-directory, and gives the same error-message.
    Who can help me??
    Cannot seem to find any info on it on the support-forums or elsewhere.
    My user-account is administrator, I use a 13" Macbook Aluminium (Late 2008). Mac OS X 10.6.8 CPU 2Ghz Intel Core Duo, RAM: 4GB 1067 MHz DDR3.
    Any help would be greatly appreciated...
    Otto

    Tips I received so far (thanks to A-Mac via Twitter http://www.a-mac.nl and Remco Kalf http://www.remcokalf.nl/)
    - make sure you have at least 10% of your harddisk in free space (I had only 5%).
    - do a PRAM-reset (http://support.apple.com/kb/ht1379)
    - perform a hardware test (http://support.apple.com/kb/HT1509)
    - make a complete backup (with for example Carbone Clone Copier, see http://www.bombich.com/)
    - after complete backup: use diskwarrior (boot from Diskwarrior DVD, first perform diagnostics, then perform "Rebuild" which rebuilds your file directory).
    So far I only cleared up some space on my HD, and already the problem occurs less.
    Still, I will go through the other tips too.
    (will post progress)

  • On my iPod touch (5th generation) it won't let me watch any video's off any Internet sources eg Facebook twitter and YouTube. When I click on the video it just comes up saying 'this operation could not be continued'?

    On my iPod touch (5th generation) it won't let me watch any video's off any Internet sources eg Facebook twitter and YouTube. When I click on the video it just comes up saying 'this operation could not be continued'?

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.

  • Windows Server 2008R2 running Remote Desktop Services reports printer process does not exist when installing PDF printer

     Windows Server 2008R2 running Remote Desktop Services reports printer process does not exist when installing PDF printer, And when Installing network printers from the domain controller it reports it cannot connect to printer.  I can ping all
    network devices. I can connect to the internet.
    On boot I get a netlogon 5719 error followed by service control manager errors 7023,7001 and a group policy error 1129.
    Clients can connect to the remote application and RDP operates to connect to the server internally and externally.
    The domain controller is another server 2008r2 box. I have scoured the internet but have not found any solutions that work yet.

    Hi,
    After referring to your post, it can be identified that the issue which you are facing is mostly due to some network issue in your environment. Please recheck your network connection issue between computer and domain controller. 
    Can you able to ping with IP address and also with fully qualified name of a domain controller in the users' and computers' domain. If it fails states that name resolution issue with computer and domain controller. Are you using MS DHCP Relay agent then there’s
    available Hotfix for the particular Event ID. Please go through this KB 2459530 to fix the error event ID.
    As per the net logon error 5719 which you are facing states that the client component of Netlogon was unable to locate a DC for the domain it was trying to perform an operation against. Below is one of the reason. If this is being logged on a DC and the event
    refers to the DC's own domain, something might be preventing the client component of Netlogon from starting a network session (to itself or to another DC in the domain). The following event 7001 & 7023 states start & stop operation service. Please
    go through beneath article for more details.
    1.  Event ID 5719 is logged when you start a computer
    2.  Netlogon 5719 and the Disappearing Domain [Controller]
    3.  Event ID 1129 — Microsoft-Windows-GroupPolicy
    Hope it helps!
    Regards.

  • Why: [nQSError: 59001] Left operation is not permitted on INTEGER operand

    I need some help about this error. The scenarios:
    1. I used the formula which as below in answer :
    "SUM((CASE WHEN ALM_BKT_RES_GRP_V.FINANCIAL_ELEM_ID = 660.00 THEN ALM_BKT_RES_GRP_V.BUCKET_ALL ELSE 0 END)) / (CASE WHEN IFNULL(@{Scale},0)=0 THEN 1 ELSE @{Scale} END)"
    2. And I displayed result in Table(plat table), it raised this error:Left operation is not permitted on INTEGER operand(s)
    3. When I displayed result in Pivot Table, it would be OK, no error.
    4. I removed SUM() in the formula, it's OK both Plat Table and Pivot Table. But the value of this formula is wrong. so I must use function SUM().
    I want to know the reason...

    yeah, is the another formula column used the Fuction LEFT(), I hasn't init it.
    So, I edit the formula as this: @{Type}{'z'}. The error is fixed.

  • [nQSError: 59001] Binary Logical operation is not permitted

    Hi All,
    I am querying 3 columns in a report.
    E.g.
    Sales -> Directly pulled from the database column
    Prior Month Sales -> AGO("Sales subject area"."Key Measures"."sales", "Sales subject area".Time_Dimension."Month", 1)
    Current YTD ->
    (CASE WHEN "Sales subject area".Time_Dimension."Year" = VALUEOF("CURRENT_YEAR") AND "Sales subject area".Time_Dimension."Month Number" <= VALUEOF("CURRENT_MONTH") THEN "Sales subject area"."Key Measures"."Sales" ELSE 0 END )
    I get the following error:
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 59001] Binary Logical operation is not permitted on VARBINARY, INTEGER operand(s). (HY000)
    Please let me know how to go about this.

    The Data types are as follows:
    1. Sales = Double
    2. Month = Varchar
    3. Month Num is calculated column from -> MOD("Sales Subject Area".Calendar.TimeID, 100) and time id is "Int"
    The Rpd variables are:
    1. Current Year = CAST(SUBSTRING(CAST(MAX(YEARMONTH) AS VARCHAR),1,4) AS INTEGER)
    2. Current Month = CAST(SUBSTRING(CAST(MAX(YEARMONTH) AS VARCHAR),,6) AS INTEGER)
    3. Prior Year = CAST(SUBSTRING(CAST(MAX(YEARMONTH) AS VARCHAR),1,4)-1 AS INTEGER)
    Basically we dont want to use TODATE function as it is not working properly for Prior YTD.

  • Subtract operation is not permitted on TIMESTAMP, INTEGER operand(s)

    I am running into a weird problem I have defined a formula in RPD to calculate Length of service. When I bring this column in with any other fact column it gives me error : Subtract operation is not permitted on TIMESTAMP, INTEGER operand(s)
    But if I define same calculation in answers using edit formula column it works just fine. I need to define it in rpd for the column to be present for ad-hoc. Where is my mistake?
    Answers definition: case when "Employment Events (Previous)"."Hire Date#1"> ifnull("Employment Events (Previous)"."Term Date", "Employment Events (Previous)"."Hire Date#1") then cast(Floor(case when "Employment Events (Previous)"."Hire Date#1"> ifnull("Employment Events (Previous)"."Term Date", "Employment Events (Previous)"."Hire Date#1") then case when "Employment Events (Previous)"."Hire Date#1" is not null then TIMESTAMPDIFF(SQL_TSI_MONTH, "Employment Events (Previous)"."Hire Date#1",CURRENT_DATE) ELSE NULL END ELSE NULL END /12) as char)||' year(s) '||cast(Mod(case when "Employment Events (Previous)"."Hire Date#1"> ifnull("Employment Events (Previous)"."Term Date", "Employment Events (Previous)"."Hire Date#1") then case when "Employment Events (Previous)"."Hire Date#1" is not null then TIMESTAMPDIFF(SQL_TSI_MONTH, "Employment Events (Previous)"."Hire Date#1",CURRENT_DATE) ELSE NULL END ELSE NULL END,12) as char)||' month(s)' else null end
    RPD: case when "Core"."Fact - Employment Events"."Hire Date" >IfNull( "Core"."Fact - Employment Events"."Term Date", "Core"."Fact - Employment Events"."Hire Date"-1) then
    cast(Floor(case when "Core"."Fact - Employment Events"."Hire Date" >IfNull( "Core"."Fact - Employment Events"."Term Date", "Core"."Fact - Employment Events"."Hire Date"-1) then
    case when "Core"."Fact - Employment Events"."Hire Date" is not null then TIMESTAMPDIFF( SQL_TSI_MONTH , "Core"."Fact - Employment Events"."Hire Date" , CURRENT_DATE) else null
    end
    else null
    END/12) as char)||' year(s) '||cast(Modcase when "Core"."Fact - Employment Events"."Hire Date" >IfNull( "Core"."Fact - Employment Events"."Term Date", "Core"."Fact - Employment Events"."Hire Date"-1) then
    case when "Core"."Fact - Employment Events"."Hire Date" is not null then TIMESTAMPDIFF( SQL_TSI_MONTH , "Core"."Fact - Employment Events"."Hire Date" , CURRENT_DATE) else null
    end
    else null
    END ,12) as char)||' month(s)'
    else null end
    Please Help!

    try this out :-
    case when "Core"."Fact - Employment Events"."Hire Date" >IfNull( "Core"."Fact - Employment Events"."Term Date", TIMESTAMPADD(SQL_TSI_DAY, -1, "Core"."Fact - Employment Events"."Hire Date"))
    then
    cast(Floor(case when "Core"."Fact - Employment Events"."Hire Date" >IfNull( "Core"."Fact - Employment Events"."Term Date", TIMESTAMPADD(SQL_TSI_DAY, -1, "Core"."Fact - Employment Events"."Hire Date")) then
    case when "Core"."Fact - Employment Events"."Hire Date" is not null then TIMESTAMPDIFF( SQL_TSI_MONTH , "Core"."Fact - Employment Events"."Hire Date" , CURRENT_DATE) else null
    end
    else null
    END
    /12) as char)||' year(s) '||cast(Modcase when "Core"."Fact - Employment Events"."Hire Date" >IfNull( "Core"."Fact - Employment Events"."Term Date", TIMESTAMPADD(SQL_TSI_DAY, -1, "Core"."Fact - Employment Events"."Hire Date")) then
    case when "Core"."Fact - Employment Events"."Hire Date" is not null then TIMESTAMPDIFF( SQL_TSI_MONTH , "Core"."Fact - Employment Events"."Hire Date" , CURRENT_DATE) else null
    end
    else null
    END ,12) as char)||' month(s)'
    else null end

  • This Operation Could Not Be Completed...No Video

    So I'm getting this error message "This Operation Could Not Be Completed...No Video" when trying to Log and Capture some footage from a mini DV tape.
    I've tried this on my Macbook Pro, 10.5.8, Final Cut 7
    I've tried this on my Powerbook G4, 10.4.11 Final Cut 5
    I've tried to capture the footage directly into both machines and via external drives.
    My deck is a Sony PD170. After getting this message I tried another tape on both machines. No problem capturing this footage. This tells me it is not a firewire issue.
    Is it possible that this is a tape/capture setting I'm missing? I've used every NTSC setting possible.

    Not familiar with this camera, but here are a few questions/ideas
    When you play the tape in the camera, can you see the tape settings displayed on the camera's lcd?  This may be a menu setting or a button push.  What exactly are the settings?
    Was the tape shot on this camera?  Sometimes, there can be compatability problems with material shot on a different camera.  I think some cameras will playback dvcam material via the video outs but not via firewire,  Could this be the problem.  I have some memory that there may be other formats some cameras will playback via video out but not firewire.
    Hope this is of some help.

Maybe you are looking for

  • Not working properly , long delays on sys pref , audio midi set up

    The only thing i did recently was update to 10.6.6 and install adobe design suite cs5 ( so not much lol) i first thought this was a log in programme so i deleted all start up items then creted a new account with admin authority but still the problem

  • Updating data in adobe form

    Hi All, In my java webdynpro application, i want to show an adobe form and allow the user to update the data. Then, i want to store the form in binary in a db table. The layout of my form is not fixed as a different form can be uploaded each time. So

  • ACE Best Practices

    I am implementing a failover pair of ACE appliances, and am looking for some validation of my design thoughts. I would like to utilize a physical interface and a back to back cable on each ACE for the FT VLAN, is this recommended? I am planning a two

  • Iwork 09 help

    I had to reinstall my osx (Leopard, updated to 10.5.8), uninstalled all iwork 09 files, then reinstalled the software from the DVD and all updates. It still won't work. This is the error log sent to apple Process:         Pages [228] Path:           

  • Forms builder download

    I've downloaded Oracle 10g express to one laptop and Oracle 11g express to another. I'm attempting to build Forms and reports now. My questions are the following. 1 Is forms and reports included in either or both of these softwares if it is where and